Home
last modified time | relevance | path

Searched refs:__name (Results 1 – 9 of 9) sorted by relevance

/drivers/net/wireless/ralink/rt2x00/
Drt2x00debug.c437 #define RT2X00DEBUGFS_OPS_READ(__name, __format, __type) \ argument
438 static ssize_t rt2x00debug_read_##__name(struct file *file, \
447 unsigned int index = intf->offset_##__name; \
453 if (index >= debug->__name.word_count) \
456 index += (debug->__name.word_base / \
457 debug->__name.word_size); \
459 if (debug->__name.flags & RT2X00DEBUGFS_OFFSET) \
460 index *= debug->__name.word_size; \
462 debug->__name.read(intf->rt2x00dev, index, &value); \
473 #define RT2X00DEBUGFS_OPS_WRITE(__name, __type) \ argument
[all …]
Drt2x00debug.h39 #define RT2X00DEBUGFS_REGISTER_ENTRY(__name, __type) \ argument
40 struct reg##__name { \
51 } __name
/drivers/scsi/aic94xx/
Daic94xx_dump.c753 #define DDB_FIELDB(__name) \
755 offsetof(struct asd_ddb_ssp_smp_target_port, __name))
756 #define DDB2_FIELDB(__name) \
758 offsetof(struct asd_ddb_stp_sata_target_port, __name))
759 #define DDB_FIELDW(__name) \
761 offsetof(struct asd_ddb_ssp_smp_target_port, __name))
763 #define DDB_FIELDD(__name) \
765 offsetof(struct asd_ddb_ssp_smp_target_port, __name))
795 #define DDB0_FIELDB(__name) \
797 offsetof(struct asd_ddb_seq_shared, __name))
[all …]
/drivers/pinctrl/vt8500/
Dpinctrl-wmt.h36 #define WMT_GROUP(__name, __data) \ argument
38 .name = __name, \
/drivers/usb/storage/
Dusb.h212 #define module_usb_stor_driver(__driver, __sht, __name) \ argument
215 usb_stor_host_template_init(&(__sht), __name, THIS_MODULE); \
/drivers/hwmon/
Dadt7411.c232 #define ADT7411_BIT_ATTR(__name, __reg, __bit) \ argument
233 SENSOR_DEVICE_ATTR_2(__name, S_IRUGO | S_IWUSR, adt7411_show_bit, \
/drivers/usb/gadget/
Dconfigfs.c159 #define GI_DEVICE_DESC_SIMPLE_R_u8(__name) \ argument
160 static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \
164 to_gadget_info(item)->cdev.desc.__name); \
167 #define GI_DEVICE_DESC_SIMPLE_R_u16(__name) \ argument
168 static ssize_t gadget_dev_desc_##__name##_show(struct config_item *item, \
172 le16_to_cpup(&to_gadget_info(item)->cdev.desc.__name)); \
/drivers/spi/
Dspi-pic32.c197 #define BUILD_SPI_FIFO_RW(__name, __type, __bwl) \ argument
198 static void pic32_spi_rx_##__name(struct pic32_spi *pic32s) \
210 static void pic32_spi_tx_##__name(struct pic32_spi *pic32s) \
/drivers/ntb/test/
Dntb_tool.c149 #define TOOL_FOPS_RDWR(__name, __read, __write) \ argument
150 const struct file_operations __name = { \