Home
last modified time | relevance | path

Searched refs:_buf (Results 1 – 14 of 14) sorted by relevance

/drivers/net/ethernet/sfc/
Dmcdi.h200 #define _MCDI_PTR(_buf, _offset) \ argument
201 ((u8 *)(_buf) + (_offset))
202 #define MCDI_PTR(_buf, _field) \ argument
203 _MCDI_PTR(_buf, MC_CMD_ ## _field ## _OFST)
206 #define _MCDI_DWORD(_buf, _field) \ argument
207 ((_buf) + (_MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _OFST, 4) >> 2))
209 #define MCDI_BYTE(_buf, _field) \ argument
211 *MCDI_PTR(_buf, _field))
212 #define MCDI_WORD(_buf, _field) \ argument
214 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
[all …]
/drivers/net/wireless/ath/ath9k/
Dwmi.h201 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
204 (u8 *) _buf, sizeof(*_buf), \
/drivers/iio/test/
Diio-test-format.c10 #define IIO_TEST_FORMAT_EXPECT_EQ(_test, _buf, _ret, _val) do { \ argument
11 KUNIT_EXPECT_EQ(_test, strlen(_buf), _ret); \
12 KUNIT_EXPECT_STREQ(_test, (_buf), (_val)); \
/drivers/net/ethernet/mellanox/mlxsw/
Di2c.c82 #define MLXSW_I2C_READ_MSG(_client, _addr_buf, _buf, _len) { \ argument
88 .buf = (_buf), \
92 #define MLXSW_I2C_WRITE_MSG(_client, _buf, _len) \ argument
94 .buf = (u8 *)(_buf), \
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.c382 u32 *_buf = buf; \
385 MLX5_SET(pplm_reg, _buf, fec_override_admin_##link, *_policy); \
387 *_policy = MLX5_GET(pplm_reg, _buf, fec_override_admin_##link); \
/drivers/usb/host/
Doxu210hp-hcd.c633 char _buf[80]; \
634 dbg_status_buf(_buf, sizeof _buf, label, status); \
635 oxu_dbg(oxu, "%s\n", _buf); \
639 char _buf[80]; \
640 dbg_command_buf(_buf, sizeof _buf, label, command); \
641 oxu_dbg(oxu, "%s\n", _buf); \
645 char _buf[80]; \
646 dbg_port_buf(_buf, sizeof _buf, label, port, status); \
647 oxu_dbg(oxu, "%s\n", _buf); \
Dfotg210-hcd.c264 char _buf[80]; \
265 dbg_status_buf(_buf, sizeof(_buf), label, status); \
266 fotg210_dbg(fotg210, "%s\n", _buf); \
270 char _buf[80]; \
271 dbg_command_buf(_buf, sizeof(_buf), label, command); \
272 fotg210_dbg(fotg210, "%s\n", _buf); \
276 char _buf[80]; \
278 dbg_port_buf(_buf, sizeof(_buf), label, port, status));\
/drivers/mmc/host/
Dmxcmmc.c530 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
533 u32 *buf = _buf; in mxcmci_pull()
559 static int mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_push() argument
562 u32 *buf = _buf; in mxcmci_push()
/drivers/net/wireless/st/cw1200/
Dwsm.c189 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_read_mib() argument
196 .buf = _buf, in wsm_read_mib()
240 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_write_mib() argument
247 .buf = _buf, in wsm_write_mib()
255 WSM_PUT(buf, _buf, buf_size); in wsm_write_mib()
/drivers/net/ethernet/wiznet/
Dw5300.c321 struct ethtool_regs *regs, void *_buf) in w5300_get_regs() argument
324 u8 *buf = _buf; in w5300_get_regs()
/drivers/bluetooth/
Dbtrtl.c256 unsigned char **_buf) in rtlbt_parse_firmware() argument
407 *_buf = buf; in rtlbt_parse_firmware()
/drivers/soundwire/
Dbus.c1510 u8 buf, buf2[2], _buf, _buf2[2]; in sdw_handle_slave_alerts() local
1667 _buf = ret; in sdw_handle_slave_alerts()
1690 buf &= _buf; in sdw_handle_slave_alerts()
/drivers/nvmem/
Dcore.c1445 u8 *_buf, int len) in nvmem_cell_prepare_write_buffer() argument
1456 memcpy(buf, _buf, len); in nvmem_cell_prepare_write_buffer()
/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dvmm.c110 char _buf[NVKM_VMM_LEVELS_MAX * 7]; \
112 nvkm_vmm_trace(_it, _buf); \
113 VMM_TRACE(_it->vmm, "%s "f, _buf, ##a); \