Searched refs:wh (Results 1 - 26 of 26) sorted by relevance

/linux-4.4.14/drivers/scsi/
H A Dgvp11.c23 struct WD33C93_hostdata wh; member in struct:gvp11_hostdata
54 struct WD33C93_hostdata *wh = &hdata->wh; dma_setup() local
62 if (addr & wh->dma_xfer_mask) { dma_setup()
63 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; dma_setup()
66 wh->dma_bounce_buffer = dma_setup()
67 kmalloc(wh->dma_bounce_len, GFP_KERNEL); dma_setup()
68 wh->dma_buffer_pool = BUF_SCSI_ALLOCED; dma_setup()
72 !wh->dma_bounce_buffer) { dma_setup()
73 wh->dma_bounce_buffer = dma_setup()
74 amiga_chip_alloc(wh->dma_bounce_len, dma_setup()
77 if (!wh->dma_bounce_buffer) { dma_setup()
78 wh->dma_bounce_len = 0; dma_setup()
82 wh->dma_buffer_pool = BUF_CHIP_ALLOCED; dma_setup()
86 addr = virt_to_bus(wh->dma_bounce_buffer); dma_setup()
88 if (addr & wh->dma_xfer_mask) { dma_setup()
90 if (wh->dma_buffer_pool == BUF_SCSI_ALLOCED) { dma_setup()
91 kfree(wh->dma_bounce_buffer); dma_setup()
94 amiga_chip_free(wh->dma_bounce_buffer); dma_setup()
97 wh->dma_bounce_buffer = dma_setup()
98 amiga_chip_alloc(wh->dma_bounce_len, dma_setup()
101 if (!wh->dma_bounce_buffer) { dma_setup()
102 wh->dma_bounce_len = 0; dma_setup()
106 addr = virt_to_bus(wh->dma_bounce_buffer); dma_setup()
107 wh->dma_buffer_pool = BUF_CHIP_ALLOCED; dma_setup()
112 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, dma_setup()
121 wh->dma_dir = dir_in; dma_setup()
135 bank_mask = (~wh->dma_xfer_mask >> 18) & 0x01c0; dma_setup()
150 struct WD33C93_hostdata *wh = &hdata->wh; dma_stop() local
159 if (status && wh->dma_bounce_buffer) { dma_stop()
160 if (wh->dma_dir && SCpnt) dma_stop()
161 memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer, dma_stop()
164 if (wh->dma_buffer_pool == BUF_SCSI_ALLOCED) dma_stop()
165 kfree(wh->dma_bounce_buffer); dma_stop()
167 amiga_chip_free(wh->dma_bounce_buffer); dma_stop()
169 wh->dma_bounce_buffer = NULL; dma_stop()
170 wh->dma_bounce_len = 0; dma_stop()
342 hdata->wh.dma_xfer_mask = gvp11_xfer_mask; gvp11_probe()
344 hdata->wh.dma_xfer_mask = default_dma_xfer_mask; gvp11_probe()
346 hdata->wh.no_sync = 0xff; gvp11_probe()
347 hdata->wh.fast = 0; gvp11_probe()
348 hdata->wh.dma_mode = CTRL_DMA; gvp11_probe()
H A Da2091.c21 struct WD33C93_hostdata wh; member in struct:a2091_hostdata
45 struct WD33C93_hostdata *wh = &hdata->wh; dma_setup() local
52 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; dma_setup()
53 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, dma_setup()
57 if (!wh->dma_bounce_buffer) { dma_setup()
58 wh->dma_bounce_len = 0; dma_setup()
63 addr = virt_to_bus(wh->dma_bounce_buffer); dma_setup()
68 kfree(wh->dma_bounce_buffer); dma_setup()
69 wh->dma_bounce_buffer = NULL; dma_setup()
70 wh->dma_bounce_len = 0; dma_setup()
76 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, dma_setup()
86 wh->dma_dir = dir_in; dma_setup()
111 struct WD33C93_hostdata *wh = &hdata->wh; dma_stop() local
117 if (!wh->dma_dir) dma_stop()
124 if (wh->dma_dir) { dma_stop()
140 if (status && wh->dma_bounce_buffer) { dma_stop()
141 if (wh->dma_dir) dma_stop()
142 memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer, dma_stop()
144 kfree(wh->dma_bounce_buffer); dma_stop()
145 wh->dma_bounce_buffer = NULL; dma_stop()
146 wh->dma_bounce_len = 0; dma_stop()
211 hdata->wh.no_sync = 0xff; a2091_probe()
212 hdata->wh.fast = 0; a2091_probe()
213 hdata->wh.dma_mode = CTRL_DMA; a2091_probe()
H A Da3000.c22 struct WD33C93_hostdata wh; member in struct:a3000_hostdata
49 struct WD33C93_hostdata *wh = &hdata->wh; dma_setup() local
61 wh->dma_bounce_len = (cmd->SCp.this_residual + 511) & ~0x1ff; dma_setup()
62 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, dma_setup()
66 if (!wh->dma_bounce_buffer) { dma_setup()
67 wh->dma_bounce_len = 0; dma_setup()
73 memcpy(wh->dma_bounce_buffer, cmd->SCp.ptr, dma_setup()
77 addr = virt_to_bus(wh->dma_bounce_buffer); dma_setup()
85 wh->dma_dir = dir_in; dma_setup()
113 struct WD33C93_hostdata *wh = &hdata->wh; dma_stop() local
119 if (!wh->dma_dir) dma_stop()
126 if (wh->dma_dir) { dma_stop()
149 if (status && wh->dma_bounce_buffer) { dma_stop()
151 if (wh->dma_dir && SCpnt) dma_stop()
152 memcpy(SCpnt->SCp.ptr, wh->dma_bounce_buffer, dma_stop()
154 kfree(wh->dma_bounce_buffer); dma_stop()
155 wh->dma_bounce_buffer = NULL; dma_stop()
156 wh->dma_bounce_len = 0; dma_stop()
158 kfree(wh->dma_bounce_buffer); dma_stop()
159 wh->dma_bounce_buffer = NULL; dma_stop()
160 wh->dma_bounce_len = 0; dma_stop()
230 hdata->wh.no_sync = 0xff; amiga_a3000_scsi_probe()
231 hdata->wh.fast = 0; amiga_a3000_scsi_probe()
232 hdata->wh.dma_mode = CTRL_DMA; amiga_a3000_scsi_probe()
H A Dsgiwd93.c35 struct WD33C93_hostdata wh; member in struct:ip22_hostdata
111 hdata->wh.dma_dir = datainp; dma_setup()
153 if (hdata->wh.dma_dir) { dma_stop()
161 DMA_DIR(hdata->wh.dma_dir)); dma_stop()
266 hdata->wh.no_sync = 0; sgiwd93_probe()
267 hdata->wh.fast = 1; sgiwd93_probe()
268 hdata->wh.dma_mode = CTRL_BURST; sgiwd93_probe()
H A Dinitio.c54 * 09/20/98 wh - v1.02a
/linux-4.4.14/net/bridge/netfilter/
H A Debt_among.c18 static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh, ebt_mac_wormhash_contains() argument
32 start = wh->table[key]; ebt_mac_wormhash_contains()
33 limit = wh->table[key + 1]; ebt_mac_wormhash_contains()
36 p = &wh->pool[i]; ebt_mac_wormhash_contains()
43 p = &wh->pool[i]; ebt_mac_wormhash_contains()
53 *wh) ebt_mac_wormhash_check_integrity()
58 if (wh->table[i] > wh->table[i + 1]) ebt_mac_wormhash_check_integrity()
60 if (wh->table[i] < 0) ebt_mac_wormhash_check_integrity()
62 if (wh->table[i] > wh->poolsize) ebt_mac_wormhash_check_integrity()
65 if (wh->table[256] > wh->poolsize) ebt_mac_wormhash_check_integrity()
52 ebt_mac_wormhash_check_integrity(const struct ebt_mac_wormhash *wh) ebt_mac_wormhash_check_integrity() argument
/linux-4.4.14/arch/alpha/math-emu/
H A Dsfp-util.h13 #define umul_ppmm(wh, wl, u, v) \
15 : "=r" ((UDItype)(wh)), \
/linux-4.4.14/arch/s390/include/asm/
H A Dsfp-util.h35 #define umul_ppmm(wh, wl, u, v) ({ \
50 wh = __wh; \
/linux-4.4.14/arch/sparc/math-emu/
H A Dsfp-util_64.h42 #define umul_ppmm(wh, wl, u, v) \
67 : "=r" (wh), \
/linux-4.4.14/arch/tile/lib/
H A Dmemset_32.c107 uint32_t *wh = out32; memset() local
114 __insn_wh64(wh); memset()
115 wh += CACHE_LINE_SIZE_IN_WORDS; memset()
H A Dmemset_64.c106 uint64_t *wh = out64; memset() local
113 __insn_wh64(wh); memset()
114 wh += CACHE_LINE_SIZE_IN_DOUBLEWORDS; memset()
/linux-4.4.14/drivers/net/wireless/rsi/
H A Drsi_91x_pkt.c126 struct ieee80211_hdr *wh = NULL; rsi_send_mgmt_pkt() local
161 wh = (struct ieee80211_hdr *)&skb->data[0]; rsi_send_mgmt_pkt()
180 msg[6] = cpu_to_le16(le16_to_cpu(wh->seq_ctrl) >> 4); rsi_send_mgmt_pkt()
182 if (wh->addr1[0] & BIT(0)) rsi_send_mgmt_pkt()
/linux-4.4.14/drivers/net/wireless/
H A Dmwl8k.c800 struct ieee80211_hdr wh; member in struct:mwl8k_dma_data
811 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); mwl8k_remove_dma_header()
813 if (hdrlen != sizeof(tr->wh)) { mwl8k_remove_dma_header()
814 if (ieee80211_is_data_qos(tr->wh.frame_control)) { mwl8k_remove_dma_header()
815 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); mwl8k_remove_dma_header()
818 memmove(tr->data - hdrlen, &tr->wh, hdrlen); mwl8k_remove_dma_header()
832 struct ieee80211_hdr *wh; mwl8k_add_dma_header() local
843 wh = (struct ieee80211_hdr *)skb->data; mwl8k_add_dma_header()
845 hdrlen = ieee80211_hdrlen(wh->frame_control); mwl8k_add_dma_header()
867 if (ieee80211_is_data_qos(wh->frame_control)) mwl8k_add_dma_header()
871 if (wh != &tr->wh) mwl8k_add_dma_header()
872 memmove(&tr->wh, wh, hdrlen); mwl8k_add_dma_header()
873 if (hdrlen != sizeof(tr->wh)) mwl8k_add_dma_header()
874 memset(((void *)&tr->wh) + hdrlen, 0, sizeof(tr->wh) - hdrlen); mwl8k_add_dma_header()
887 struct ieee80211_hdr *wh; mwl8k_encapsulate_tx_frame() local
893 wh = (struct ieee80211_hdr *)skb->data; mwl8k_encapsulate_tx_frame()
898 if (ieee80211_is_data(wh->frame_control)) mwl8k_encapsulate_tx_frame()
1267 mwl8k_capture_bssid(struct mwl8k_priv *priv, struct ieee80211_hdr *wh) mwl8k_capture_bssid() argument
1270 ieee80211_is_beacon(wh->frame_control) && mwl8k_capture_bssid()
1271 ether_addr_equal_64bits(wh->addr3, priv->capture_bssid); mwl8k_capture_bssid()
1320 struct ieee80211_hdr *wh; rxq_process() local
1347 wh = &((struct mwl8k_dma_data *)skb->data)->wh; rxq_process()
1357 if (ieee80211_has_protected(wh->frame_control)) { rxq_process()
1364 wh->addr1); rxq_process()
1388 if (!ieee80211_is_auth(wh->frame_control)) rxq_process()
1675 struct ieee80211_hdr *wh; mwl8k_txq_reclaim() local
1704 wh = (struct ieee80211_hdr *) skb->data; mwl8k_txq_reclaim()
1711 if (ieee80211_is_data(wh->frame_control)) { mwl8k_txq_reclaim()
1713 sta = ieee80211_find_sta_by_ifaddr(hw, wh->addr1, mwl8k_txq_reclaim()
1714 wh->addr2); mwl8k_txq_reclaim()
1891 struct ieee80211_hdr *wh; mwl8k_txq_xmit() local
1906 wh = (struct ieee80211_hdr *)skb->data; mwl8k_txq_xmit()
1907 if (ieee80211_is_data_qos(wh->frame_control)) mwl8k_txq_xmit()
1908 qos = le16_to_cpu(*((__le16 *)ieee80211_get_qos_ctl(wh))); mwl8k_txq_xmit()
1915 if (ieee80211_is_mgmt(wh->frame_control)) mwl8k_txq_xmit()
1923 wh = &((struct mwl8k_dma_data *)skb->data)->wh; mwl8k_txq_xmit()
1929 wh->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG); mwl8k_txq_xmit()
1930 wh->seq_ctrl |= cpu_to_le16(mwl8k_vif->seqno); mwl8k_txq_xmit()
1937 if (ieee80211_is_mgmt(wh->frame_control) || mwl8k_txq_xmit()
1938 ieee80211_is_ctl(wh->frame_control)) { mwl8k_txq_xmit()
1941 } else if (ieee80211_is_data(wh->frame_control)) { mwl8k_txq_xmit()
1943 if (is_multicast_ether_addr(wh->addr1)) mwl8k_txq_xmit()
1962 if (unlikely(ieee80211_is_action(wh->frame_control) && mwl8k_txq_xmit()
1974 ieee80211_is_data_qos(wh->frame_control)) { mwl8k_txq_xmit()
2092 if (priv->ap_fw && ieee80211_is_data(wh->frame_control) && !eapol_frame) mwl8k_txq_xmit()
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
H A Dlib-lnet.h67 static inline int lnet_is_wire_handle_none(lnet_handle_wire_t *wh) lnet_is_wire_handle_none() argument
69 return (wh->wh_interface_cookie == LNET_WIRE_HANDLE_COOKIE_NONE && lnet_is_wire_handle_none()
70 wh->wh_object_cookie == LNET_WIRE_HANDLE_COOKIE_NONE); lnet_is_wire_handle_none()
310 lnet_wire_handle2md(lnet_handle_wire_t *wh) lnet_wire_handle2md() argument
316 if (wh->wh_interface_cookie != the_lnet.ln_interface_cookie) lnet_wire_handle2md()
319 cpt = lnet_cpt_of_cookie(wh->wh_object_cookie); lnet_wire_handle2md()
321 wh->wh_object_cookie); lnet_wire_handle2md()
/linux-4.4.14/drivers/media/platform/exynos4-is/
H A Dfimc-isp-video.c51 unsigned int wh, i; isp_video_capture_queue_setup() local
56 wh = pixm->width * pixm->height; isp_video_capture_queue_setup()
59 wh = vid_fmt->width * vid_fmt->height; isp_video_capture_queue_setup()
70 unsigned int size = (wh * fmt->depth[i]) / 8; isp_video_capture_queue_setup()
H A Dfimc-capture.c350 unsigned long wh; queue_setup() local
357 wh = pixm->width * pixm->height; queue_setup()
359 wh = frame->f_width * frame->f_height; queue_setup()
368 unsigned int size = (wh * fmt->depth[i]) / 8; queue_setup()
H A Dfimc-lite.c367 unsigned long wh; queue_setup() local
373 wh = pixm->width * pixm->height; queue_setup()
375 wh = frame->f_width * frame->f_height; queue_setup()
384 unsigned int size = (wh * fmt->depth[i]) / 8; queue_setup()
/linux-4.4.14/drivers/mtd/devices/
H A Dphram.c3 * Copyright (c) 2003-2004 Joern Engel <joern@wh.fh-wedel.de>
327 MODULE_AUTHOR("Joern Engel <joern@wh.fh-wedel.de>");
H A Dmtdram.c6 * Copyright (c) 2005 Joern Engel <joern@wh.fh-wedel.de>
H A Dblock2mtd.c5 * Copyright (C) 2004-2006 Joern Engel <joern@wh.fh-wedel.de>
/linux-4.4.14/include/net/
H A Dipv6.h405 __be32 wh, __be32 wl) __ipv6_addr_set_half()
409 if (__builtin_constant_p(wh) && __builtin_constant_p(wl)) { __ipv6_addr_set_half()
410 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); __ipv6_addr_set_half()
414 if (__builtin_constant_p(wl) && __builtin_constant_p(wh)) { __ipv6_addr_set_half()
415 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); __ipv6_addr_set_half()
420 addr[0] = wh; __ipv6_addr_set_half()
404 __ipv6_addr_set_half(__be32 *addr, __be32 wh, __be32 wl) __ipv6_addr_set_half() argument
/linux-4.4.14/lib/mpi/
H A Dlonglong.h320 #define umul_ppmm(wh, wl, u, v) \
329 (wh) = __xx.__i.__h; \
613 #define umul_ppmm(wh, wl, u, v) \
619 (wh) = __x.__i.__h; \
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c390 struct ieee80211_hdr_3addr *pwh, wh; ath6kl_wmi_dot11_hdr_remove() local
405 memcpy((u8 *) &wh, datap, sizeof(struct ieee80211_hdr_3addr)); ath6kl_wmi_dot11_hdr_remove()
422 switch ((le16_to_cpu(wh.frame_control)) & ath6kl_wmi_dot11_hdr_remove()
425 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); ath6kl_wmi_dot11_hdr_remove()
426 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); ath6kl_wmi_dot11_hdr_remove()
429 memcpy(eth_hdr.h_dest, wh.addr3, ETH_ALEN); ath6kl_wmi_dot11_hdr_remove()
430 memcpy(eth_hdr.h_source, wh.addr2, ETH_ALEN); ath6kl_wmi_dot11_hdr_remove()
433 memcpy(eth_hdr.h_dest, wh.addr1, ETH_ALEN); ath6kl_wmi_dot11_hdr_remove()
434 memcpy(eth_hdr.h_source, wh.addr3, ETH_ALEN); ath6kl_wmi_dot11_hdr_remove()
/linux-4.4.14/fs/ext4/
H A Dnamei.c3435 struct inode *wh; ext4_whiteout_for_rename() local
3446 wh = ext4_new_inode_start_handle(ent->dir, S_IFCHR | WHITEOUT_MODE, ext4_whiteout_for_rename()
3451 if (IS_ERR(wh)) { ext4_whiteout_for_rename()
3454 if (PTR_ERR(wh) == -ENOSPC && ext4_whiteout_for_rename()
3459 init_special_inode(wh, wh->i_mode, WHITEOUT_DEV); ext4_whiteout_for_rename()
3460 wh->i_op = &ext4_special_inode_operations; ext4_whiteout_for_rename()
3462 return wh; ext4_whiteout_for_rename()
/linux-4.4.14/drivers/mtd/chips/
H A Dcfi_cmdset_0020.c13 * 06/21/2002 Joern Engel <joern@wh.fh-wedel.de> and others
17 * 07/13/2005 Joern Engel <joern@wh.fh-wedel.de>
/linux-4.4.14/drivers/net/ethernet/marvell/
H A Dskge.h902 XMR_FS_2L_VLAN = 1<<17, /* Bit 17: tagged wh 2Lev VLAN ID*/
903 XMR_FS_1_VLAN = 1<<16, /* Bit 16: tagged wh 1ev VLAN ID*/

Completed in 2266 milliseconds