Home
last modified time | relevance | path

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

/drivers/staging/csr/
Dcsr_wifi_hip_conversions.h37 #define GET_SIGNAL_ID(_buf) CSR_GET_UINT16_FROM_LITTLE_ENDIAN((_buf)) argument
43 #define GET_PACKED_DATAREF_SLOT(_buf, _ref) \ argument
44 … CSR_GET_UINT16_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF) + 0))
46 #define GET_PACKED_DATAREF_LEN(_buf, _ref) \ argument
47 … CSR_GET_UINT16_FROM_LITTLE_ENDIAN(((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF) + 2))
49 #define SET_PACKED_DATAREF_SLOT(_buf, _ref, _slot) \ argument
50 …CSR_COPY_UINT16_TO_LITTLE_ENDIAN((_slot), ((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATARE…
52 #define SET_PACKED_DATAREF_LEN(_buf, _ref, _len) \ argument
53 …CSR_COPY_UINT16_TO_LITTLE_ENDIAN((_len), ((_buf) + SIZEOF_SIGNAL_HEADER + ((_ref) * SIZEOF_DATAREF…
55 #define GET_PACKED_MA_PACKET_REQUEST_FRAME_PRIORITY(_buf) \ argument
[all …]
/drivers/net/ethernet/sfc/
Dmcdi.h88 #define MCDI_PTR2(_buf, _ofst) \ argument
89 (((u8 *)_buf) + _ofst)
90 #define MCDI_SET_DWORD2(_buf, _ofst, _value) \ argument
91 EFX_POPULATE_DWORD_1(*((efx_dword_t *)MCDI_PTR2(_buf, _ofst)), \
93 #define MCDI_DWORD2(_buf, _ofst) \ argument
94 EFX_DWORD_FIELD(*((efx_dword_t *)MCDI_PTR2(_buf, _ofst)), \
96 #define MCDI_QWORD2(_buf, _ofst) \ argument
97 EFX_QWORD_FIELD64(*((efx_qword_t *)MCDI_PTR2(_buf, _ofst)), \
100 #define MCDI_PTR(_buf, _ofst) \ argument
101 MCDI_PTR2(_buf, MC_CMD_ ## _ofst ## _OFST)
[all …]
/drivers/net/wireless/ath/ath9k/
Dwmi.h184 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
187 (u8 *) _buf, sizeof(*_buf), \
/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.c203 char _buf[80]; \
204 dbg_status_buf(_buf, sizeof _buf, label, status); \
205 oxu_dbg(oxu, "%s\n", _buf); \
209 char _buf[80]; \
210 dbg_command_buf(_buf, sizeof _buf, label, command); \
211 oxu_dbg(oxu, "%s\n", _buf); \
215 char _buf[80]; \
216 dbg_port_buf(_buf, sizeof _buf, label, port, status); \
217 oxu_dbg(oxu, "%s\n", _buf); \
/drivers/usb/wusbcore/
Drh.c141 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) in wusbhc_rh_status_data() argument
145 unsigned long *buf = (unsigned long *) _buf; in wusbhc_rh_status_data()
332 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
334 __le16 *buf = (__le16 *)_buf; in wusbhc_rh_get_port_status()
/drivers/net/wireless/iwlwifi/mvm/
Dfw.c90 #define CALIB_SIZE_N_DATA(_buf) {.size = sizeof(_buf), .data = &_buf} argument
/drivers/gpu/drm/radeon/
Dradeon_drv.h2139 struct drm_buffer *_buf = (buf); \
2147 if (drm_buffer_index(_buf) + _part_size > PAGE_SIZE) \
2148 _part_size = PAGE_SIZE - drm_buffer_index(_buf);\
2152 memcpy(ring + write, &_buf->data[drm_buffer_page(_buf)] \
2153 [drm_buffer_index(_buf)], _part_size); \
2157 drm_buffer_advance(_buf, _part_size); \
Dradeon_state.c1824 #define RADEON_COPY_MT(_buf, _data, _width) \ in radeon_cp_dispatch_texture() argument
1826 if (DRM_COPY_FROM_USER(_buf, _data, (_width))) {\ in radeon_cp_dispatch_texture()
/drivers/mmc/host/
Dmxcmmc.c584 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
587 u32 *buf = _buf; in mxcmci_pull()
613 static int mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_push() argument
616 u32 *buf = _buf; in mxcmci_push()
/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()