Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/sfc/
Dmcdi.h72 #define MCDI_PTR2(_buf, _ofst) \ argument
73 (((u8 *)_buf) + _ofst)
74 #define MCDI_SET_DWORD2(_buf, _ofst, _value) \ argument
75 EFX_POPULATE_DWORD_1(*((efx_dword_t *)MCDI_PTR2(_buf, _ofst)), \
77 #define MCDI_DWORD2(_buf, _ofst) \ argument
78 EFX_DWORD_FIELD(*((efx_dword_t *)MCDI_PTR2(_buf, _ofst)), \
80 #define MCDI_QWORD2(_buf, _ofst) \ argument
81 EFX_QWORD_FIELD64(*((efx_qword_t *)MCDI_PTR2(_buf, _ofst)), \
84 #define MCDI_PTR(_buf, _ofst) \ argument
85 MCDI_PTR2(_buf, MC_CMD_ ## _ofst ## _OFST)
[all …]
/linux-2.6.39/sound/drivers/opl4/
Dopl4_proc.c54 struct file *file, char __user *_buf, in snd_opl4_mem_proc_read() argument
64 if (copy_to_user(_buf, buf, count)) { in snd_opl4_mem_proc_read()
75 const char __user *_buf, in snd_opl4_mem_proc_write() argument
84 if (copy_from_user(buf, _buf, count)) { in snd_opl4_mem_proc_write()
/linux-2.6.39/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-2.6.39/drivers/net/wireless/ath/ath9k/
Dwmi.h130 #define WMI_CMD_BUF(_wmi_cmd, _buf) \ argument
133 (u8 *) _buf, sizeof(*_buf), \
/linux-2.6.39/drivers/usb/wusbcore/
Drh.c140 int wusbhc_rh_status_data(struct usb_hcd *usb_hcd, char *_buf) in wusbhc_rh_status_data() argument
144 unsigned long *buf = (unsigned long *) _buf; in wusbhc_rh_status_data()
331 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
333 __le16 *buf = (__le16 *)_buf; in wusbhc_rh_get_port_status()
/linux-2.6.39/drivers/usb/host/
Dehci-dbg.c323 char _buf [80]; \
324 dbg_status_buf (_buf, sizeof _buf, label, status); \
325 ehci_dbg (ehci, "%s\n", _buf); \
329 char _buf [80]; \
330 dbg_command_buf (_buf, sizeof _buf, label, command); \
331 ehci_dbg (ehci, "%s\n", _buf); \
335 char _buf [80]; \
336 dbg_port_buf (_buf, sizeof _buf, label, port, status); \
337 ehci_dbg (ehci, "%s\n", _buf); \
Doxu210hp-hcd.c204 char _buf[80]; \
205 dbg_status_buf(_buf, sizeof _buf, label, status); \
206 oxu_dbg(oxu, "%s\n", _buf); \
210 char _buf[80]; \
211 dbg_command_buf(_buf, sizeof _buf, label, command); \
212 oxu_dbg(oxu, "%s\n", _buf); \
216 char _buf[80]; \
217 dbg_port_buf(_buf, sizeof _buf, label, port, status); \
218 oxu_dbg(oxu, "%s\n", _buf); \
/linux-2.6.39/net/mac80211/
Ddebugfs_sta.c151 char _buf[12], *buf = _buf; in sta_agg_status_write() local
157 if (count > sizeof(_buf)) in sta_agg_status_write()
163 buf[sizeof(_buf) - 1] = '\0'; in sta_agg_status_write()
/linux-2.6.39/drivers/gpu/drm/radeon/
Dradeon_drv.h2148 struct drm_buffer *_buf = (buf); \
2156 if (drm_buffer_index(_buf) + _part_size > PAGE_SIZE) \
2157 _part_size = PAGE_SIZE - drm_buffer_index(_buf);\
2161 memcpy(ring + write, &_buf->data[drm_buffer_page(_buf)] \
2162 [drm_buffer_index(_buf)], _part_size); \
2166 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()
/linux-2.6.39/drivers/mmc/host/
Dmxcmmc.c435 static int mxcmci_pull(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_pull() argument
438 u32 *buf = _buf; in mxcmci_pull()
464 static int mxcmci_push(struct mxcmci_host *host, void *_buf, int bytes) in mxcmci_push() argument
467 u32 *buf = _buf; in mxcmci_push()