/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.h | 202 #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/drivers/cdx/controller/ |
H A D | mcdi.h | 208 #define _MCDI_PTR(_buf, _offset) \ argument 209 ((u8 *)(_buf) + (_offset)) 210 #define MCDI_PTR(_buf, _field) \ argument 211 _MCDI_PTR(_buf, MC_CMD_ ## _field ## _OFST) 215 #define _MCDI_DWORD(_buf, _field) \ argument 216 ((_buf) + (_MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _OFST, 4) >> 2)) 218 #define MCDI_BYTE(_buf, _field) \ argument 220 *MCDI_PTR(_buf, _field)) 221 #define MCDI_WORD(_buf, _field) \ argument 223 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field))) [all …]
|
/linux/drivers/iio/adc/ |
H A D | ad7606_par.c | 111 u16 *_buf = buf; in ad7606_par16_read_block() local 114 insw((unsigned long)st->base_address, _buf, 1); in ad7606_par16_read_block() 119 _buf++; in ad7606_par16_read_block() 122 insw((unsigned long)st->base_address, _buf, num); in ad7606_par16_read_block() 145 u16 *_buf = buf; in ad7606_par8_read_block() local 148 insb((unsigned long)st->base_address, _buf, 2); in ad7606_par8_read_block() 153 _buf++; in ad7606_par8_read_block() 156 insb((unsigned long)st->base_address, _buf, num * 2); in ad7606_par8_read_block()
|
/linux/fs/adfs/ |
H A D | dir_f.c | 47 ({ 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); \
|
/linux/sound/drivers/opl4/ |
H A D | opl4_proc.c | 40 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()
|
/linux/fs/bcachefs/ |
H A D | util.h | 89 #define printbuf_str(_buf) bch2_printbuf_str(_buf) argument 90 #define printbuf_exit(_buf) bch2_printbuf_exit(_buf) argument 92 #define printbuf_tabstops_reset(_buf) bch2_printbuf_tabstops_reset(_buf) argument 93 #define printbuf_tabstop_pop(_buf) bch2_printbuf_tabstop_pop(_buf) argument 94 #define printbuf_tabstop_push(_buf, _n) bch2_printbuf_tabstop_push(_buf, _n) argument
|
H A D | printbuf.h | 136 #define PRINTBUF_EXTERN(_buf, _size) \ argument 138 .buf = _buf, \
|
H A D | journal_io.c | 300 struct printbuf _buf = PRINTBUF; \ 302 journal_entry_err_msg(&_buf, version, jset, entry); \ 303 prt_printf(&_buf, msg, ##__VA_ARGS__); \ 307 mustfix_fsck_err(c, _err, "%s", _buf.buf); \ 311 bch_err(c, "corrupt metadata before write: %s\n", _buf.buf);\ 319 printbuf_exit(&_buf); \
|
/linux/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 55 #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); \
|
/linux/sound/core/ |
H A D | control_led.c | 399 char _buf[16]; in mode_store() local 400 size_t l = min(count, sizeof(_buf) - 1); in mode_store() 403 memcpy(_buf, buf, l); in mode_store() 404 _buf[l] = '\0'; in mode_store() 405 if (strstr(_buf, "mute")) in mode_store() 407 else if (strstr(_buf, "route")) in mode_store() 409 else if (strncmp(_buf, "off", 3) == 0 || strncmp(_buf, "0", 1) == 0) in mode_store() 411 else if (strncmp(_buf, "on", 2) == 0 || strncmp(_buf, "1", 1) == 0) in mode_store()
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | wmi.h | 201 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument 204 (u8 *) _buf, sizeof(*_buf), \
|
/linux/tools/testing/selftests/net/lib/ |
H A D | csum.c | 724 static char _buf[MAX_HEADER_LEN + MAX_PAYLOAD_LEN]; in recv_packet() local 727 struct pkt *buf = (void *)_buf; in recv_packet() 733 iov.iov_base = _buf; in recv_packet() 734 iov.iov_len = sizeof(_buf); in recv_packet() 919 static char _buf[MAX_HEADER_LEN + MAX_PAYLOAD_LEN]; in do_tx() local 923 buf = build_packet(_buf, sizeof(_buf), &len); in do_tx() 941 buf = build_packet(_buf, sizeof(_buf), &len); in do_tx()
|
/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 53 register void *_buf asm("r4") = buf; in raw_read() 66 : "+r"(_fd), "+r"(nr), "+r"(_buf), "+r"(_count) in raw_read()
|
/linux/arch/loongarch/kernel/ |
H A D | alternative.c | 34 union loongarch_instruction *_buf = buf; \ 41 printk(KERN_CONT "<%08x> ", _buf[_j].word); \ 42 printk(KERN_CONT "<%08x>\n", _buf[_j].word); \
|
/linux/drivers/iio/test/ |
H A D | iio-test-format.c | 10 #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)); \
|
/linux/tools/perf/tests/workloads/ |
H A D | datasym.c | 4 typedef struct _buf { struct 5 data1_buf global() argument 6 reserved_buf global() argument 7 data2_buf global() argument
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port.c | 308 u32 *_buf = buf; \ 311 MLX5_SET(pplm_reg, _buf, fec_override_admin_##link, *_policy); \ 313 *_policy = MLX5_GET(pplm_reg, _buf, fec_override_admin_##link); \
|
/linux/fs/ |
H A D | fsopen.c | 25 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()
|
/linux/drivers/net/wireless/st/cw1200/ |
H A D | wsm.c | 189 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()
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 263 char _buf[80]; \ 264 dbg_status_buf(_buf, sizeof(_buf), label, status); \ 265 fotg210_dbg(fotg210, "%s\n", _buf); \ 269 char _buf[80]; \ 270 dbg_command_buf(_buf, sizeof(_buf), label, command); \ 271 fotg210_dbg(fotg210, "%s\n", _buf); \ 275 char _buf[80]; \ 277 dbg_port_buf(_buf, sizeof(_buf), label, port, status));\
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
H A D | vmm.c | 110 char _buf[NVKM_VMM_LEVELS_MAX * 7]; \ 112 nvkm_vmm_trace(_it, _buf); \ 113 VMM_TRACE(_it->vmm, "%s "f, _buf, ##a); \
|
/linux/drivers/net/wireless/intel/iwlwifi/mei/ |
H A D | main.c | 1037 void *_buf, u32 len) in iwl_mei_read_from_q() argument 1039 u8 *buf = _buf; in iwl_mei_read_from_q()
|