Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/sfc/
Dmcdi.h202 #define _MCDI_PTR(_buf, _offset) \ argument
203 ((u8 *)(_buf) + (_offset))
204 #define MCDI_PTR(_buf, _field) \ argument
205 _MCDI_PTR(_buf, MC_CMD_ ## _field ## _OFST)
208 #define _MCDI_DWORD(_buf, _field) \ argument
209 ((_buf) + (_MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _OFST, 4) >> 2))
211 #define MCDI_BYTE(_buf, _field) \ argument
213 *MCDI_PTR(_buf, _field))
214 #define MCDI_WORD(_buf, _field) \ argument
216 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
[all …]
/Linux-v4.19/sound/drivers/opl4/
Dopl4_proc.c53 struct file *file, char __user *_buf, in snd_opl4_mem_proc_read() argument
63 if (copy_to_user(_buf, buf, count)) { in snd_opl4_mem_proc_read()
74 const char __user *_buf, in snd_opl4_mem_proc_write() argument
83 if (copy_from_user(buf, _buf, count)) { in snd_opl4_mem_proc_write()
/Linux-v4.19/fs/adfs/
Ddir_f.c62 ({ int _buf = idx >> blocksize_bits; \
63 int _off = idx - (_buf << blocksize_bits);\
64 *(u8 *)(bh[_buf]->b_data + _off); \
68 ({ int _buf = idx >> blocksize_bits; \
69 int _off = idx - (_buf << blocksize_bits);\
70 *(__le32 *)(bh[_buf]->b_data + _off); \
74 ({ int _buf = _idx >> blocksize_bits; \
75 int _off = _idx - (_buf << blocksize_bits);\
76 (u8 *)(_bh[_buf]->b_data + _off); \
/Linux-v4.19/drivers/usb/wusbcore/
Drh.c127 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) in wusbhc_rh_status_data() argument
137 memset(_buf, 0, size); in wusbhc_rh_status_data()
144 _buf[bitpos/8] |= (1 << (bitpos % 8)); in wusbhc_rh_status_data()
326 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
328 __le16 *buf = (__le16 *)_buf; in wusbhc_rh_get_port_status()
/Linux-v4.19/tools/power/acpi/tools/acpidbg/
Dacpidbg.c58 #define ACPI_AML_DO(_fd, _op, _buf, _ret) \ argument
60 _ret = acpi_aml_##_op(_fd, &acpi_aml_##_buf##_crc); \
63 "%s %s pipe closed.\n", #_buf, #_op); \
67 #define ACPI_AML_BATCH_DO(_fd, _op, _buf, _ret) \ argument
69 _ret = acpi_aml_##_op##_batch_##_buf(_fd, \
70 &acpi_aml_##_buf##_crc); \
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dwmi.h200 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
203 (u8 *) _buf, sizeof(*_buf), \
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Di2c.c72 #define MLXSW_I2C_READ_MSG(_client, _addr_buf, _buf, _len) { \ argument
78 .buf = (_buf), \
82 #define MLXSW_I2C_WRITE_MSG(_client, _buf, _len) \ argument
84 .buf = (u8 *)(_buf), \
/Linux-v4.19/sound/isa/sb/
Demu8000_pcm.c448 #define LOOP_WRITE(rec, offset, _buf, count, mode) \ argument
451 unsigned short *buf = (unsigned short *)(_buf); \
505 #define LOOP_WRITE(rec, pos, _buf, count, mode) \ argument
508 unsigned short *buf = (unsigned short *)(_buf); \
/Linux-v4.19/sound/soc/sh/
Dfsi.c1054 static void fsi_pio_push16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push16() argument
1064 u32 *buf = (u32 *)_buf; in fsi_pio_push16()
1070 u16 *buf = (u16 *)_buf; in fsi_pio_push16()
1077 static void fsi_pio_pop16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop16() argument
1079 u16 *buf = (u16 *)_buf; in fsi_pio_pop16()
1086 static void fsi_pio_push32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push32() argument
1088 u32 *buf = (u32 *)_buf; in fsi_pio_push32()
1095 static void fsi_pio_pop32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop32() argument
1097 u32 *buf = (u32 *)_buf; in fsi_pio_pop32()
/Linux-v4.19/net/mac80211/
Ddebugfs_sta.c242 char _buf[25] = {}, *buf = _buf; in sta_agg_status_write() local
249 if (count > sizeof(_buf)) in sta_agg_status_write()
255 buf[sizeof(_buf) - 1] = '\0'; in sta_agg_status_write()
/Linux-v4.19/drivers/usb/host/
Doxu210hp-hcd.c193 char _buf[80]; \
194 dbg_status_buf(_buf, sizeof _buf, label, status); \
195 oxu_dbg(oxu, "%s\n", _buf); \
199 char _buf[80]; \
200 dbg_command_buf(_buf, sizeof _buf, label, command); \
201 oxu_dbg(oxu, "%s\n", _buf); \
205 char _buf[80]; \
206 dbg_port_buf(_buf, sizeof _buf, label, port, status); \
207 oxu_dbg(oxu, "%s\n", _buf); \
Dfotg210-hcd.c261 char _buf[80]; \
262 dbg_status_buf(_buf, sizeof(_buf), label, status); \
263 fotg210_dbg(fotg210, "%s\n", _buf); \
267 char _buf[80]; \
268 dbg_command_buf(_buf, sizeof(_buf), label, command); \
269 fotg210_dbg(fotg210, "%s\n", _buf); \
273 char _buf[80]; \
275 dbg_port_buf(_buf, sizeof(_buf), label, port, status));\
/Linux-v4.19/drivers/soundwire/
Dbus.c812 u8 buf, buf2[2], _buf, _buf2[2]; in sdw_handle_slave_alerts() local
916 _buf = ret = sdw_read(slave, SDW_SCP_INT1); in sdw_handle_slave_alerts()
931 buf &= _buf; in sdw_handle_slave_alerts()
/Linux-v4.19/drivers/mmc/host/
Dmxcmmc.c555 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
558 u32 *buf = _buf; in mxcmci_pull()
584 static int mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_push() argument
587 u32 *buf = _buf; in mxcmci_push()
/Linux-v4.19/drivers/bluetooth/
Dbtrtl.c207 unsigned char **_buf) in rtlbt_parse_firmware() argument
353 *_buf = buf; in rtlbt_parse_firmware()
/Linux-v4.19/drivers/net/ethernet/wiznet/
Dw5300.c333 struct ethtool_regs *regs, void *_buf) in w5300_get_regs() argument
336 u8 *buf = _buf; in w5300_get_regs()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dwsm.c192 int wsm_read_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_read_mib() argument
199 .buf = _buf, in wsm_read_mib()
243 int wsm_write_mib(struct cw1200_common *priv, u16 mib_id, void *_buf, in wsm_write_mib() argument
250 .buf = _buf, in wsm_write_mib()
258 WSM_PUT(buf, _buf, buf_size); in wsm_write_mib()
/Linux-v4.19/drivers/nvmem/
Dcore.c1104 u8 *_buf, int len) in nvmem_cell_prepare_write_buffer() argument
1115 memcpy(buf, _buf, len); in nvmem_cell_prepare_write_buffer()
/Linux-v4.19/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); \
/Linux-v4.19/tools/perf/util/
Dparse-events.c1883 char _buf[MAX_WIDTH]; in parse_events_print_error() local
1907 buf = _buf; in parse_events_print_error()