Home
last modified time | relevance | path

Searched refs:_set (Results 1 – 12 of 12) sorted by relevance

/drivers/input/mouse/
Dpsmouse.h162 #define __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect) \ argument
174 .set = _set, \
178 #define __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, _protect) \ argument
180 static ssize_t _set(struct psmouse *, void *, const char *, size_t); \
181 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, _show, _set, _protect)
183 #define PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set) \ argument
184 __PSMOUSE_DEFINE_ATTR(_name, _mode, _data, _show, _set, true)
190 #define PSMOUSE_DEFINE_WO_ATTR(_name, _mode, _data, _set) \ argument
191 static ssize_t _set(struct psmouse *, void *, const char *, size_t); \
192 __PSMOUSE_DEFINE_ATTR_VAR(_name, _mode, _data, NULL, _set, true)
/drivers/net/ethernet/mellanox/mlxsw/
Dpci_hw.h123 static inline void mlxsw_pci_cqe_##name##_set(enum mlxsw_pci_cqe_v v, \
129 mlxsw_pci_cqe##v0##_##name##_set(cqe, val); \
132 mlxsw_pci_cqe##v1##_##name##_set(cqe, val); \
135 mlxsw_pci_cqe##v2##_##name##_set(cqe, val); \
Ditem.h277 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u8 val)\
300 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \
318 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u16 val)\
341 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \
359 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u32 val)\
382 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \
400 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u64 val)\
423 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, unsigned short index, \
502 mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u16 index, u8 val) \
/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.h140 .mpp_set = _func ## _set, \
152 .mpp_set = _func ## _set, \
/drivers/i2c/busses/
Di2c-gpio.c92 static int fops_##wire##_set(void *data, u64 val) \
101 DEFINE_DEBUGFS_ATTRIBUTE(fops_##wire, fops_##wire##_get, fops_##wire##_set, "%llu\n")
/drivers/platform/x86/
Deeepc-laptop.c1042 #define EEEPC_SENSOR_STORE_FUNC(_name, _set) \ argument
1047 return store_sys_hwmon(_set, buf, count); \
1050 #define EEEPC_CREATE_SENSOR_ATTR_RW(_name, _get, _set) \ argument
1052 EEEPC_SENSOR_STORE_FUNC(_name, _set) \
Dlg-laptop.c22 .brightness_set = _name##_set, \
Dthinkpad_acpi.c1045 #define destroy_attr_set(_set) \ argument
1046 kfree(_set);
/drivers/hwmon/
Dacpi_power_meter.c460 #define RW_SENSOR_TEMPLATE(_label, _show, _set, _index) \ argument
464 .set = _set, \
/drivers/net/wireless/ath/ath9k/
Dhw.h88 #define REG_RMW(_ah, _reg, _set, _clr) \ argument
89 (_ah)->reg_ops.rmw((_ah), (_reg), (_set), (_clr))
/drivers/hwtracing/intel_th/
Dgth.c228 .set = gth_ ## _what ## _set, \
/drivers/scsi/lpfc/
Dlpfc_attr.c2462 lpfc_##attr##_set(struct lpfc_hba *phba, uint val) \
2511 if (lpfc_##attr##_set(phba, val) == 0) \
2618 lpfc_##attr##_set(struct lpfc_vport *vport, uint val) \
2664 if (lpfc_##attr##_set(vport, val) == 0) \