/drivers/net/ethernet/mellanox/mlxsw/ |
D | item.h | 242 #define __ITEM_NAME(_type, _cname, _iname) \ argument 243 mlxsw_##_type##_##_cname##_##_iname##_item 250 #define MLXSW_ITEM16(_type, _cname, _iname, _offset, _shift, _sizebits) \ argument 251 static struct mlxsw_item __ITEM_NAME(_type, _cname, _iname) = { \ 255 .name = #_type "_" #_cname "_" #_iname, \ 257 static inline u16 mlxsw_##_type##_##_cname##_##_iname##_get(char *buf) \ 259 return __mlxsw_item_get16(buf, &__ITEM_NAME(_type, _cname, _iname), 0); \ 261 static inline void mlxsw_##_type##_##_cname##_##_iname##_set(char *buf, u16 val)\ 263 __mlxsw_item_set16(buf, &__ITEM_NAME(_type, _cname, _iname), 0, val); \ 266 #define MLXSW_ITEM16_INDEXED(_type, _cname, _iname, _offset, _shift, _sizebits, \ argument [all …]
|
/drivers/iio/adc/ |
D | da9150-gpadc.c | 255 #define DA9150_GPADC_CHANNEL(_id, _hw_id, _type, chan_info, \ argument 257 .type = _type, \ 266 #define DA9150_GPADC_CHANNEL_RAW(_id, _hw_id, _type, _ext_name) \ argument 267 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \ 270 #define DA9150_GPADC_CHANNEL_SCALED(_id, _hw_id, _type, _ext_name) \ argument 271 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \ 277 #define DA9150_GPADC_CHANNEL_PROCESSED(_id, _hw_id, _type, _ext_name) \ argument 278 DA9150_GPADC_CHANNEL(_id, _hw_id, _type, \
|
D | lp8788_adc.c | 131 #define LP8788_CHAN(_id, _type) { \ argument 132 .type = _type, \
|
D | twl6030-gpadc.c | 803 #define TWL6030_GPADC_CHAN(chn, _type, chan_info) { \ argument 804 .type = _type, \
|
D | twl4030-madc.c | 106 #define TWL4030_ADC_CHANNEL(_channel, _type, _name) { \ argument 107 .type = _type, \
|
/drivers/staging/fsl-mc/include/ |
D | mc-cmd.h | 106 #define MC_EXT_OP(_ext, _param, _offset, _width, _type, _arg) \ argument 109 #define MC_CMD_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument 112 #define MC_RSP_OP(_cmd, _param, _offset, _width, _type, _arg) \ argument 113 (_arg = (_type)mc_dec(_cmd.params[_param], (_offset), (_width)))
|
/drivers/clk/pistachio/ |
D | clk.h | 122 #define PLL(_id, _name, _pname, _type, _reg, _rates) \ argument 126 .type = _type, \ 133 #define PLL_FIXED(_id, _name, _pname, _type, _reg) \ argument 137 .type = _type, \
|
/drivers/net/ethernet/broadcom/ |
D | cnic.h | 342 #define CDU_VALID_DATA(_cid, _region, _type) \ argument 343 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 345 #define CDU_CRC8(_cid, _region, _type) \ argument 346 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 348 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type) \ argument 349 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f))
|
D | bcmsysport.h | 585 #define STAT_MIB(str, m, _type) { \ argument 589 .type = _type, \
|
/drivers/net/ethernet/sfc/ |
D | mcdi.h | 271 #define MCDI_FIELD(_ptr, _type, _field) \ argument 274 _MCDI_PTR(_ptr, MC_CMD_ ## _type ## _ ## _field ## _OFST & ~3),\ 275 MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f, \ 276 (MC_CMD_ ## _type ## _ ## _field ## _LBN & 0x1f) + \ 277 MC_CMD_ ## _type ## _ ## _field ## _WIDTH - 1) 311 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument 313 _type ## _TYPEDEF, _field2)
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_mci.h | 296 #define MCI_GPM_SET_TYPE_OPCODE(_p_gpm, _type, _opcode) do { \ argument 297 *(((u8 *)(_p_gpm)) + MCI_GPM_COEX_B_GPM_TYPE) = (_type) & 0xff; \ 301 #define MCI_GPM_IS_CAL_TYPE(_type) ((_type) <= MCI_GPM_WLAN_CAL_DONE) argument
|
D | htc.h | 203 #define INC_VIF(_priv, _type) do { \ argument 204 switch (_type) { \ 222 #define DEC_VIF(_priv, _type) do { \ argument 223 switch (_type) { \
|
/drivers/iio/common/ssp_sensors/ |
D | ssp_iio_sensor.h | 4 #define SSP_CHANNEL_AG(_type, _mod, _index) \ argument 6 .type = _type,\
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 256 #define BNAD_RXBUF_IS_SK_BUFF(_type) ((_type) == BNAD_RXBUF_SK_BUFF) argument 257 #define BNAD_RXBUF_IS_MULTI_BUFF(_type) ((_type) == BNAD_RXBUF_MULTI_BUFF) argument
|
/drivers/mfd/ |
D | lm3533-core.c | 320 #define LM3533_OUTPUT_ATTR(_name, _mode, _show, _store, _type, _id) \ argument 323 .type = _type, \ 326 #define LM3533_OUTPUT_ATTR_RW(_name, _type, _id) \ argument 328 show_output, store_output, _type, _id)
|
/drivers/clk/bcm/ |
D | clk-kona.h | 418 #define KONA_CLK(_ccu_name, _clk_name, _type) \ argument 422 .ops = &kona_ ## _type ## _clk_ops, \ 425 .type = bcm_clk_ ## _type, \
|
/drivers/acpi/acpica/ |
D | acobject.h | 120 #define ACPI_COMMON_BUFFER_INFO(_type) \ argument 121 _type *pointer; \
|
/drivers/iio/light/ |
D | lm3533-als.c | 575 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 577 .type = _type, \ 581 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 583 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
|
/drivers/xen/ |
D | tmem.c | 268 #define _oswiz(_type, _ind) ((_type << SWIZ_BITS) | (_ind & SWIZ_MASK)) argument
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_reg.h | 7626 #define CDU_VALID_DATA(_cid, _region, _type)\ argument 7627 (((_cid) << 8) | (((_region)&0xf)<<4) | (((_type)&0xf))) 7628 #define CDU_CRC8(_cid, _region, _type)\ argument 7629 (calc_crc8(CDU_VALID_DATA(_cid, _region, _type), 0xff)) 7630 #define CDU_RSRVD_VALUE_TYPE_A(_cid, _region, _type)\ argument 7631 (0x80 | ((CDU_CRC8(_cid, _region, _type)) & 0x7f)) 7632 #define CDU_RSRVD_VALUE_TYPE_B(_crc, _type)\ argument 7633 (0x80 | ((_type)&0xf << 3) | ((CDU_CRC8(_cid, _region, _type)) & 0x7))
|
/drivers/usb/gadget/udc/ |
D | pxa27x_udc.h | 267 #define PXA_EP_DEF(_idx, _addr, dir, _type, maxpkt, _config, iface, altset) \ argument 274 .type = _type, .fifo_size = maxpkt, \
|
/drivers/clk/rockchip/ |
D | clk.h | 141 #define PLL(_type, _id, _name, _pnames, _flags, _con, _mode, _mshift, \ argument 145 .type = _type, \
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | regs.h | 558 #define MT_BBP(_type, _n) (MT_BBP_##_type##_BASE + ((_n) << 2)) argument
|
/drivers/media/rc/ |
D | rc-main.c | 819 #define RC_PROTO_ATTR(_name, _mode, _show, _store, _type) \ argument 822 .type = (_type), \ 824 #define RC_FILTER_ATTR(_name, _mode, _show, _store, _type, _mask) \ argument 827 .type = (_type), \
|
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 652 #define INV_MPU6050_CHAN(_type, _channel2, _index) \ argument 654 .type = _type, \
|