| /linux/drivers/input/joystick/ |
| H A D | walkera0701.c | 62 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame() argument 70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 73 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 81 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 85 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame() [all …]
|
| /linux/include/asm-generic/bitops/ |
| H A D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
| /linux/tools/include/asm-generic/bitops/ |
| H A D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
| /linux/arch/s390/include/asm/ |
| H A D | arch_hweight.h | 9 static __always_inline unsigned long popcnt_z196(unsigned long w) in popcnt_z196() argument 15 : [w] "d" (w) in popcnt_z196() 20 static __always_inline unsigned long popcnt_z15(unsigned long w) in popcnt_z15() argument 26 : [w] "d" (w) in popcnt_z15() 31 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 34 return popcnt_z15(w); in __arch_hweight64() 36 w = popcnt_z196(w); in __arch_hweight64() 37 w += w >> 32; in __arch_hweight64() 38 w += w >> 16; in __arch_hweight64() 39 w += w >> 8; in __arch_hweight64() [all …]
|
| /linux/tools/lib/ |
| H A D | hweight.c | 12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 15 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 16 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 17 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 18 return (w * 0x01010101) >> 24; in __sw_hweight32() 20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
| /linux/lib/ |
| H A D | hweight.c | 13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 16 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 17 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 18 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 19 return (w * 0x01010101) >> 24; in __sw_hweight32() 21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
| /linux/arch/loongarch/include/asm/ |
| H A D | asm.h | 55 #define REG_L ld.w 56 #define REG_S st.w 57 #define REG_ADD add.w 58 #define REG_SUB sub.w 70 #define INT_ADD add.w 71 #define INT_ADDI addi.w 72 #define INT_SUB sub.w 73 #define INT_L ld.w 74 #define INT_S st.w 75 #define INT_SLLI slli.w [all …]
|
| /linux/sound/soc/ |
| H A D | soc-dapm.c | 219 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) 221 return !list_empty(&w->dirty); in dapm_mark_dirty() 224 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() 226 struct device *dev = snd_soc_dapm_to_dev(w->dapm); in dapm_mark_dirty() 228 dapm_assert_locked(w->dapm); in dapm_mark_dirty() 230 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty() 232 w->name, reason); 233 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); 245 struct snd_soc_dapm_widget *w, enu in dapm_widget_invalidate_paths() 215 dapm_dirty_widget(struct snd_soc_dapm_widget * w) dapm_dirty_widget() argument 220 dapm_mark_dirty(struct snd_soc_dapm_widget * w,const char * reason) dapm_mark_dirty() argument 241 dapm_widget_invalidate_paths(struct snd_soc_dapm_widget * w,enum snd_soc_dapm_direction dir) dapm_widget_invalidate_paths() argument 281 dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_input_paths() argument 298 dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_output_paths() argument 337 struct snd_soc_dapm_widget *w; snd_soc_dapm_mark_endpoints_dirty() local 448 dapm_connect_mux(struct snd_soc_dapm_context * dapm,struct snd_soc_dapm_path * path,const char * control_name,struct snd_soc_dapm_widget * w) dapm_connect_mux() argument 507 dapm_update_widget_flags(struct snd_soc_dapm_widget * w) dapm_update_widget_flags() argument 971 struct snd_soc_dapm_widget *w; dapm_reset() local 1014 dapm_wcache_lookup(struct snd_soc_dapm_widget * w,const char * name) dapm_wcache_lookup() argument 1139 struct snd_soc_dapm_widget *w; dapm_is_shared_kcontrol() local 1163 dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget * w,int kci) dapm_create_or_share_kcontrol() argument 1274 dapm_new_mixer(struct snd_soc_dapm_widget * w) dapm_new_mixer() argument 1309 dapm_new_mux(struct snd_soc_dapm_widget * w) dapm_new_mux() argument 1356 dapm_new_pga(struct snd_soc_dapm_widget * w) dapm_new_pga() argument 1370 dapm_new_dai_link(struct snd_soc_dapm_widget * w) dapm_new_dai_link() argument 1430 struct snd_soc_dapm_widget *w; dapm_widget_list_create() local 1602 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream); snd_soc_dapm_dai_get_connected_widgets() local 1642 snd_soc_dapm_regulator_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_regulator_event() argument 1677 snd_soc_dapm_pinctrl_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_pinctrl_event() argument 1702 snd_soc_dapm_clock_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dapm_clock_event() argument 1721 dapm_widget_power_check(struct snd_soc_dapm_widget * w) dapm_widget_power_check() argument 1737 dapm_generic_check_power(struct snd_soc_dapm_widget * w) dapm_generic_check_power() argument 1749 dapm_supply_check_power(struct snd_soc_dapm_widget * w) dapm_supply_check_power() argument 1770 dapm_always_on_check_power(struct snd_soc_dapm_widget * w) dapm_always_on_check_power() argument 1813 struct snd_soc_dapm_widget *w; dapm_seq_insert() local 1825 dapm_seq_check_event(struct snd_soc_card * card,struct snd_soc_dapm_widget * w,int event) dapm_seq_check_event() argument 1885 struct snd_soc_dapm_widget *w; dapm_seq_run_coalesced() local 1943 struct snd_soc_dapm_widget *w, *n; dapm_seq_run() local 2044 struct snd_soc_dapm_widget *w = NULL; dapm_widget_update() local 2176 dapm_power_one_widget(struct snd_soc_dapm_widget * w,struct list_head * up_list,struct list_head * down_list) dapm_power_one_widget() argument 2256 struct snd_soc_dapm_widget *w; dapm_power_widgets() local 2443 struct snd_soc_dapm_widget *w = file->private_data; dapm_widget_power_read_file() local 2567 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument 2578 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument 2600 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument 2604 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument 2747 struct snd_soc_dapm_widget *w; dapm_widget_show_component() local 2850 snd_soc_dapm_free_widget(struct snd_soc_dapm_widget * w) snd_soc_dapm_free_widget() argument 2882 struct snd_soc_dapm_widget *w, *next_w; dapm_free_widgets() local 2898 struct snd_soc_dapm_widget *w; dapm_find_widget() local 2935 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); __dapm_set_pin() local 3017 dapm_update_dai_chan(struct snd_soc_dapm_path * p,struct snd_soc_dapm_widget * w,int channels) dapm_update_dai_chan() argument 3049 struct snd_soc_dapm_widget *w; dapm_update_dai_unlocked() local 3103 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; snd_soc_dapm_add_route() local 3324 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_widgets() local 3762 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control_unlocked() local 3912 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control() local 3941 struct snd_soc_dapm_widget *w = snd_soc_dapm_new_control_unlocked(dapm, widget); snd_soc_dapm_new_controls() local 3953 dapm_dai_link_event_pre_pmu(struct snd_soc_dapm_widget * w,struct snd_pcm_substream * substream) dapm_dai_link_event_pre_pmu() argument 4068 dapm_dai_link_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) dapm_dai_link_event() argument 4163 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); dapm_dai_link_get() local 4174 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); dapm_dai_link_put() local 4285 struct snd_soc_dapm_widget *w; dapm_new_dai() local 4364 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_dai_widgets() local 4409 struct snd_soc_dapm_widget *dai_w, *w; snd_soc_dapm_link_dai_widgets() local 4532 struct snd_soc_dapm_widget *w; dapm_dai_stream_event() local 4716 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_force_enable_pin_unlocked() local 4827 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_get_pin_status() local 4851 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); snd_soc_dapm_ignore_suspend() local 4896 struct snd_soc_dapm_widget *w; dapm_shutdown() local [all...] |
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | itest.S | 173 mov.w &0x0004,ICCR(%a6) 174 mov.w &0x0000,%cc 179 mov.w %cc,SCCR(%a6) 197 mov.w &0x0004,ICCR(%a6) 198 mov.w &0x0000,%cc 203 mov.w %cc,SCCR(%a6) 220 mov.w &0x0000,ICCR(%a6) 221 mov.w &0x0000,%cc 226 mov.w %cc,SCCR(%a6) 243 mov.w &0x0000,ICCR(%a6) [all …]
|
| /linux/drivers/watchdog/ |
| H A D | bd96801_wdt.c | 68 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_ping() local 70 return regmap_update_bits(w->regmap, BD96801_REG_WD_FEED, in bd96801_wdt_ping() 76 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_start() local 78 return regmap_update_bits(w->regmap, BD96801_REG_WD_CONF, in bd96801_wdt_start() 84 struct wdtbd96801 *w = watchdog_get_drvdata(wdt); in bd96801_wdt_stop() local 86 return regmap_update_bits(w->regmap, BD96801_REG_WD_CONF, in bd96801_wdt_stop() 166 static int bd96801_set_wdt_mode(struct wdtbd96801 *w, unsigned int hw_margin, in bd96801_set_wdt_mode() argument 170 struct device *dev = w->dev; in bd96801_set_wdt_mode() 210 w->wdt.min_hw_heartbeat_ms = min / 10; in bd96801_set_wdt_mode() 219 w->wdt.max_hw_heartbeat_ms = hw_margin / 10; in bd96801_set_wdt_mode() [all …]
|
| /linux/drivers/media/platform/samsung/s5p-g2d/ |
| H A D | g2d-hw.c | 14 #define w(x, a) writel((x), d->regs + (a)) macro 20 w(1, SOFT_RESET_REG); in g2d_reset() 27 w(0, SRC_SELECT_REG); in g2d_set_src_size() 28 w(f->stride & 0xFFFF, SRC_STRIDE_REG); in g2d_set_src_size() 33 w(n, SRC_LEFT_TOP_REG); in g2d_set_src_size() 38 w(n, SRC_RIGHT_BOTTOM_REG); in g2d_set_src_size() 40 w(f->fmt->hw, SRC_COLOR_MODE_REG); in g2d_set_src_size() 45 w(a, SRC_BASE_ADDR_REG); in g2d_set_src_addr() 52 w(0, DST_SELECT_REG); in g2d_set_dst_size() 53 w(f->stride & 0xFFFF, DST_STRIDE_REG); in g2d_set_dst_size() [all …]
|
| /linux/arch/m68k/include/asm/ |
| H A D | mcf8390.h | 30 #define BSWAP(w) (((w) << 8) | ((w) >> 8)) argument 31 #define RSWAP(w) (w) argument 81 #define BSWAP(w) (w) argument 84 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument 95 #define BSWAP(w) (w) argument 98 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument 107 #define BSWAP(w) (w) argument 110 #define RSWAP(w) (((w) << 8) | ((w) >> 8)) argument
|
| /linux/arch/riscv/include/asm/ |
| H A D | arch_hweight.h | 20 static __always_inline unsigned int __arch_hweight32(unsigned int w) in __arch_hweight32() argument 25 return __sw_hweight32(w); in __arch_hweight32() 31 : "=r" (w) : "r" (w) :); in __arch_hweight32() 33 return w; in __arch_hweight32() 36 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 38 return __arch_hweight32(w & 0xffff); in __arch_hweight16() 41 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 43 return __arch_hweight32(w & 0xff); in __arch_hweight8() 47 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 52 return __sw_hweight64(w); in __arch_hweight64() [all …]
|
| /linux/drivers/media/platform/ti/omap/ |
| H A D | omap_voutlib.c | 69 try_win = new_win->w; in omap_vout_try_window() 97 new_win->w = try_win; in omap_vout_try_window() 126 win->w = new_win->w; in omap_vout_new_window() 133 if ((crop->height/win->w.height) >= 2) in omap_vout_new_window() 134 crop->height = win->w.height * 2; in omap_vout_new_window() 136 if ((crop->width/win->w.width) >= 2) in omap_vout_new_window() 137 crop->width = win->w.width * 2; in omap_vout_new_window() 144 if (crop->height != win->w.height) in omap_vout_new_window() 149 if ((crop->height/win->w.height) >= 4) in omap_vout_new_window() 150 crop->height = win->w.height * 4; in omap_vout_new_window() [all …]
|
| /linux/lib/crypto/mpi/ |
| H A D | mpi-sub-ui.c | 39 int mpi_sub_ui(MPI w, MPI u, unsigned long vval) in mpi_sub_ui() argument 42 if (mpi_resize(w, 1) < 0) in mpi_sub_ui() 44 w->d[0] = vval; in mpi_sub_ui() 45 w->nlimbs = (vval != 0); in mpi_sub_ui() 46 w->sign = (vval != 0); in mpi_sub_ui() 51 if (mpi_resize(w, u->nlimbs + 1)) in mpi_sub_ui() 57 cy = mpihelp_add_1(w->d, u->d, u->nlimbs, (mpi_limb_t) vval); in mpi_sub_ui() 58 w->d[u->nlimbs] = cy; in mpi_sub_ui() 59 w->nlimbs = u->nlimbs + cy; in mpi_sub_ui() 60 w->sign = 1; in mpi_sub_ui() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-cache-background-tracker.c | 52 struct bt_work *w, *tmp; in btracker_destroy() local 55 list_for_each_entry_safe (w, tmp, &b->queued, list) { in btracker_destroy() 56 list_del(&w->list); in btracker_destroy() 57 kmem_cache_free(btracker_work_cache, w); in btracker_destroy() 79 struct bt_work *w; in __insert_pending() local 83 w = container_of(*new, struct bt_work, node); in __insert_pending() 86 cmp = cmp_oblock(w->work.oblock, nw->work.oblock); in __insert_pending() 108 struct bt_work *w; in __find_pending() local 112 w = container_of(*new, struct bt_work, node); in __find_pending() 114 cmp = cmp_oblock(w->work.oblock, oblock); in __find_pending() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_trans_space.h | 52 #define XFS_EXTENTADD_SPACE_RES(mp,w) (XFS_BM_MAXLEVELS(mp,w) - 1) argument 53 #define XFS_NEXTENTADD_SPACE_RES(mp,b,w)\ argument 56 XFS_EXTENTADD_SPACE_RES(mp,w)) 59 #define XFS_SWAP_RMAP_SPACE_RES(mp,b,w)\ argument 60 (XFS_NEXTENTADD_SPACE_RES((mp), (b), (w)) + \ 63 #define XFS_DAENTER_1B(mp,w) \ argument 64 ((w) == XFS_DATA_FORK ? (mp)->m_dir_geo->fsbcount : 1) 65 #define XFS_DAENTER_DBS(mp,w) \ argument 66 (XFS_DA_NODE_MAXDEPTH + (((w) == XFS_DATA_FORK) ? 2 : 0)) 67 #define XFS_DAENTER_BLOCKS(mp,w) \ argument [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | fpu.S | 104 bstrins.w \tmp1, \tmp0, 15, 8 106 bstrins.w \tmp1, \tmp0, 23, 16 108 bstrins.w \tmp1, \tmp0, 31, 24 109 EX st.w \tmp1, \base, 0 113 bstrins.w \tmp1, \tmp0, 15, 8 115 bstrins.w \tmp1, \tmp0, 23, 16 117 bstrins.w \tmp1, \tmp0, 31, 24 118 EX st.w \tmp1, \base, 4 122 EX ld.w \tmp0, \base, 0 123 bstrpick.w \tmp1, \tmp0, 7, 0 [all …]
|
| /linux/include/linux/soc/ti/ |
| H A D | omap1-usb.h | 24 # define USB2_TRX_MODE(w) (((w)>>24)&0x07) argument 25 # define USB1_TRX_MODE(w) (((w)>>20)&0x07) argument 26 # define USB0_TRX_MODE(w) (((w)>>16)&0x07) argument 38 # define SRP_GPUVBUS(w) (((w)>>24)&0x07) argument 39 # define A_WAIT_VRISE(w) (((w)>>20)&0x07) argument 40 # define B_ASE_BRST(w) (((w)>>16)&0x07) argument 49 # define OTG_HMC(w) (((w)>>0)&0x3f) argument
|
| /linux/net/ipv6/ |
| H A D | ip6_fib.c | 43 struct fib6_walker w; member 63 static int fib6_walk(struct net *net, struct fib6_walker *w); 64 static int fib6_walk_continue(struct fib6_walker *w); 75 #define FOR_WALKERS(net, w) \ argument 76 list_for_each_entry(w, &(net)->ipv6.fib6_walkers, lh) 78 static void fib6_walker_link(struct net *net, struct fib6_walker *w) in fib6_walker_link() argument 81 list_add(&w->lh, &net->ipv6.fib6_walkers); in fib6_walker_link() 85 static void fib6_walker_unlink(struct net *net, struct fib6_walker *w) in fib6_walker_unlink() argument 88 list_del(&w->lh); in fib6_walker_unlink() 470 static int fib6_node_dump(struct fib6_walker *w) in fib6_node_dump() argument [all …]
|
| /linux/net/wireless/ |
| H A D | debugfs.c | 166 struct debugfs_read_work *w = container_of(work, typeof(*w), work); in wiphy_locked_debugfs_read() 168 w->ret = w->handler(w->wiphy, w->file, w->buf, w->bufsize, w->data); in wiphy_locked_debugfs_read() 169 complete(&w in wiphy_locked_debugfs_read() 133 struct debugfs_read_work *w = container_of(work, typeof(*w), work); wiphy_locked_debugfs_read_work() local 142 struct debugfs_read_work *w = data; wiphy_locked_debugfs_read_cancel() local 213 struct debugfs_write_work *w = container_of(work, typeof(*w), work); wiphy_locked_debugfs_write_work() local 222 struct debugfs_write_work *w = data; wiphy_locked_debugfs_write_cancel() local [all...] |
| /linux/arch/arm64/include/asm/ |
| H A D | cmpxchg.h | 21 #define __XCHG_CASE(w, sfx, name, sz, mb, nop_lse, acq, acq_lse, rel, cl) \ argument 30 "1: ld" #acq "xr" #sfx "\t%" #w "0, %2\n" \ 31 " st" #rel "xr" #sfx "\t%w1, %" #w "3, %2\n" \ 35 " swp" #acq_lse #rel #sfx "\t%" #w "3, %" #w "0, %2\n" \ 45 __XCHG_CASE(w, b, , 8, , , , , , ) 46 __XCHG_CASE(w, h, , 16, , , , , , ) 47 __XCHG_CASE(w, , , 32, , , , , , ) 49 __XCHG_CASE(w, b, acq_, 8, , , a, a, , "memory") 50 __XCHG_CASE(w, h, acq_, 16, , , a, a, , "memory") 51 __XCHG_CASE(w, , acq_, 32, , , a, a, , "memory") [all …]
|
| /linux/drivers/input/gameport/ |
| H A D | fm801-gp.c | 31 unsigned short w; in fm801_gp_cooked_read() local 33 w = inw(gameport->io + 2); in fm801_gp_cooked_read() 34 *buttons = (~w >> 14) & 0x03; in fm801_gp_cooked_read() 35 axes[0] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 36 w = inw(gameport->io + 4); in fm801_gp_cooked_read() 37 axes[1] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 38 w = inw(gameport->io + 6); in fm801_gp_cooked_read() 39 *buttons |= ((~w >> 14) & 0x03) << 2; in fm801_gp_cooked_read() 40 axes[2] = (w == 0xffff) ? -1 : ((w & 0x1fff) << 5); in fm801_gp_cooked_read() 41 w = inw(gameport->io + 8); in fm801_gp_cooked_read() [all …]
|
| /linux/fs/smb/client/ |
| H A D | dfs.h | 34 #define ref_walk_start(w) ((w)->refs) argument 35 #define ref_walk_end(w) (&(w)->refs[ARRAY_SIZE((w)->refs) - 1]) argument 36 #define ref_walk_cur(w) ((w)->ref) argument 37 #define ref_walk_descend(w) (--ref_walk_cur(w) >= ref_walk_start(w)) argument 39 #define ref_walk_tit(w) (ref_walk_cur(w)->tit) argument 40 #define ref_walk_path(w) (ref_walk_cur(w)->path) argument 41 #define ref_walk_fpath(w) (ref_walk_cur(w)->full_path) argument 42 #define ref_walk_tl(w) (&ref_walk_cur(w)->tl) argument 43 #define ref_walk_ses(w) (ref_walk_cur(w)->ses) argument
|
| /linux/arch/xtensa/mm/ |
| H A D | tlb.c | 27 int w, i; in __flush_itlb_all() local 29 for (w = 0; w < ITLB_ARF_WAYS; w++) { in __flush_itlb_all() 31 int e = w + (i << PAGE_SHIFT); in __flush_itlb_all() 40 int w, i; in __flush_dtlb_all() local 42 for (w = 0; w < DTLB_ARF_WAYS; w++) { in __flush_dtlb_all() 44 int e = w + (i << PAGE_SHIFT); in __flush_dtlb_all() 232 static int check_tlb_entry(unsigned w, unsigned e, bool dtlb) in check_tlb_entry() argument 234 unsigned tlbidx = w | (e << PAGE_SHIFT); in check_tlb_entry() 248 dtlb ? 'D' : 'I', w, e, vpn, in check_tlb_entry() 256 dtlb ? 'D' : 'I', w, e, r0, r1, pte); in check_tlb_entry() [all …]
|