/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/net/ipv4/ |
H A D | tcp_westwood.c | 63 struct westwood *w = inet_csk_ca(sk); in tcp_westwood_init() local 65 w->bk = 0; in tcp_westwood_init() 66 w->bw_ns_est = 0; in tcp_westwood_init() 67 w->bw_est = 0; in tcp_westwood_init() 68 w->accounted = 0; in tcp_westwood_init() 69 w->cumul_ack = 0; in tcp_westwood_init() 70 w->reset_rtt_min = 1; in tcp_westwood_init() 71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init() 72 w->rtt_win_sx = tcp_jiffies32; in tcp_westwood_init() 73 w->snd_una = tcp_sk(sk)->snd_una; in tcp_westwood_init() [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/vdso/ |
H A D | vgetrandom-chacha.S | 99 li.w copy0, 0x61707865 100 li.w copy1, 0x3320646e 101 li.w copy2, 0x79622d32 103 ld.w cnt_lo, counter, 0 104 ld.w cnt_hi, counter, 4 111 li.w state3, 0x6b206574 114 ld.w state4, key, 0 115 ld.w state5, key, 4 116 ld.w state6, key, 8 117 ld.w state7, key, 12 [all …]
|
/linux/sound/soc/ |
H A D | soc-dapm.c | 184 static bool dapm_dirty_widget(struct snd_soc_dapm_widget *w) in dapm_dirty_widget() argument 186 return !list_empty(&w->dirty); in dapm_dirty_widget() 189 static void dapm_mark_dirty(struct snd_soc_dapm_widget *w, const char *reason) in dapm_mark_dirty() argument 191 dapm_assert_locked(w->dapm); in dapm_mark_dirty() 193 if (!dapm_dirty_widget(w)) { in dapm_mark_dirty() 194 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty() 195 w->name, reason); in dapm_mark_dirty() 196 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty() 208 struct snd_soc_dapm_widget *w, enu in dapm_widget_invalidate_paths() argument 248 dapm_widget_invalidate_input_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_input_paths() argument 265 dapm_widget_invalidate_output_paths(struct snd_soc_dapm_widget * w) dapm_widget_invalidate_output_paths() argument 304 struct snd_soc_dapm_widget *w; dapm_mark_endpoints_dirty() local 611 struct snd_soc_dapm_widget *w; dapm_reset() local 661 dapm_wcache_lookup(struct snd_soc_dapm_widget * w,const char * name) dapm_wcache_lookup() argument 749 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 851 struct snd_soc_dapm_widget *w; dapm_is_shared_kcontrol() local 875 dapm_create_or_share_kcontrol(struct snd_soc_dapm_widget * w,int kci) dapm_create_or_share_kcontrol() argument 985 dapm_new_mixer(struct snd_soc_dapm_widget * w) dapm_new_mixer() argument 1020 dapm_new_mux(struct snd_soc_dapm_widget * w) dapm_new_mux() argument 1066 dapm_new_pga(struct snd_soc_dapm_widget * w) dapm_new_pga() argument 1080 dapm_new_dai_link(struct snd_soc_dapm_widget * w) dapm_new_dai_link() argument 1138 struct snd_soc_dapm_widget *w; dapm_widget_list_create() local 1310 struct snd_soc_dapm_widget *w = snd_soc_dai_get_widget(dai, stream); snd_soc_dapm_dai_get_connected_widgets() local 1350 dapm_regulator_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) dapm_regulator_event() argument 1384 dapm_pinctrl_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) dapm_pinctrl_event() argument 1409 dapm_clock_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) dapm_clock_event() argument 1428 dapm_widget_power_check(struct snd_soc_dapm_widget * w) dapm_widget_power_check() argument 1444 dapm_generic_check_power(struct snd_soc_dapm_widget * w) dapm_generic_check_power() argument 1456 dapm_supply_check_power(struct snd_soc_dapm_widget * w) dapm_supply_check_power() argument 1480 dapm_always_on_check_power(struct snd_soc_dapm_widget * w) dapm_always_on_check_power() argument 1523 struct snd_soc_dapm_widget *w; dapm_seq_insert() local 1535 dapm_seq_check_event(struct snd_soc_card * card,struct snd_soc_dapm_widget * w,int event) dapm_seq_check_event() argument 1593 struct snd_soc_dapm_widget *w; dapm_seq_run_coalesced() local 1650 struct snd_soc_dapm_widget *w, *n; dapm_seq_run() local 1751 struct snd_soc_dapm_widget *w = NULL; dapm_widget_update() local 1884 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 1957 struct snd_soc_dapm_widget *w; dapm_power_widgets() local 2144 struct snd_soc_dapm_widget *w = file->private_data; dapm_widget_power_read_file() local 2268 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument 2279 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument 2301 dapm_debugfs_add_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_add_widget() argument 2305 dapm_debugfs_free_widget(struct snd_soc_dapm_widget * w) dapm_debugfs_free_widget() argument 2449 struct snd_soc_dapm_widget *w; dapm_widget_show_component() local 2552 snd_soc_dapm_free_widget(struct snd_soc_dapm_widget * w) snd_soc_dapm_free_widget() argument 2584 struct snd_soc_dapm_widget *w, *next_w; dapm_free_widgets() local 2600 struct snd_soc_dapm_widget *w; dapm_find_widget() local 2637 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); __snd_soc_dapm_set_pin() local 2718 dapm_update_dai_chan(struct snd_soc_dapm_path * p,struct snd_soc_dapm_widget * w,int channels) dapm_update_dai_chan() argument 2748 struct snd_soc_dapm_widget *w; dapm_update_dai_unlocked() local 2809 dapm_update_widget_flags(struct snd_soc_dapm_widget * w) dapm_update_widget_flags() argument 3007 struct snd_soc_dapm_widget *wsource = NULL, *wsink = NULL, *w; snd_soc_dapm_add_route() local 3306 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_widgets() local 3688 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control_unlocked() local 3838 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_control() local 3867 struct snd_soc_dapm_widget *w = snd_soc_dapm_new_control_unlocked(dapm, widget); snd_soc_dapm_new_controls() local 3880 snd_soc_dai_link_event_pre_pmu(struct snd_soc_dapm_widget * w,struct snd_pcm_substream * substream) snd_soc_dai_link_event_pre_pmu() argument 3995 snd_soc_dai_link_event(struct snd_soc_dapm_widget * w,struct snd_kcontrol * kcontrol,int event) snd_soc_dai_link_event() argument 4078 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); snd_soc_dapm_dai_link_get() local 4089 struct snd_soc_dapm_widget *w = snd_kcontrol_chip(kcontrol); snd_soc_dapm_dai_link_put() local 4200 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_dai() local 4278 struct snd_soc_dapm_widget *w; snd_soc_dapm_new_dai_widgets() local 4323 struct snd_soc_dapm_widget *dai_w, *w; snd_soc_dapm_link_dai_widgets() local 4444 struct snd_soc_dapm_widget *w; soc_dapm_dai_stream_event() local 4628 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_force_enable_pin_unlocked() local 4786 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, true); snd_soc_dapm_get_pin_status() local 4809 struct snd_soc_dapm_widget *w = dapm_find_widget(dapm, pin, false); snd_soc_dapm_ignore_suspend() local 4861 struct snd_soc_dapm_widget *w; soc_dapm_shutdown_dapm() local [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_SLL slli.w [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | iowait.h | 299 static inline u16 iowait_get_desc(struct iowait_work *w) in iowait_get_desc() argument 304 if (!list_empty(&w->tx_head)) { in iowait_get_desc() 305 tx = list_first_entry(&w->tx_head, struct sdma_txreq, in iowait_get_desc() 309 w->iow->priority++; in iowait_get_desc() 314 static inline u32 iowait_get_all_desc(struct iowait *w) in iowait_get_all_desc() argument 318 num_desc = iowait_get_desc(&w->wait[IOWAIT_IB_SE]); in iowait_get_all_desc() 319 num_desc += iowait_get_desc(&w->wait[IOWAIT_TID_SE]); in iowait_get_all_desc() 323 static inline void iowait_update_priority(struct iowait_work *w) in iowait_update_priority() argument 327 if (!list_empty(&w->tx_head)) { in iowait_update_priority() 328 tx = list_first_entry(&w in iowait_update_priority() 335 iowait_update_all_priority(struct iowait * w) iowait_update_all_priority() argument 341 iowait_init_priority(struct iowait * w) iowait_init_priority() argument 348 iowait_get_priority(struct iowait * w) iowait_get_priority() argument 364 iowait_queue(bool pkts_sent,struct iowait * w,struct list_head * wait_head) iowait_queue() argument 392 iowait_starve_clear(bool pkts_sent,struct iowait * w) iowait_starve_clear() argument 417 iowait_inc_wait_count(struct iowait_work * w,u16 n) iowait_inc_wait_count() argument 429 iowait_get_tid_work(struct iowait * w) iowait_get_tid_work() argument 438 iowait_get_ib_work(struct iowait * w) iowait_get_ib_work() argument 447 iowait_ioww_to_iow(struct iowait_work * w) iowait_ioww_to_iow() argument [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() 211 w->wdt.min_hw_heartbeat_ms = min / 10; in bd96801_set_wdt_mode() 220 w->wdt.max_hw_heartbeat_ms = hw_margin / 10; in bd96801_set_wdt_mode() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | util.h | 58 mt76_worker_setup(struct ieee80211_hw *hw, struct mt76_worker *w, in mt76_worker_setup() argument 66 w->fn = fn; in mt76_worker_setup() 67 w->task = kthread_run(__mt76_worker_fn, w, in mt76_worker_setup() 70 if (IS_ERR(w->task)) { in mt76_worker_setup() 71 ret = PTR_ERR(w->task); in mt76_worker_setup() 72 w->task = NULL; in mt76_worker_setup() 79 static inline void mt76_worker_schedule(struct mt76_worker *w) in mt76_worker_schedule() argument 81 if (!w->task) in mt76_worker_schedule() 84 if (!test_and_set_bit(MT76_WORKER_SCHEDULED, &w->state) && in mt76_worker_schedule() 85 !test_bit(MT76_WORKER_RUNNING, &w->state)) in mt76_worker_schedule() [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/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 31 : "=r" (w) : "r" (w) :); in __arch_hweight32() 33 return w; in __arch_hweight32() 37 return __sw_hweight32(w); in __arch_hweight32() 40 static inline unsigned int __arch_hweight16(unsigned int w) in __arch_hweight16() argument 42 return __arch_hweight32(w & 0xffff); in __arch_hweight16() 45 static inline unsigned int __arch_hweight8(unsigned int w) in __arch_hweight8() argument 47 return __arch_hweight32(w & 0xff); in __arch_hweight8() 51 static __always_inline unsigned long __arch_hweight64(__u64 w) in __arch_hweight64() argument 62 : "=r" (w) : "r" (w) :); in __arch_hweight64() [all …]
|
/linux/lib/crypto/mpi/ |
H A D | mpi-sub-ui.c | 37 int mpi_sub_ui(MPI w, MPI u, unsigned long vval) in mpi_sub_ui() argument 40 if (mpi_resize(w, 1) < 0) in mpi_sub_ui() 42 w->d[0] = vval; in mpi_sub_ui() 43 w->nlimbs = (vval != 0); in mpi_sub_ui() 44 w->sign = (vval != 0); in mpi_sub_ui() 49 if (mpi_resize(w, u->nlimbs + 1)) in mpi_sub_ui() 55 cy = mpihelp_add_1(w->d, u->d, u->nlimbs, (mpi_limb_t) vval); in mpi_sub_ui() 56 w->d[u->nlimbs] = cy; in mpi_sub_ui() 57 w->nlimbs = u->nlimbs + cy; in mpi_sub_ui() 58 w->sign = 1; in mpi_sub_ui() [all …]
|
/linux/include/linux/ |
H A D | rcuwait.h | 23 static inline void rcuwait_init(struct rcuwait *w) in rcuwait_init() argument 25 w->task = NULL; in rcuwait_init() 32 static inline int rcuwait_active(struct rcuwait *w) in rcuwait_active() argument 34 return !!rcu_access_pointer(w->task); in rcuwait_active() 37 extern int rcuwait_wake_up(struct rcuwait *w); 45 static inline void prepare_to_rcuwait(struct rcuwait *w) in prepare_to_rcuwait() argument 47 rcu_assign_pointer(w->task, current); in prepare_to_rcuwait() 50 extern void finish_rcuwait(struct rcuwait *w); 52 #define ___rcuwait_wait_event(w, condition, state, ret, cmd) \ argument 55 prepare_to_rcuwait(w); \ [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/net/wireless/ |
H A D | debugfs.c | 133 struct debugfs_read_work *w = container_of(work, typeof(*w), work); in wiphy_locked_debugfs_read_work() local 135 w->ret = w->handler(w->wiphy, w->file, w->buf, w->bufsize, w->data); in wiphy_locked_debugfs_read_work() 136 complete(&w->completion); in wiphy_locked_debugfs_read_work() 142 struct debugfs_read_work *w = data; in wiphy_locked_debugfs_read_cancel() local 144 wiphy_work_cancel(w->wiphy, &w->work); in wiphy_locked_debugfs_read_cancel() 145 complete(&w->completion); in wiphy_locked_debugfs_read_cancel() 213 struct debugfs_write_work *w = container_of(work, typeof(*w), work); in wiphy_locked_debugfs_write_work() local 215 w->ret = w->handler(w->wiphy, w->file, w->buf, w->count, w->data); in wiphy_locked_debugfs_write_work() 216 complete(&w->completion); in wiphy_locked_debugfs_write_work() 222 struct debugfs_write_work *w = data; in wiphy_locked_debugfs_write_cancel() local [all …]
|
/linux/drivers/staging/greybus/ |
H A D | audio_helper.c | 18 struct snd_soc_dapm_widget *w; in gbaudio_dapm_link_dai_widget() local 23 list_for_each_entry(w, &card->widgets, list) { in gbaudio_dapm_link_dai_widget() 24 if (w->dapm != dai_w->dapm) in gbaudio_dapm_link_dai_widget() 27 switch (w->id) { in gbaudio_dapm_link_dai_widget() 35 if (!w->sname || !strstr(w->sname, dai_w->sname)) in gbaudio_dapm_link_dai_widget() 46 sink = w; in gbaudio_dapm_link_dai_widget() 48 src = w; in gbaudio_dapm_link_dai_widget() 90 static void gbaudio_dapm_free_widget(struct snd_soc_dapm_widget *w) in gbaudio_dapm_free_widget() argument 95 list_del(&w->list); in gbaudio_dapm_free_widget() 102 snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) in gbaudio_dapm_free_widget() [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/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
|