Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/adfs/
Ddir_f.c47 ({ int _buf = idx >> blocksize_bits; \
48 int _off = idx - (_buf << blocksize_bits);\
49 *(u8 *)(bh[_buf]->b_data + _off); \
53 ({ int _buf = idx >> blocksize_bits; \
54 int _off = idx - (_buf << blocksize_bits);\
55 *(__le32 *)(bh[_buf]->b_data + _off); \
59 ({ int _buf = _idx >> blocksize_bits; \
60 int _off = _idx - (_buf << blocksize_bits);\
61 (void *)(_bh[_buf]->b_data + _off); \
/kernel/linux/linux-5.10/sound/drivers/opl4/
Dopl4_proc.c40 struct file *file, char __user *_buf, in snd_opl4_mem_proc_read() argument
50 if (copy_to_user(_buf, buf, count)) { in snd_opl4_mem_proc_read()
61 const char __user *_buf, in snd_opl4_mem_proc_write() argument
70 if (copy_from_user(buf, _buf, count)) { in snd_opl4_mem_proc_write()
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidbg/
Dacpidbg.c55 #define ACPI_AML_DO(_fd, _op, _buf, _ret) \ argument
57 _ret = acpi_aml_##_op(_fd, &acpi_aml_##_buf##_crc); \
60 "%s %s pipe closed.\n", #_buf, #_op); \
64 #define ACPI_AML_BATCH_DO(_fd, _op, _buf, _ret) \ argument
66 _ret = acpi_aml_##_op##_batch_##_buf(_fd, \
67 &acpi_aml_##_buf##_crc); \
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dwmi.h201 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
204 (u8 *) _buf, sizeof(*_buf), \
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/signal/
Dsig_sc_double_restart.c53 register void *_buf asm("r4") = buf; in raw_read()
66 : "+r"(_fd), "+r"(nr), "+r"(_buf), "+r"(_count) in raw_read()
/kernel/linux/linux-5.10/net/mac80211/
Ddebugfs_sta.c289 char _buf[100] = {}, *buf = _buf; in sta_aql_write() local
291 if (count > sizeof(_buf)) in sta_aql_write()
297 buf[sizeof(_buf) - 1] = '\0'; in sta_aql_write()
360 char _buf[25] = {}, *buf = _buf; in sta_agg_status_write() local
367 if (count > sizeof(_buf)) in sta_agg_status_write()
373 buf[sizeof(_buf) - 1] = '\0'; in sta_agg_status_write()
/kernel/linux/linux-5.10/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), \
/kernel/linux/linux-5.10/sound/isa/sb/
Demu8000_pcm.c435 #define LOOP_WRITE(rec, offset, _buf, count, mode) \ argument
438 unsigned short *buf = (__force unsigned short *)(_buf); \
492 #define LOOP_WRITE(rec, pos, _buf, count, mode) \ argument
495 unsigned short *buf = (__force unsigned short *)(_buf); \
/kernel/linux/linux-5.10/sound/soc/sh/
Dfsi.c1067 static void fsi_pio_push16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push16() argument
1077 u32 *buf = (u32 *)_buf; in fsi_pio_push16()
1083 u16 *buf = (u16 *)_buf; in fsi_pio_push16()
1090 static void fsi_pio_pop16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop16() argument
1092 u16 *buf = (u16 *)_buf; in fsi_pio_pop16()
1099 static void fsi_pio_push32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push32() argument
1101 u32 *buf = (u32 *)_buf; in fsi_pio_push32()
1108 static void fsi_pio_pop32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop32() argument
1110 u32 *buf = (u32 *)_buf; in fsi_pio_pop32()
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-5.10/fs/
Dfsopen.c25 char __user *_buf, size_t len, loff_t *pos) in fscontext_read() argument
57 if (copy_to_user(_buf, p, n) != 0) in fscontext_read()
/kernel/linux/linux-5.10/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));\
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmxcmmc.c546 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
549 u32 *buf = _buf; in mxcmci_pull()
575 static int mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_push() argument
578 u32 *buf = _buf; in mxcmci_push()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/bluetooth/
Dbtrtl.c252 unsigned char **_buf) in rtlbt_parse_firmware() argument
400 *_buf = buf; in rtlbt_parse_firmware()
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.c1441 u8 buf, buf2[2], _buf, _buf2[2]; in sdw_handle_slave_alerts() local
1571 _buf = ret; in sdw_handle_slave_alerts()
1581 buf &= _buf; in sdw_handle_slave_alerts()
/kernel/linux/linux-5.10/drivers/nvmem/
Dcore.c1294 u8 *_buf, int len) in nvmem_cell_prepare_write_buffer() argument
1305 memcpy(buf, _buf, len); in nvmem_cell_prepare_write_buffer()
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c2201 char _buf[MAX_WIDTH]; in __parse_events_print_error() local
2224 buf = _buf; in __parse_events_print_error()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch28913 + struct class_attribute *attr, char *_buf)
28917 + if (!_buf)
28932 + return sprintf(_buf, "%s\n", bt_addr);
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch11749 +#define PRESENT_OFST_IN_PAGE(_buf) (((unsigned long int)(_buf) & (PAGE_SIZE \
D0038_linux_drivers_mxc.patch145941 + char _buf[100];
145943 + count = min_t(size_t, count, (sizeof(_buf)-1));
145944 + ret = copy_from_user(_buf, buf, count);
145950 + _buf[count] = 0;
145952 + _set_clk(_buf);