Home
last modified time | relevance | path

Searched refs:wh (Results 1 – 8 of 8) 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/
Dmwl8k.c789 struct ieee80211_hdr wh; member
800 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header()
802 if (hdrlen != sizeof(tr->wh)) { in mwl8k_remove_dma_header()
803 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header()
804 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); in mwl8k_remove_dma_header()
807 memmove(tr->data - hdrlen, &tr->wh, hdrlen); in mwl8k_remove_dma_header()
821 struct ieee80211_hdr *wh; in mwl8k_add_dma_header() local
832 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_add_dma_header()
834 hdrlen = ieee80211_hdrlen(wh->frame_control); in mwl8k_add_dma_header()
856 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_add_dma_header()
[all …]
/drivers/net/wireless/ath/ath6kl/
Dwmi.c340 struct ieee80211_hdr_3addr *pwh, wh; in ath6kl_wmi_dot11_hdr_remove() local
355 memcpy((u8 *) &wh, datap, sizeof(struct ieee80211_hdr_3addr)); in ath6kl_wmi_dot11_hdr_remove()
371 switch ((le16_to_cpu(wh.frame_control)) & in ath6kl_wmi_dot11_hdr_remove()
374 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
375 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
378 memcpy(eth_hdr.h_dest, wh.addr3, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
379 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
382 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
383 memcpy(eth_hdr.h_source, wh.addr3, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
/drivers/media/platform/exynos4-is/
Dfimc-lite.c377 unsigned long wh; in queue_setup() local
383 wh = pixm->width * pixm->height; in queue_setup()
385 wh = frame->f_width * frame->f_height; in queue_setup()
394 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()
Dfimc-capture.c355 unsigned long wh; in queue_setup() local
362 wh = pixm->width * pixm->height; in queue_setup()
364 wh = frame->f_width * frame->f_height; in queue_setup()
373 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()