Home
last modified time | relevance | path

Searched refs:_field (Results 1 – 25 of 40) sorted by relevance

12

/linux/drivers/net/ethernet/sfc/
A Dmcdi.h202 #define MCDI_PTR(_buf, _field) \ argument
203 _MCDI_PTR(_buf, MC_CMD_ ## _field ## _OFST)
206 #define _MCDI_DWORD(_buf, _field) \ argument
209 #define MCDI_BYTE(_buf, _field) \ argument
211 *MCDI_PTR(_buf, _field))
212 #define MCDI_WORD(_buf, _field) \ argument
217 #define MCDI_DWORD(_buf, _field) \ argument
280 #define MCDI_QWORD(_buf, _field) \ argument
300 ((_len) - MC_CMD_ ## _field ## _OFST) / MC_CMD_ ## _field ## _LEN)
327 #define MCDI_EVENT_FIELD(_ev, _field) \ argument
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-common.h1438 _prefix##_##_field##_WIDTH)
1448 _prefix##_##_field##_WIDTH)
1468 _reg##_##_field##_WIDTH)
1493 _reg##_##_field##_WIDTH)
1518 _reg##_##_field##_WIDTH)
1538 _prefix##_##_field##_WIDTH)
1576 _reg##_##_field##_WIDTH)
1596 _reg##_##_field##_WIDTH)
1619 _reg##_##_field##_WIDTH)
1652 _reg##_##_field##_WIDTH)
[all …]
/linux/tools/perf/ui/
A Dhist.c343 return he->stat._field; \
361 #define __HPP_SORT_FN(_type, _field) \ argument
371 return he->stat_acc->_field; \
399 return he->stat._field; \
418 __HPP_COLOR_PERCENT_FN(_type, _field) \
419 __HPP_ENTRY_PERCENT_FN(_type, _field) \
420 __HPP_SORT_FN(_type, _field)
425 __HPP_SORT_ACC_FN(_type, _field)
427 #define HPP_RAW_FNS(_type, _field) \ argument
428 __HPP_ENTRY_RAW_FN(_type, _field) \
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
A Dcoex.h136 #define BT_MBOX_MSG(_notif, _num, _field) \ argument
137 ((le32_to_cpu((_notif)->mbox_msg[(_num)]) & BT_MBOX##_num##_##_field)\
138 >> BT_MBOX##_num##_##_field##_POS)
140 #define BT_MBOX_PRINT(_num, _field, _end) \ argument
143 #_field, \
144 BT_MBOX_MSG(notif, _num, _field), \
/linux/arch/powerpc/platforms/cell/spufs/
A Dspu_utils.h50 #define LSCSA_BYTE_OFFSET(_field) \ argument
51 ((char *)(&(dummy->_field)) - (char *)(&(dummy->gprs[0].slot[0])))
52 #define LSCSA_QW_OFFSET(_field) (LSCSA_BYTE_OFFSET(_field) >> 4) argument
/linux/drivers/bcma/
A Dsprom.c185 #define SPEX(_field, _offset, _mask, _shift) \ argument
188 #define SPEX32(_field, _offset, _mask, _shift) \ argument
192 #define SPEX_ARRAY8(_field, _offset, _mask, _shift) \ argument
194 SPEX(_field[0], _offset + 0, _mask, _shift); \
195 SPEX(_field[1], _offset + 2, _mask, _shift); \
196 SPEX(_field[2], _offset + 4, _mask, _shift); \
197 SPEX(_field[3], _offset + 6, _mask, _shift); \
198 SPEX(_field[4], _offset + 8, _mask, _shift); \
199 SPEX(_field[5], _offset + 10, _mask, _shift); \
200 SPEX(_field[6], _offset + 12, _mask, _shift); \
[all …]
/linux/drivers/net/ethernet/atheros/alx/
A Dhw.h456 #define ALX_GET_FIELD(_data, _field) \ argument
457 (((_data) >> _field ## _SHIFT) & _field ## _MASK)
459 #define ALX_SET_FIELD(_data, _field, _value) do { \ argument
460 (_data) &= ~(_field ## _MASK << _field ## _SHIFT); \
461 (_data) |= ((_value) & _field ## _MASK) << _field ## _SHIFT;\
/linux/arch/mips/ath25/
A Ddevices.h7 #define ATH25_REG_MS(_val, _field) (((_val) & _field##_M) >> _field##_S) argument
/linux/drivers/firmware/
A Ddmi-id.c33 #define DMI_ATTR(_name, _mode, _show, _field) \ argument
35 .field = _field }
37 #define DEFINE_DMI_ATTR_WITH_SHOW(_name, _mode, _field) \ argument
39 DMI_ATTR(_name, _mode, sys_dmi_field_show, _field);
182 #define ADD_DMI_ATTR(_name, _field) \ argument
183 if (dmi_get_system_info(_field)) \
A Ddmi-sysfs.c268 #define DMI_SYSFS_SEL_FIELD(_field) \ argument
269 static ssize_t dmi_sysfs_sel_##_field(struct dmi_sysfs_entry *entry, \
277 return sprintf(buf, "%u\n", sel._field); \
279 static DMI_SYSFS_MAPPED_ATTR(sel, _field)
/linux/drivers/input/touchscreen/
A Dhycon-hy46xx.c154 #define HYCON_ATTR_U8(_field, _mode, _address, _limit_low, _limit_high) \ argument
155 struct hycon_hy46xx_attribute hycon_hy46xx_attr_##_field = { \
156 .dattr = __ATTR(_field, _mode, \
159 .field_offset = offsetof(struct hycon_hy46xx_data, _field), \
165 #define HYCON_ATTR_BOOL(_field, _mode, _address) \ argument
166 struct hycon_hy46xx_attribute hycon_hy46xx_attr_##_field = { \
167 .dattr = __ATTR(_field, _mode, \
170 .field_offset = offsetof(struct hycon_hy46xx_data, _field), \
A Delants_i2c.c1259 #define __ELANTS_FIELD_SIZE(_field) \ argument
1260 sizeof(((struct elants_data *)NULL)->_field)
1261 #define __ELANTS_VERIFY_SIZE(_field) \ argument
1262 (BUILD_BUG_ON_ZERO(__ELANTS_FIELD_SIZE(_field) > 2) + \
1263 __ELANTS_FIELD_SIZE(_field))
1264 #define ELANTS_VERSION_ATTR(_field) \ argument
1265 struct elants_version_attribute elants_ver_attr_##_field = { \
1266 .dattr = __ATTR(_field, S_IRUGO, \
1268 .field_offset = offsetof(struct elants_data, _field), \
1269 .field_size = __ELANTS_VERIFY_SIZE(_field), \
/linux/arch/x86/platform/ts5500/
A Dts5500.c177 #define TS5500_ATTR_BOOL(_field) \ argument
178 static ssize_t _field##_show(struct device *dev, \
183 return sprintf(buf, "%d\n", sbc->_field); \
185 static DEVICE_ATTR_RO(_field)
/linux/tools/perf/ui/gtk/
A Dhists.c43 #define __HPP_COLOR_PERCENT_FN(_type, _field) \ argument
44 static u64 he_get_##_field(struct hist_entry *he) \
46 return he->stat._field; \
53 return hpp__fmt(fmt, hpp, he, he_get_##_field, " %*.2f%%", \
57 #define __HPP_COLOR_ACC_PERCENT_FN(_type, _field) \ argument
58 static u64 he_get_acc_##_field(struct hist_entry *he) \
60 return he->stat_acc->_field; \
67 return hpp__fmt_acc(fmt, hpp, he, he_get_acc_##_field, " %*.2f%%", \
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl.c527 #define MLXSW_SP_ACL_MANGLE_ACTION(_htype, _offset, _mask, _shift, _field) \ argument
533 .field = MLXSW_SP_ACL_MANGLE_FIELD_##_field, \
536 #define MLXSW_SP_ACL_MANGLE_ACTION_IP4(_offset, _mask, _shift, _field) \ argument
538 _offset, _mask, _shift, _field)
540 #define MLXSW_SP_ACL_MANGLE_ACTION_IP6(_offset, _mask, _shift, _field) \ argument
542 _offset, _mask, _shift, _field)
544 #define MLXSW_SP_ACL_MANGLE_ACTION_TCP(_offset, _mask, _shift, _field) \ argument
545 MLXSW_SP_ACL_MANGLE_ACTION(FLOW_ACT_MANGLE_HDR_TYPE_TCP, _offset, _mask, _shift, _field)
547 #define MLXSW_SP_ACL_MANGLE_ACTION_UDP(_offset, _mask, _shift, _field) \ argument
548 MLXSW_SP_ACL_MANGLE_ACTION(FLOW_ACT_MANGLE_HDR_TYPE_UDP, _offset, _mask, _shift, _field)
/linux/drivers/iio/health/
A Dafe440x.h145 #define AFE440X_ATTR(_name, _field, _table) \ argument
150 .field = _field, \
/linux/drivers/ssb/
A Dpci.c179 #define SPEX_ARRAY8(_field, _offset, _mask, _shift) \ argument
181 SPEX(_field[0], _offset + 0, _mask, _shift); \
182 SPEX(_field[1], _offset + 2, _mask, _shift); \
183 SPEX(_field[2], _offset + 4, _mask, _shift); \
184 SPEX(_field[3], _offset + 6, _mask, _shift); \
185 SPEX(_field[4], _offset + 8, _mask, _shift); \
186 SPEX(_field[5], _offset + 10, _mask, _shift); \
187 SPEX(_field[6], _offset + 12, _mask, _shift); \
188 SPEX(_field[7], _offset + 14, _mask, _shift); \
/linux/drivers/net/wireless/mediatek/mt7601u/
A Dmt7601u.h297 #define mt76_rmw_field(_dev, _reg, _field, _val) \ argument
298 mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
/linux/drivers/input/misc/
A Dims-pcu.c1096 #define IMS_PCU_ATTR(_field, _mode) \ argument
1097 struct ims_pcu_attribute ims_pcu_attr_##_field = { \
1098 .dattr = __ATTR(_field, _mode, \
1101 .field_offset = offsetof(struct ims_pcu, _field), \
1102 .field_length = sizeof(((struct ims_pcu *)NULL)->_field), \
1105 #define IMS_PCU_RO_ATTR(_field) \ argument
1106 IMS_PCU_ATTR(_field, S_IRUGO)
1107 #define IMS_PCU_RW_ATTR(_field) \ argument
1108 IMS_PCU_ATTR(_field, S_IRUGO | S_IWUSR)
1439 #define IMS_PCU_OFN_BIT_ATTR(_field, _addr, _nr) \ argument
[all …]
/linux/arch/x86/events/
A Dperf_event.h674 #define hybrid(_pmu, _field) \ argument
676 typeof(&x86_pmu._field) __Fp = &x86_pmu._field; \
679 __Fp = &hybrid_pmu(_pmu)->_field; \
694 #define hybrid_bit(_pmu, _field) \ argument
696 bool __Fp = x86_pmu._field; \
699 __Fp = hybrid_pmu(_pmu)->_field; \
/linux/include/uapi/linux/genwqe/
A Dgenwqe_card.h391 #define ATS_SET_FLAGS(_struct, _field, _flags) \ argument
392 (((_flags) & 0xf) << (44 - (4 * (offsetof(_struct, _field) / 8))))
/linux/drivers/net/wireless/mediatek/mt76/
A Dmt76.h837 #define mt76_get_field(_dev, _reg, _field) \ argument
838 FIELD_GET(_field, mt76_rr(dev, _reg))
840 #define mt76_rmw_field(_dev, _reg, _field, _val) \ argument
841 mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
843 #define __mt76_rmw_field(_dev, _reg, _field, _val) \ argument
844 __mt76_rmw(_dev, _reg, _field, FIELD_PREP(_field, _val))
/linux/drivers/edac/
A Dthunderx_edac.c228 #define DEBUGFS_FIELD_ATTR(_type, _field) \ argument
229 static ssize_t thunderx_##_type##_##_field##_read(struct file *file, \
236 snprintf(buf, count, "0x%016llx", pdata->_field); \
241 static ssize_t thunderx_##_type##_##_field##_write(struct file *file, \
248 res = kstrtoull_from_user(data, count, 0, &pdata->_field); \
253 DEBUGFS_STRUCT(_field, 0600, \
254 thunderx_##_type##_##_field##_write, \
255 thunderx_##_type##_##_field##_read) \
292 #define LMC_DEBUGFS_ENT(_field) DEBUGFS_FIELD_ATTR(lmc, _field) argument
/linux/drivers/misc/bcm-vk/
A Dbcm_vk.h428 #define BCM_VK_EXTRACT_FIELD(_field, _reg, _mask, _shift) \ argument
429 (_field = (((_reg) >> (_shift)) & (_mask)))
/linux/arch/arm64/kernel/
A Dcpuinfo.c243 #define CPUREGS_ATTR_RO(_name, _field) \ argument
250 return sprintf(buf, "0x%016llx\n", info->reg_##_field); \

Completed in 77 milliseconds

12