Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/net/bridge/netfilter/
Debt_among.c18 static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh, in ebt_mac_wormhash_contains() argument
32 start = wh->table[key]; in ebt_mac_wormhash_contains()
33 limit = wh->table[key + 1]; in ebt_mac_wormhash_contains()
36 p = &wh->pool[i]; in ebt_mac_wormhash_contains()
43 p = &wh->pool[i]; in ebt_mac_wormhash_contains()
53 *wh) in ebt_mac_wormhash_check_integrity()
58 if (wh->table[i] > wh->table[i + 1]) in ebt_mac_wormhash_check_integrity()
60 if (wh->table[i] < 0) in ebt_mac_wormhash_check_integrity()
62 if (wh->table[i] > wh->poolsize) in ebt_mac_wormhash_check_integrity()
65 if (wh->table[256] > wh->poolsize) in ebt_mac_wormhash_check_integrity()
/linux-4.4.14/arch/tile/lib/
Dmemset_32.c107 uint32_t *wh = out32; in memset() local
114 __insn_wh64(wh); in memset()
115 wh += CACHE_LINE_SIZE_IN_WORDS; in memset()
Dmemset_64.c106 uint64_t *wh = out64; in memset() local
113 __insn_wh64(wh); in memset()
114 wh += CACHE_LINE_SIZE_IN_DOUBLEWORDS; in memset()
/linux-4.4.14/arch/alpha/math-emu/
Dsfp-util.h13 #define umul_ppmm(wh, wl, u, v) \ argument
15 : "=r" ((UDItype)(wh)), \
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_91x_pkt.c126 struct ieee80211_hdr *wh = NULL; in rsi_send_mgmt_pkt() local
161 wh = (struct ieee80211_hdr *)&skb->data[0]; in rsi_send_mgmt_pkt()
180 msg[6] = cpu_to_le16(le16_to_cpu(wh->seq_ctrl) >> 4); in rsi_send_mgmt_pkt()
182 if (wh->addr1[0] & BIT(0)) in rsi_send_mgmt_pkt()
/linux-4.4.14/arch/s390/include/asm/
Dsfp-util.h35 #define umul_ppmm(wh, wl, u, v) ({ \ argument
50 wh = __wh; \
/linux-4.4.14/arch/sparc/math-emu/
Dsfp-util_64.h42 #define umul_ppmm(wh, wl, u, v) \ argument
67 : "=r" (wh), \
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/
Dlib-lnet.h67 static inline int lnet_is_wire_handle_none(lnet_handle_wire_t *wh) in lnet_is_wire_handle_none() argument
69 return (wh->wh_interface_cookie == LNET_WIRE_HANDLE_COOKIE_NONE && in lnet_is_wire_handle_none()
70 wh->wh_object_cookie == LNET_WIRE_HANDLE_COOKIE_NONE); in lnet_is_wire_handle_none()
310 lnet_wire_handle2md(lnet_handle_wire_t *wh) in lnet_wire_handle2md() argument
316 if (wh->wh_interface_cookie != the_lnet.ln_interface_cookie) in lnet_wire_handle2md()
319 cpt = lnet_cpt_of_cookie(wh->wh_object_cookie); in lnet_wire_handle2md()
321 wh->wh_object_cookie); in lnet_wire_handle2md()
/linux-4.4.14/drivers/net/wireless/
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 …]
/linux-4.4.14/include/net/
Dipv6.h405 __be32 wh, __be32 wl) in __ipv6_addr_set_half() argument
409 if (__builtin_constant_p(wh) && __builtin_constant_p(wl)) { in __ipv6_addr_set_half()
410 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); in __ipv6_addr_set_half()
414 if (__builtin_constant_p(wl) && __builtin_constant_p(wh)) { in __ipv6_addr_set_half()
415 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); in __ipv6_addr_set_half()
420 addr[0] = wh; in __ipv6_addr_set_half()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-isp-video.c51 unsigned int wh, i; in isp_video_capture_queue_setup() local
56 wh = pixm->width * pixm->height; in isp_video_capture_queue_setup()
59 wh = vid_fmt->width * vid_fmt->height; in isp_video_capture_queue_setup()
70 unsigned int size = (wh * fmt->depth[i]) / 8; in isp_video_capture_queue_setup()
Dfimc-lite.c367 unsigned long wh; in queue_setup() local
373 wh = pixm->width * pixm->height; in queue_setup()
375 wh = frame->f_width * frame->f_height; in queue_setup()
384 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()
Dfimc-capture.c350 unsigned long wh; in queue_setup() local
357 wh = pixm->width * pixm->height; in queue_setup()
359 wh = frame->f_width * frame->f_height; in queue_setup()
368 unsigned int size = (wh * fmt->depth[i]) / 8; in queue_setup()
/linux-4.4.14/lib/mpi/
Dlonglong.h320 #define umul_ppmm(wh, wl, u, v) \
329 (wh) = __xx.__i.__h; \
613 #define umul_ppmm(wh, wl, u, v) \ argument
619 (wh) = __x.__i.__h; \
/linux-4.4.14/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()
/linux-4.4.14/fs/ext4/
Dnamei.c3435 struct inode *wh; in ext4_whiteout_for_rename() local
3446 wh = ext4_new_inode_start_handle(ent->dir, S_IFCHR | WHITEOUT_MODE, in ext4_whiteout_for_rename()
3451 if (IS_ERR(wh)) { in ext4_whiteout_for_rename()
3454 if (PTR_ERR(wh) == -ENOSPC && in ext4_whiteout_for_rename()
3459 init_special_inode(wh, wh->i_mode, WHITEOUT_DEV); in ext4_whiteout_for_rename()
3460 wh->i_op = &ext4_special_inode_operations; in ext4_whiteout_for_rename()
3462 return wh; in ext4_whiteout_for_rename()