Searched refs:__type (Results 1 – 10 of 10) sorted by relevance
/drivers/remoteproc/ |
D | remoteproc_elf_helpers.h | 40 #define ELF_GEN_FIELD_GET_SET(__s, __field, __type) \ argument 41 static inline __type elf_##__s##_get_##__field(u8 class, const void *arg) \ 44 return (__type) ((const struct elf32_##__s *) arg)->__field; \ 46 return (__type) ((const struct elf64_##__s *) arg)->__field; \ 49 __type value) \ 52 ((struct elf32_##__s *) arg)->__field = (__type) value; \ 54 ((struct elf64_##__s *) arg)->__field = (__type) value; \
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00reg.h | 206 #define FIELD_CHECK(__mask, __type) \ argument 209 (__mask) != (__type)(__mask)) \ 235 #define SET_FIELD(__reg, __type, __field, __value)\ argument 237 typecheck(__type, __field); \ 244 #define GET_FIELD(__reg, __type, __field) \ argument 246 typecheck(__type, __field); \
|
D | rt2x00debug.h | 28 #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ argument 30 __type (*read)(struct rt2x00_dev *rt2x00dev, \ 33 const unsigned int word, __type data); \
|
D | rt2x00debug.c | 409 #define RT2X00DEBUGFS_OPS_READ(__name, __format, __type) \ argument 420 __type value; \ 441 #define RT2X00DEBUGFS_OPS_WRITE(__name, __type) \ argument 452 __type value; \ 482 #define RT2X00DEBUGFS_OPS(__name, __format, __type) \ argument 483 RT2X00DEBUGFS_OPS_READ(__name, __format, __type); \ 484 RT2X00DEBUGFS_OPS_WRITE(__name, __type); \
|
/drivers/spi/ |
D | spi-pic32.c | 189 #define BUILD_SPI_FIFO_RW(__name, __type, __bwl) \ argument 192 __type v; \ 193 u32 mx = pic32_rx_max(pic32s, sizeof(__type)); \ 197 *(__type *)(pic32s->rx) = v; \ 198 pic32s->rx += sizeof(__type); \ 204 __type v; \ 205 u32 mx = pic32_tx_max(pic32s, sizeof(__type)); \ 207 v = (__type)~0U; \ 209 v = *(__type *)(pic32s->tx); \ 211 pic32s->tx += sizeof(__type); \
|
/drivers/scsi/ |
D | pmcraid.h | 994 ({ u8 op = opcode; u8 __type = 0;\ 996 __type = SCSI_READ_CMD;\ 999 __type = SCSI_WRITE_CMD;\ 1000 __type;\ 1004 ({ u8 __type = SCSI_CMD_TYPE(opcode); \ 1005 (__type == SCSI_READ_CMD || __type == SCSI_WRITE_CMD) ? 1 : 0;\
|
/drivers/media/i2c/m5mols/ |
D | m5mols.h | 245 #define is_code(__code, __type) (__code == m5mols_default_ffmt[__type].code) argument
|
/drivers/iio/temperature/ |
D | ltc2983.c | 1253 #define LTC2983_CHAN(__type, index, __address) ({ \ argument 1255 .type = __type, \
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_execbuf.c | 52 #define VMW_DECLARE_CMD_VAR(__var, __type) \ argument 55 __type body; \
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 11497 #define IBM_BIOS_MODULE_ALIAS(__type) \ argument 11498 MODULE_ALIAS("dmi:bvnIBM:bvr" __type "ET??WW*")
|