Home
last modified time | relevance | path

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

/drivers/scsi/
Dgvp11.c23 struct WD33C93_hostdata wh; member
54 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local
62 if (addr & wh->dma_xfer_mask) { in dma_setup()
63 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; in dma_setup()
66 wh->dma_bounce_buffer = in dma_setup()
67 kmalloc(wh->dma_bounce_len, GFP_KERNEL); in dma_setup()
68 wh->dma_buffer_pool = BUF_SCSI_ALLOCED; in dma_setup()
72 !wh->dma_bounce_buffer) { in dma_setup()
73 wh->dma_bounce_buffer = in dma_setup()
74 amiga_chip_alloc(wh->dma_bounce_len, in dma_setup()
[all …]
Da2091.c21 struct WD33C93_hostdata wh; member
45 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local
52 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; in dma_setup()
53 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, in dma_setup()
57 if (!wh->dma_bounce_buffer) { in dma_setup()
58 wh->dma_bounce_len = 0; in dma_setup()
63 addr = virt_to_bus(wh->dma_bounce_buffer); in dma_setup()
68 kfree(wh->dma_bounce_buffer); in dma_setup()
69 wh->dma_bounce_buffer = NULL; in dma_setup()
70 wh->dma_bounce_len = 0; in dma_setup()
[all …]
Da3000.c22 struct WD33C93_hostdata wh; member
49 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local
61 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; in dma_setup()
62 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, in dma_setup()
66 if (!wh->dma_bounce_buffer) { in dma_setup()
67 wh->dma_bounce_len = 0; in dma_setup()
73 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, in dma_setup()
77 addr = virt_to_bus(wh->dma_bounce_buffer); in dma_setup()
85 wh->dma_dir = dir_in; in dma_setup()
113 struct WD33C93_hostdata *wh = &hdata->wh; in dma_stop() local
[all …]
Dsgiwd93.c35 struct WD33C93_hostdata wh; member
111 hdata->wh.dma_dir = datainp; in dma_setup()
153 if (hdata->wh.dma_dir) { in dma_stop()
161 DMA_DIR(hdata->wh.dma_dir)); in dma_stop()
266 hdata->wh.no_sync = 0; in sgiwd93_probe()
267 hdata->wh.fast = 1; in sgiwd93_probe()
268 hdata->wh.dma_mode = CTRL_BURST; in sgiwd93_probe()
/drivers/net/wireless/rsi/
Drsi_91x_pkt.c128 struct ieee80211_hdr *wh; in rsi_send_mgmt_pkt() local
163 wh = (struct ieee80211_hdr *)&skb->data[0]; in rsi_send_mgmt_pkt()
182 msg[6] = cpu_to_le16(le16_to_cpu(wh->seq_ctrl) >> 4); in rsi_send_mgmt_pkt()
184 if (wh->addr1[0] & BIT(0)) in rsi_send_mgmt_pkt()
/drivers/net/wireless/marvell/
Dmwl8k.c800 struct ieee80211_hdr wh; member
811 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header()
813 if (hdrlen != sizeof(tr->wh)) { in mwl8k_remove_dma_header()
814 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header()
815 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); in mwl8k_remove_dma_header()
818 memmove(tr->data - hdrlen, &tr->wh, hdrlen); in mwl8k_remove_dma_header()
832 struct ieee80211_hdr *wh; in mwl8k_add_dma_header() local
843 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_add_dma_header()
845 hdrlen = ieee80211_hdrlen(wh->frame_control); in mwl8k_add_dma_header()
867 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_add_dma_header()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h81 static inline int lnet_is_wire_handle_none(lnet_handle_wire_t *wh) in lnet_is_wire_handle_none() argument
83 return (wh->wh_interface_cookie == LNET_WIRE_HANDLE_COOKIE_NONE && in lnet_is_wire_handle_none()
84 wh->wh_object_cookie == LNET_WIRE_HANDLE_COOKIE_NONE); in lnet_is_wire_handle_none()
326 lnet_wire_handle2md(lnet_handle_wire_t *wh) in lnet_wire_handle2md() argument
332 if (wh->wh_interface_cookie != the_lnet.ln_interface_cookie) in lnet_wire_handle2md()
335 cpt = lnet_cpt_of_cookie(wh->wh_object_cookie); in lnet_wire_handle2md()
337 wh->wh_object_cookie); in lnet_wire_handle2md()
/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c48 unsigned int wh, i; in isp_video_capture_queue_setup() local
50 wh = vid_fmt->width * vid_fmt->height; in isp_video_capture_queue_setup()
61 if (sizes[i] < (wh * fmt->depth[i]) / 8) in isp_video_capture_queue_setup()
69 sizes[i] = (wh * fmt->depth[i]) / 8; in isp_video_capture_queue_setup()
Dfimc-lite.c365 unsigned long wh = frame->f_width * frame->f_height; in queue_setup() local
375 if (sizes[i] < (wh * fmt->depth[i]) / 8) in queue_setup()
383 sizes[i] = (wh * fmt->depth[i]) / 8; in queue_setup()
Dfimc-capture.c348 unsigned long wh = frame->f_width * frame->f_height; in queue_setup() local
358 if (sizes[i] < (wh * fmt->depth[i]) / 8) in queue_setup()
366 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()
/drivers/net/wireless/ath/ath6kl/
Dwmi.c390 struct ieee80211_hdr_3addr *pwh, wh; in ath6kl_wmi_dot11_hdr_remove() local
405 memcpy((u8 *) &wh, datap, sizeof(struct ieee80211_hdr_3addr)); in ath6kl_wmi_dot11_hdr_remove()
422 switch ((le16_to_cpu(wh.frame_control)) & in ath6kl_wmi_dot11_hdr_remove()
425 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
426 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
429 memcpy(eth_hdr.h_dest, wh.addr3, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
430 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
433 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
434 memcpy(eth_hdr.h_source, wh.addr3, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()