Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/sfc/
Dmcdi.h191 #define _MCDI_PTR(_buf, _offset) \ argument
192 ((u8 *)(_buf) + (_offset))
193 #define MCDI_PTR(_buf, _field) \ argument
194 _MCDI_PTR(_buf, MC_CMD_ ## _field ## _OFST)
197 #define _MCDI_DWORD(_buf, _field) \ argument
198 ((_buf) + (_MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _OFST, 4) >> 2))
200 #define MCDI_WORD(_buf, _field) \ argument
202 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
203 #define MCDI_SET_DWORD(_buf, _field, _value) \ argument
204 EFX_POPULATE_DWORD_1(*_MCDI_DWORD(_buf, _field), EFX_DWORD_0, _value)
[all …]
/linux-4.4.14/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-4.4.14/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-4.4.14/arch/blackfin/kernel/
Ddebug-mmrs.c46 strcpy(_buf, sname); \
120 char buf[32], *_buf = REGS_STR_PFX(buf, CAN, num); in bfin_debug_mmrs_can() local
176 sprintf(_buf, "AM%02iL", i); in bfin_debug_mmrs_can()
179 sprintf(_buf, "AM%02iH", i); in bfin_debug_mmrs_can()
184 sprintf(_buf, "MB%02i_DATA%i", i, j); in bfin_debug_mmrs_can()
188 sprintf(_buf, "MB%02i_LENGTH", i); in bfin_debug_mmrs_can()
191 sprintf(_buf, "MB%02i_TIMESTAMP", i); in bfin_debug_mmrs_can()
194 sprintf(_buf, "MB%02i_ID0", i); in bfin_debug_mmrs_can()
197 sprintf(_buf, "MB%02i_ID1", i); in bfin_debug_mmrs_can()
211 char buf[32], *_buf; in bfin_debug_mmrs_dma() local
[all …]
/linux-4.4.14/drivers/usb/wusbcore/
Drh.c141 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) in wusbhc_rh_status_data() argument
151 memset(_buf, 0, size); in wusbhc_rh_status_data()
158 _buf[bitpos/8] |= (1 << (bitpos % 8)); in wusbhc_rh_status_data()
340 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
342 __le16 *buf = (__le16 *)_buf; in wusbhc_rh_get_port_status()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dwmi.h200 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
203 (u8 *) _buf, sizeof(*_buf), \
/linux-4.4.14/drivers/usb/host/
Dehci-dbg.c308 char _buf [80]; \
309 dbg_status_buf (_buf, sizeof _buf, label, status); \
310 ehci_dbg (ehci, "%s\n", _buf); \
314 char _buf [80]; \
315 dbg_command_buf (_buf, sizeof _buf, label, command); \
316 ehci_dbg (ehci, "%s\n", _buf); \
320 char _buf [80]; \
321 dbg_port_buf (_buf, sizeof _buf, label, port, status); \
322 ehci_dbg (ehci, "%s\n", _buf); \
Doxu210hp-hcd.c206 char _buf[80]; \
207 dbg_status_buf(_buf, sizeof _buf, label, status); \
208 oxu_dbg(oxu, "%s\n", _buf); \
212 char _buf[80]; \
213 dbg_command_buf(_buf, sizeof _buf, label, command); \
214 oxu_dbg(oxu, "%s\n", _buf); \
218 char _buf[80]; \
219 dbg_port_buf(_buf, sizeof _buf, label, port, status); \
220 oxu_dbg(oxu, "%s\n", _buf); \
Dfotg210-hcd.c274 char _buf[80]; \
275 dbg_status_buf(_buf, sizeof(_buf), label, status); \
276 fotg210_dbg(fotg210, "%s\n", _buf); \
280 char _buf[80]; \
281 dbg_command_buf(_buf, sizeof(_buf), label, command); \
282 fotg210_dbg(fotg210, "%s\n", _buf); \
286 char _buf[80]; \
288 dbg_port_buf(_buf, sizeof(_buf), label, port, status));\
/linux-4.4.14/net/mac80211/
Ddebugfs_sta.c154 char _buf[12] = {}, *buf = _buf; in sta_agg_status_write() local
160 if (count > sizeof(_buf)) in sta_agg_status_write()
166 buf[sizeof(_buf) - 1] = '\0'; in sta_agg_status_write()
/linux-4.4.14/sound/soc/sh/
Dfsi.c1059 static void fsi_pio_push16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push16() argument
1069 u32 *buf = (u32 *)_buf; in fsi_pio_push16()
1075 u16 *buf = (u16 *)_buf; in fsi_pio_push16()
1082 static void fsi_pio_pop16(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop16() argument
1084 u16 *buf = (u16 *)_buf; in fsi_pio_pop16()
1091 static void fsi_pio_push32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_push32() argument
1093 u32 *buf = (u32 *)_buf; in fsi_pio_push32()
1100 static void fsi_pio_pop32(struct fsi_priv *fsi, u8 *_buf, int samples) in fsi_pio_pop32() argument
1102 u32 *buf = (u32 *)_buf; in fsi_pio_pop32()
/linux-4.4.14/drivers/bluetooth/
Dbtrtl.c68 unsigned char **_buf) in rtl8723b_parse_firmware() argument
204 *_buf = buf; in rtl8723b_parse_firmware()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_drv.h2145 struct drm_buffer *_buf = (buf); \
2153 if (drm_buffer_index(_buf) + _part_size > PAGE_SIZE) \
2154 _part_size = PAGE_SIZE - drm_buffer_index(_buf);\
2158 memcpy(ring + write, &_buf->data[drm_buffer_page(_buf)] \
2159 [drm_buffer_index(_buf)], _part_size); \
2163 drm_buffer_advance(_buf, _part_size); \
Dradeon_state.c1824 #define RADEON_COPY_MT(_buf, _data, _width) \ in radeon_cp_dispatch_texture() argument
1826 if (copy_from_user(_buf, _data, (_width))) {\ in radeon_cp_dispatch_texture()
/linux-4.4.14/drivers/mmc/host/
Dmxcmmc.c554 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
557 u32 *buf = _buf; in mxcmci_pull()
583 static int mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_push() argument
586 u32 *buf = _buf; in mxcmci_push()
/linux-4.4.14/drivers/net/ethernet/wiznet/
Dw5300.c334 struct ethtool_regs *regs, void *_buf) in w5300_get_regs() argument
337 u8 *buf = _buf; in w5300_get_regs()
Dw5100.c415 struct ethtool_regs *regs, void *_buf) in w5100_get_regs() argument
418 u8 *buf = _buf; in w5100_get_regs()
/linux-4.4.14/drivers/net/wireless/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-4.4.14/drivers/nvmem/
Dcore.c869 u8 *_buf, int len) in nvmem_cell_prepare_write_buffer() argument
880 memcpy(buf, _buf, len); in nvmem_cell_prepare_write_buffer()
/linux-4.4.14/tools/perf/util/
Dparse-events.c1443 char _buf[MAX_WIDTH]; in parse_events_print_error() local
1467 buf = _buf; in parse_events_print_error()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c4077 #define CHECK_MLME_TRIGGER(_mvm, _trig, _buf, _cnt, _fmt...) \ in iwl_mvm_event_mlme_callback() argument