Home
last modified time | relevance | path

Searched refs:wh (Results 1 – 12 of 12) 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()
251 hdata->wh.no_sync = 0; in sgiwd93_probe()
252 hdata->wh.fast = 1; in sgiwd93_probe()
253 hdata->wh.dma_mode = CTRL_BURST; in sgiwd93_probe()
/drivers/net/wireless/rsi/
Drsi_91x_core.c349 struct ieee80211_hdr *wh; in rsi_core_xmit() local
366 wh = (struct ieee80211_hdr *)&skb->data[0]; in rsi_core_xmit()
369 if ((ieee80211_is_mgmt(wh->frame_control)) || in rsi_core_xmit()
370 (ieee80211_is_ctl(wh->frame_control)) || in rsi_core_xmit()
371 (ieee80211_is_qos_nullfunc(wh->frame_control))) { in rsi_core_xmit()
375 if (ieee80211_is_data_qos(wh->frame_control)) { in rsi_core_xmit()
387 (!is_broadcast_ether_addr(wh->addr1)) && in rsi_core_xmit()
388 (!is_multicast_ether_addr(wh->addr1))) { in rsi_core_xmit()
389 rsta = rsi_find_sta(common, wh->addr1); in rsi_core_xmit()
Drsi_91x_hal.c42 struct ieee80211_hdr *wh = NULL; in rsi_prepare_mgmt_desc() local
82 wh = (struct ieee80211_hdr *)&skb->data[header_size]; in rsi_prepare_mgmt_desc()
93 if (is_broadcast_ether_addr(wh->addr1)) in rsi_prepare_mgmt_desc()
97 cpu_to_le16(IEEE80211_SEQ_TO_SN(le16_to_cpu(wh->seq_ctrl))); in rsi_prepare_mgmt_desc()
106 if (ieee80211_is_probe_req(wh->frame_control)) { in rsi_prepare_mgmt_desc()
117 if (ieee80211_is_probe_resp(wh->frame_control)) { in rsi_prepare_mgmt_desc()
125 (ieee80211_is_action(wh->frame_control))) { in rsi_prepare_mgmt_desc()
126 struct rsi_sta *rsta = rsi_find_sta(common, wh->addr1); in rsi_prepare_mgmt_desc()
141 struct ieee80211_hdr *wh = NULL; in rsi_prepare_data_desc() local
176 wh = (struct ieee80211_hdr *)&skb->data[header_size]; in rsi_prepare_data_desc()
[all …]
/drivers/net/wireless/marvell/
Dmwl8k.c803 struct ieee80211_hdr wh; member
814 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header()
816 if (hdrlen != sizeof(tr->wh)) { in mwl8k_remove_dma_header()
817 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header()
818 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); in mwl8k_remove_dma_header()
821 memmove(tr->data - hdrlen, &tr->wh, hdrlen); in mwl8k_remove_dma_header()
835 struct ieee80211_hdr *wh; in mwl8k_add_dma_header() local
846 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_add_dma_header()
848 hdrlen = ieee80211_hdrlen(wh->frame_control); in mwl8k_add_dma_header()
870 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_add_dma_header()
[all …]
/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h83 static inline int lnet_is_wire_handle_none(struct lnet_handle_wire *wh) in lnet_is_wire_handle_none() argument
85 return (wh->wh_interface_cookie == LNET_WIRE_HANDLE_COOKIE_NONE && in lnet_is_wire_handle_none()
86 wh->wh_object_cookie == LNET_WIRE_HANDLE_COOKIE_NONE); in lnet_is_wire_handle_none()
328 lnet_wire_handle2md(struct lnet_handle_wire *wh) in lnet_wire_handle2md() argument
334 if (wh->wh_interface_cookie != the_lnet.ln_interface_cookie) in lnet_wire_handle2md()
337 cpt = lnet_cpt_of_cookie(wh->wh_object_cookie); in lnet_wire_handle2md()
339 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.addr3, 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.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
430 memcpy(eth_hdr.h_source, wh.addr3, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
435 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()
436 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); in ath6kl_wmi_dot11_hdr_remove()