/openbmc/linux/drivers/scsi/ |
H A D | gvp11.c | 27 struct WD33C93_hostdata wh; member 59 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local 76 if (addr & wh->dma_xfer_mask) { in dma_setup() 83 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup() 86 wh->dma_bounce_buffer = in dma_setup() 87 kmalloc(wh->dma_bounce_len, GFP_KERNEL); in dma_setup() 88 wh->dma_buffer_pool = BUF_SCSI_ALLOCED; in dma_setup() 92 !wh->dma_bounce_buffer) { in dma_setup() 93 wh->dma_bounce_buffer = in dma_setup() 94 amiga_chip_alloc(wh->dma_bounce_len, in dma_setup() [all …]
|
H A D | a2091.c | 25 struct WD33C93_hostdata wh; member 54 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local 76 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup() 77 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, in dma_setup() 81 if (!wh->dma_bounce_buffer) { in dma_setup() 82 wh->dma_bounce_len = 0; in dma_setup() 88 memcpy(wh->dma_bounce_buffer, scsi_pointer->ptr, in dma_setup() 93 addr = dma_map_single(hdata->dev, wh->dma_bounce_buffer, in dma_setup() 94 wh->dma_bounce_len, DMA_DIR(dir_in)); in dma_setup() 98 wh->dma_bounce_buffer); in dma_setup() [all …]
|
H A D | a3000.c | 27 struct WD33C93_hostdata wh; member 59 struct WD33C93_hostdata *wh = &hdata->wh; in dma_setup() local 88 wh->dma_bounce_len = (scsi_pointer->this_residual + 511) & ~0x1ff; in dma_setup() 89 wh->dma_bounce_buffer = kmalloc(wh->dma_bounce_len, in dma_setup() 93 if (!wh->dma_bounce_buffer) { in dma_setup() 94 wh->dma_bounce_len = 0; in dma_setup() 101 memcpy(wh->dma_bounce_buffer, scsi_pointer->ptr, in dma_setup() 121 wh->dma_dir = dir_in; in dma_setup() 144 struct WD33C93_hostdata *wh = &hdata->wh; in dma_stop() local 150 if (!wh->dma_dir) in dma_stop() [all …]
|
H A D | sgiwd93.c | 39 struct WD33C93_hostdata wh; member 117 hdata->wh.dma_dir = datainp; in dma_setup() 160 if (hdata->wh.dma_dir) { in dma_stop() 168 DMA_DIR(hdata->wh.dma_dir)); in dma_stop() 259 hdata->wh.no_sync = 0; in sgiwd93_probe() 260 hdata->wh.fast = 1; in sgiwd93_probe() 261 hdata->wh.dma_mode = CTRL_BURST; in sgiwd93_probe()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 256 int wh = ptrace(PPC_PTRACE_SETHWDEBUG, child_pid, 0, info); in ptrace_sethwdebug() local 258 if (wh <= 0) { in ptrace_sethwdebug() 262 return wh; in ptrace_sethwdebug() 265 static void ptrace_delhwdebug(pid_t child_pid, int wh) in ptrace_delhwdebug() argument 267 if (ptrace(PPC_PTRACE_DELHWDEBUG, child_pid, 0, wh) < 0) { in ptrace_delhwdebug() 357 int wh; in test_sethwdebug_exact() local 361 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_exact() 364 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 368 wh = ptrace_sethwdebug(child_pid, &info); in test_sethwdebug_exact() 371 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() [all …]
|
/openbmc/linux/net/bridge/netfilter/ |
H A D | ebt_among.c | 19 static bool ebt_mac_wormhash_contains(const struct ebt_mac_wormhash *wh, in ebt_mac_wormhash_contains() argument 33 start = wh->table[key]; in ebt_mac_wormhash_contains() 34 limit = wh->table[key + 1]; in ebt_mac_wormhash_contains() 37 p = &wh->pool[i]; in ebt_mac_wormhash_contains() 44 p = &wh->pool[i]; in ebt_mac_wormhash_contains() 54 *wh) in ebt_mac_wormhash_check_integrity() 59 if (wh->table[i] > wh->table[i + 1]) in ebt_mac_wormhash_check_integrity() 61 if (wh->table[i] < 0) in ebt_mac_wormhash_check_integrity() 63 if (wh->table[i] > wh->poolsize) in ebt_mac_wormhash_check_integrity() 66 if (wh->table[256] > wh->poolsize) in ebt_mac_wormhash_check_integrity() [all …]
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_core.c | 99 struct ieee80211_hdr *wh; in rsi_get_num_pkts_dequeue() local 112 wh = (struct ieee80211_hdr *)skb->data; in rsi_get_num_pkts_dequeue() 113 vif = rsi_get_vif(adapter, wh->addr2); in rsi_get_num_pkts_dequeue() 379 struct ieee80211_hdr *wh = NULL; in rsi_core_xmit() local 404 wh = (struct ieee80211_hdr *)&skb->data[0]; in rsi_core_xmit() 407 vif = rsi_get_vif(adapter, wh->addr2); in rsi_core_xmit() 412 if ((ieee80211_is_mgmt(wh->frame_control)) || in rsi_core_xmit() 413 (ieee80211_is_ctl(wh->frame_control)) || in rsi_core_xmit() 414 (ieee80211_is_qos_nullfunc(wh->frame_control))) { in rsi_core_xmit() 415 if (ieee80211_is_assoc_req(wh->frame_control) || in rsi_core_xmit() [all …]
|
H A D | rsi_91x_hal.c | 61 struct ieee80211_hdr *wh = NULL; in rsi_prepare_mgmt_desc() local 100 wh = (struct ieee80211_hdr *)&skb->data[header_size]; in rsi_prepare_mgmt_desc() 111 if (ieee80211_is_probe_req(wh->frame_control)) in rsi_prepare_mgmt_desc() 114 if (is_broadcast_ether_addr(wh->addr1)) in rsi_prepare_mgmt_desc() 118 cpu_to_le16(IEEE80211_SEQ_TO_SN(le16_to_cpu(wh->seq_ctrl))); in rsi_prepare_mgmt_desc() 127 if (ieee80211_is_probe_resp(wh->frame_control)) { in rsi_prepare_mgmt_desc() 136 (ieee80211_is_action(wh->frame_control))) { in rsi_prepare_mgmt_desc() 137 struct rsi_sta *rsta = rsi_find_sta(common, wh->addr1); in rsi_prepare_mgmt_desc() 156 struct ieee80211_hdr *wh = NULL; in rsi_prepare_data_desc() local 194 wh = (struct ieee80211_hdr *)&skb->data[header_size]; in rsi_prepare_data_desc() [all …]
|
/openbmc/qemu/ui/ |
H A D | console-gl.c | 143 int ww, int wh) in surface_gl_setup_viewport() argument 154 sh = (float)wh/gh; in surface_gl_setup_viewport() 156 stripe = wh - wh*sw/sh; in surface_gl_setup_viewport() 157 glViewport(0, stripe / 2, ww, wh - stripe); in surface_gl_setup_viewport() 160 glViewport(stripe / 2, 0, ww - stripe, wh); in surface_gl_setup_viewport()
|
H A D | sdl2-gl.c | 51 int ww, wh; in sdl2_gl_render_surface() local 56 SDL_GetWindowSize(scon->real_window, &ww, &wh); in sdl2_gl_render_surface() 57 surface_gl_setup_viewport(scon->gls, scon->surface, ww, wh); in sdl2_gl_render_surface() 231 int ww, wh; in sdl2_gl_scanout_flush() local 243 SDL_GetWindowSize(scon->real_window, &ww, &wh); in sdl2_gl_scanout_flush() 244 egl_fb_setup_default(&scon->win_fb, ww, wh); in sdl2_gl_scanout_flush()
|
H A D | gtk-egl.c | 73 int ww, wh, ws; in gd_egl_draw() local 82 wh = gdk_window_get_height(window) * ws; in gd_egl_draw() 97 vc->gfx.scale_y = (double)wh / surface_height(vc->gfx.ds); in gd_egl_draw() 118 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_egl_draw() 124 vc->gfx.scale_y = (double)wh / surface_height(vc->gfx.ds); in gd_egl_draw() 339 int ww, wh, ws; in gd_egl_scanout_flush() local 354 wh = gdk_window_get_height(window) * ws; in gd_egl_scanout_flush() 355 egl_fb_setup_default(&vc->gfx.win_fb, ww, wh); in gd_egl_scanout_flush()
|
H A D | gtk-gl-area.c | 45 int ww, wh, ws, y1, y2; in gd_gl_area_draw() local 54 wh = gtk_widget_get_allocated_height(vc->gfx.drawing_area) * ws; in gd_gl_area_draw() 74 glViewport(0, 0, ww, wh); in gd_gl_area_draw() 78 0, 0, ww, wh, in gd_gl_area_draw() 104 surface_gl_setup_viewport(vc->gfx.gls, vc->gfx.ds, ww, wh); in gd_gl_area_draw()
|
H A D | gtk.c | 344 int ww, wh; in gd_update_full_redraw() local 346 wh = gdk_window_get_height(gtk_widget_get_window(area)); in gd_update_full_redraw() 353 gtk_widget_queue_draw_area(area, 0, 0, ww, wh); in gd_update_full_redraw() 396 int ww, wh; in gd_update() local 424 wh = gdk_window_get_height(win); in gd_update() 430 if (wh > fbh) { in gd_update() 431 my = (wh - fbh) / 2; in gd_update() 807 int ww, wh; in gd_draw_event() local 842 wh = gdk_window_get_height(gtk_widget_get_window(widget)); in gd_draw_event() 846 vc->gfx.scale_y = (double)wh / fbh; in gd_draw_event() [all …]
|
H A D | trace-events | 31 gd_motion_event(int ww, int wh, int ws, int x, int y) "ww=%d, wh=%d, ws=%d, x=%d, y=%d"
|
/openbmc/linux/arch/xtensa/lib/ |
H A D | umulsidi3.S | 29 #define wh a2 macro 32 #define wh a3 macro 41 muluh wh, a2, a3 141 do_mul(wh, a2, h, a3, h) /* pp 3 */ 142 add wh, wh, a9
|
/openbmc/linux/arch/alpha/math-emu/ |
H A D | sfp-util.h | 14 #define umul_ppmm(wh, wl, u, v) \ argument 16 : "=r" ((UDItype)(wh)), \
|
/openbmc/linux/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 809 struct ieee80211_hdr wh; member 820 hdrlen = ieee80211_hdrlen(tr->wh.frame_control); in mwl8k_remove_dma_header() 822 if (hdrlen != sizeof(tr->wh)) { in mwl8k_remove_dma_header() 823 if (ieee80211_is_data_qos(tr->wh.frame_control)) { in mwl8k_remove_dma_header() 824 memmove(tr->data - hdrlen, &tr->wh, hdrlen - 2); in mwl8k_remove_dma_header() 827 memmove(tr->data - hdrlen, &tr->wh, hdrlen); in mwl8k_remove_dma_header() 841 struct ieee80211_hdr *wh; in mwl8k_add_dma_header() local 852 wh = (struct ieee80211_hdr *)skb->data; in mwl8k_add_dma_header() 854 hdrlen = ieee80211_hdrlen(wh->frame_control); in mwl8k_add_dma_header() 876 if (ieee80211_is_data_qos(wh->frame_control)) in mwl8k_add_dma_header() [all …]
|
/openbmc/linux/arch/sparc/math-emu/ |
H A D | sfp-util_64.h | 43 #define umul_ppmm(wh, wl, u, v) \ argument 68 : "=r" (wh), \
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-isp-video.c | 45 unsigned int wh, i; in isp_video_capture_queue_setup() local 47 wh = vid_fmt->width * vid_fmt->height; in isp_video_capture_queue_setup() 58 if (sizes[i] < (wh * fmt->depth[i]) / 8) in isp_video_capture_queue_setup() 66 sizes[i] = (wh * fmt->depth[i]) / 8; in isp_video_capture_queue_setup()
|
/openbmc/linux/include/net/ |
H A D | ipv6.h | 637 __be32 wh, __be32 wl) in __ipv6_addr_set_half() argument 641 if (__builtin_constant_p(wh) && __builtin_constant_p(wl)) { in __ipv6_addr_set_half() 642 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); in __ipv6_addr_set_half() 646 if (__builtin_constant_p(wl) && __builtin_constant_p(wh)) { in __ipv6_addr_set_half() 647 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); in __ipv6_addr_set_half() 652 addr[0] = wh; in __ipv6_addr_set_half()
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | longlong.h | 320 #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; \
|
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | 390 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()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_dfs.c | 8 #define RADAR_SPEC(m, len, el, eh, wl, wh, \ argument 17 .w_high = wh, \
|
/openbmc/linux/fs/ext4/ |
H A D | namei.c | 3797 struct inode *wh; in ext4_whiteout_for_rename() local 3808 wh = ext4_new_inode_start_handle(idmap, ent->dir, in ext4_whiteout_for_rename() 3814 if (IS_ERR(wh)) { in ext4_whiteout_for_rename() 3817 if (PTR_ERR(wh) == -ENOSPC && in ext4_whiteout_for_rename() 3822 init_special_inode(wh, wh->i_mode, WHITEOUT_DEV); in ext4_whiteout_for_rename() 3823 wh->i_op = &ext4_special_inode_operations; in ext4_whiteout_for_rename() 3825 return wh; in ext4_whiteout_for_rename()
|
/openbmc/qemu/include/ui/ |
H A D | console.h | 434 int ww, int wh);
|