/drivers/staging/iio/meter/ |
D | meter.h | 9 #define IIO_DEV_ATTR_CURRENT_A_OFFSET(_mode, _show, _store, _addr) \ argument 10 IIO_DEVICE_ATTR(current_a_offset, _mode, _show, _store, _addr) 12 #define IIO_DEV_ATTR_CURRENT_B_OFFSET(_mode, _show, _store, _addr) \ argument 13 IIO_DEVICE_ATTR(current_b_offset, _mode, _show, _store, _addr) 15 #define IIO_DEV_ATTR_CURRENT_C_OFFSET(_mode, _show, _store, _addr) \ argument 16 IIO_DEVICE_ATTR(current_c_offset, _mode, _show, _store, _addr) 18 #define IIO_DEV_ATTR_VOLT_A_OFFSET(_mode, _show, _store, _addr) \ argument 19 IIO_DEVICE_ATTR(volt_a_offset, _mode, _show, _store, _addr) 21 #define IIO_DEV_ATTR_VOLT_B_OFFSET(_mode, _show, _store, _addr) \ argument 22 IIO_DEVICE_ATTR(volt_b_offset, _mode, _show, _store, _addr) [all …]
|
/drivers/staging/iio/frequency/ |
D | dds.h | 15 #define IIO_DEV_ATTR_FREQ(_channel, _num, _mode, _show, _store, _addr) \ argument 17 _mode, _show, _store, _addr) 30 #define IIO_DEV_ATTR_FREQSYMBOL(_channel, _mode, _show, _store, _addr) \ argument 32 _mode, _show, _store, _addr) 38 #define IIO_DEV_ATTR_PHASE(_channel, _num, _mode, _show, _store, _addr) \ argument 40 _mode, _show, _store, _addr) 53 #define IIO_DEV_ATTR_PHASESYMBOL(_channel, _mode, _show, _store, _addr) \ argument 55 _mode, _show, _store, _addr) 61 #define IIO_DEV_ATTR_PINCONTROL_EN(_channel, _mode, _show, _store, _addr)\ argument 63 _mode, _show, _store, _addr) [all …]
|
/drivers/input/mouse/ |
D | psmouse.h | 158 #define __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) \ argument 163 .mode = _mode, \ 174 #define __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, _protect) \ argument 177 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) 179 #define PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set) \ argument 180 __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, true) 182 #define PSMOUSE_DEFINE_RO_ATTR(_name, _mode, _data, _show) \ argument 184 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, NULL, true) 186 #define PSMOUSE_DEFINE_WO_ATTR(_name, _mode, _data, _set) \ argument 188 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, NULL, _set, true)
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe.h | 305 #define XGBE_SET_SUP(_ls, _mode) \ argument 306 ethtool_link_ksettings_add_link_mode((_ls), supported, _mode) 308 #define XGBE_CLR_SUP(_ls, _mode) \ argument 309 ethtool_link_ksettings_del_link_mode((_ls), supported, _mode) 311 #define XGBE_IS_SUP(_ls, _mode) \ argument 312 ethtool_link_ksettings_test_link_mode((_ls), supported, _mode) 317 #define XGBE_SET_ADV(_ls, _mode) \ argument 318 ethtool_link_ksettings_add_link_mode((_ls), advertising, _mode) 320 #define XGBE_CLR_ADV(_ls, _mode) \ argument 321 ethtool_link_ksettings_del_link_mode((_ls), advertising, _mode) [all …]
|
/drivers/firmware/ |
D | dmi-id.c | 34 #define DMI_ATTR(_name, _mode, _show, _field) \ argument 35 { .dev_attr = __ATTR(_name, _mode, _show, NULL), \ 38 #define DEFINE_DMI_ATTR_WITH_SHOW(_name, _mode, _field) \ argument 40 DMI_ATTR(_name, _mode, sys_dmi_field_show, _field);
|
/drivers/edac/ |
D | edac_pci_sysfs.c | 127 #define INSTANCE_ATTR(_name, _mode, _show, _store) \ argument 129 .attr = {.name = __stringify(_name), .mode = _mode }, \ 266 #define EDAC_PCI_ATTR(_name,_mode,_show,_store) \ argument 268 .attr = {.name = __stringify(_name), .mode = _mode }, \ 274 #define EDAC_PCI_STRING_ATTR(_name,_data,_mode,_show,_store) \ argument 276 .attr = {.name = __stringify(_name), .mode = _mode }, \
|
D | edac_device_sysfs.c | 147 #define CTL_INFO_ATTR(_name,_mode,_show,_store) \ argument 149 .attr = {.name = __stringify(_name), .mode = _mode }, \ 375 #define INSTANCE_ATTR(_name,_mode,_show,_store) \ argument 377 .attr = {.name = __stringify(_name), .mode = _mode }, \ 478 #define BLOCK_ATTR(_name,_mode,_show,_store) \ argument 480 .attr = {.name = __stringify(_name), .mode = _mode }, \
|
D | edac_mc_sysfs.c | 151 #define DEVICE_ATTR_LEGACY(_name, _mode, _show, _store) \ argument 152 static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store) 159 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument 161 { __ATTR(_name, _mode, _show, _store), (_var) }
|
/drivers/hwmon/ |
D | nct6683.c | 367 #define __TEMPLATE_ATTR(_template, _mode, _show, _store) { \ argument 368 .attr = {.name = _template, .mode = _mode }, \ 373 #define SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, _index) \ argument 374 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ 378 #define SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \ argument 380 { .dev_attr = __TEMPLATE_ATTR(_template, _mode, _show, _store), \ 385 #define SENSOR_TEMPLATE(_name, _template, _mode, _show, _store, _index) \ argument 387 = SENSOR_DEVICE_TEMPLATE(_template, _mode, _show, _store, \ 390 #define SENSOR_TEMPLATE_2(_name, _template, _mode, _show, _store, \ argument 393 = SENSOR_DEVICE_TEMPLATE_2(_template, _mode, _show, _store, \
|
/drivers/md/bcache/ |
D | sysfs.h | 43 #define __sysfs_attribute(_name, _mode) \ argument 45 { .name = #_name, .mode = _mode }
|
/drivers/leds/ |
D | leds-lp55xx-common.h | 40 static ssize_t show_engine##nr##_mode(struct device *dev, \ 48 static ssize_t store_engine##nr##_mode(struct device *dev, \
|
/drivers/net/bonding/ |
D | bond_sysfs_slave.c | 22 #define SLAVE_ATTR(_name, _mode, _show) \ argument 25 .mode = _mode }, \
|
/drivers/staging/rtlwifi/phydm/ |
D | phydm_beamforming.h | 44 #define phydm_beamforming_control_v2(dm, _idx, _mode, _BW, _period) false argument
|
/drivers/parisc/ |
D | pdc_stable.c | 122 #define PDCS_ATTR(_name, _mode, _show, _store) \ argument 124 .attr = {.name = __stringify(_name), .mode = _mode}, \ 129 #define PATHS_ATTR(_name, _mode, _show, _store) \ argument 131 .attr = {.name = __stringify(_name), .mode = _mode}, \
|
/drivers/iio/light/ |
D | lm3533-als.c | 575 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 576 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 581 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 583 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | display-sysfs.c | 249 #define DISPLAY_ATTR(_name, _mode, _show, _store) \ argument 251 __ATTR(_name, _mode, _show, _store)
|
D | overlay-sysfs.c | 368 #define OVERLAY_ATTR(_name, _mode, _show, _store) \ argument 370 __ATTR(_name, _mode, _show, _store)
|
D | manager-sysfs.c | 432 #define MANAGER_ATTR(_name, _mode, _show, _store) \ argument 434 __ATTR(_name, _mode, _show, _store)
|
/drivers/scsi/bfa/ |
D | bfa_defs_svc.h | 818 #define BFA_PORT_OPMODE_LB_HARD(_mode) \ argument 819 ((_mode == BFA_PORT_OPMODE_LB_INT) || \ 820 (_mode == BFA_PORT_OPMODE_LB_SLW) || \ 821 (_mode == BFA_PORT_OPMODE_LB_EXT))
|
/drivers/w1/ |
D | w1.c | 532 #define W1_MASTER_ATTR_RO(_name, _mode) \ argument 534 __ATTR(w1_master_##_name, _mode, \ 537 #define W1_MASTER_ATTR_RW(_name, _mode) \ argument 539 __ATTR(w1_master_##_name, _mode, \
|
/drivers/usb/serial/ |
D | cp210x.c | 409 #define CP210X_SERIAL_DTR_SHIFT(_mode) (_mode) argument 427 #define CP210X_SERIAL_RTS_SHIFT(_mode) (_mode << 6) argument
|
/drivers/mfd/ |
D | lm3533-core.c | 320 #define LM3533_OUTPUT_ATTR(_name, _mode, _show, _store, _type, _id) \ argument 322 { .dev_attr = __ATTR(_name, _mode, _show, _store), \
|
/drivers/firmware/efi/ |
D | efivars.c | 106 #define EFIVAR_ATTR(_name, _mode, _show, _store) \ argument 108 .attr = {.name = __stringify(_name), .mode = _mode}, \
|
/drivers/ata/ |
D | libata-transport.c | 92 #define ATA_DEVICE_ATTR(_prefix,_name,_mode,_show,_store) \ argument 94 __ATTR(_name,_mode,_show,_store)
|
/drivers/clk/rockchip/ |
D | clk.h | 252 #define PLL(_type, _id, _name, _pnames, _flags, _con, _mode, _mshift, \ argument 262 .mode_offset = _mode, \
|