Home
last modified time | relevance | path

Searched +defs:val +defs:word (Results 1 – 25 of 135) sorted by relevance

123456

/linux-6.14.4/drivers/irqchip/
Dirq-bcm7038-l1.c80 unsigned int word) in reg_status()
86 unsigned int word) in reg_mask_status()
92 unsigned int word) in reg_mask_set()
98 unsigned int word) in reg_mask_clr()
111 static inline void l1_writel(u32 val, void __iomem *reg) in l1_writel()
154 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_unmask() local
165 u32 word = d->hwirq / IRQS_PER_WORD; in __bcm7038_l1_mask() local
201 u32 word = hw / IRQS_PER_WORD; in bcm7038_l1_set_affinity() local
298 int boot_cpu, word; in bcm7038_l1_suspend() local
299 u32 val; in bcm7038_l1_suspend() local
[all …]
/linux-6.14.4/arch/s390/include/asm/
Dbitops.h133 static inline unsigned char __flogr(unsigned long word) in __flogr()
182 static inline unsigned long __ffs(unsigned long word) in __ffs()
194 static inline int ffs(int word) in ffs()
197 unsigned int val = (unsigned int)word; in ffs() local
208 static inline unsigned long __fls(unsigned long word) in __fls()
224 static inline int fls64(unsigned long word) in fls64()
238 static inline int fls(unsigned int word) in fls()
/linux-6.14.4/kernel/sched/
Dwait_bit.c12 wait_queue_head_t *bit_waitqueue(unsigned long *word, int bit) in bit_waitqueue()
15 unsigned long val = (unsigned long)word << shift | bit; in bit_waitqueue() local
58 int __sched out_of_line_wait_on_bit(unsigned long *word, int bit, in out_of_line_wait_on_bit()
69 unsigned long *word, int bit, wait_bit_action_f *action, in out_of_line_wait_on_bit_timeout()
111 int __sched out_of_line_wait_on_bit_lock(unsigned long *word, int bit, in out_of_line_wait_on_bit_lock()
121 void __wake_up_bit(struct wait_queue_head *wq_head, unsigned long *word, int bit) in __wake_up_bit()
155 void wake_up_bit(unsigned long *word, int bit) in wake_up_bit()
235 __sched int bit_wait(struct wait_bit_key *word, int mode) in bit_wait()
245 __sched int bit_wait_io(struct wait_bit_key *word, int mode) in bit_wait_io()
255 __sched int bit_wait_timeout(struct wait_bit_key *word, int mode) in bit_wait_timeout()
/linux-6.14.4/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c24 struct cpl_set_tcb_field *req, u16 word, in __set_tcb_field_direct()
25 u64 mask, u64 val, u8 cookie, int no_reply) in __set_tcb_field_direct()
41 static void __set_tcb_field(struct sock *sk, struct sk_buff *skb, u16 word, in __set_tcb_field()
42 u64 mask, u64 val, u8 cookie, int no_reply) in __set_tcb_field()
61 static int chtls_set_tcb_field(struct sock *sk, u16 word, u64 mask, u64 val) in chtls_set_tcb_field()
91 void chtls_set_tcb_field_rpl_skb(struct sock *sk, u16 word, in chtls_set_tcb_field_rpl_skb()
92 u64 mask, u64 val, u8 cookie, in chtls_set_tcb_field_rpl_skb()
119 static int chtls_set_tcb_quiesce(struct sock *sk, int val) in chtls_set_tcb_quiesce()
125 void chtls_set_quiesce_ctrl(struct sock *sk, int val) in chtls_set_quiesce_ctrl()
/linux-6.14.4/include/linux/
Dbitops.h105 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64()
115 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64()
125 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32()
135 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32()
145 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16()
155 static inline __u16 ror16(__u16 word, unsigned int shift) in ror16()
165 static inline __u8 rol8(__u8 word, unsigned int shift) in rol8()
175 static inline __u8 ror8(__u8 word, unsigned int shift) in ror8()
253 static inline int parity8(u8 val) in parity8()
271 static inline unsigned int __ffs64(u64 word) in __ffs64()
[all …]
Dwait_bit.h21 #define __WAIT_BIT_KEY_INITIALIZER(word, bit) \ argument
38 #define DEFINE_WAIT_BIT(name, word, bit) \ argument
72 wait_on_bit(unsigned long *word, int bit, unsigned mode) in wait_on_bit()
100 wait_on_bit_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_io()
131 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, in wait_on_bit_timeout()
161 wait_on_bit_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_action()
189 wait_on_bit_lock(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock()
216 wait_on_bit_lock_io(unsigned long *word, int bit, unsigned mode) in wait_on_bit_lock_io()
240 wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_lock_action()
550 static inline void clear_and_wake_up_bit(int bit, unsigned long *word) in clear_and_wake_up_bit()
[all …]
/linux-6.14.4/arch/riscv/kvm/
Daia_aplic.c57 static void aplic_write_sourcecfg(struct aplic *aplic, u32 irq, u32 val) in aplic_write_sourcecfg()
93 static void aplic_write_target(struct aplic *aplic, u32 irq, u32 val) in aplic_write_target()
336 static u32 aplic_read_input_word(struct aplic *aplic, u32 word) in aplic_read_input_word()
346 static u32 aplic_read_pending_word(struct aplic *aplic, u32 word) in aplic_read_pending_word()
356 static void aplic_write_pending_word(struct aplic *aplic, u32 word, in aplic_write_pending_word()
357 u32 val, bool pending) in aplic_write_pending_word()
367 static u32 aplic_read_enabled_word(struct aplic *aplic, u32 word) in aplic_read_enabled_word()
377 static void aplic_write_enabled_word(struct aplic *aplic, u32 word, in aplic_write_enabled_word()
378 u32 val, bool enabled) in aplic_write_enabled_word()
443 gpa_t addr, int len, void *val) in aplic_mmio_read()
[all …]
/linux-6.14.4/drivers/gpio/
Dgpio-max7301.c20 unsigned int val) in max7301_spi_write()
23 u16 word = ((reg & 0x7F) << 8) | (val & 0xFF); in max7301_spi_write() local
33 u16 word; in max7301_spi_read() local
/linux-6.14.4/drivers/spi/
Dspi-sh-sci.c28 unsigned char val; member
79 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode0()
86 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode1()
93 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode2()
100 unsigned nsecs, u32 word, u8 bits, in sh_sci_spi_txrx_mode3()
Dspi-cs42l43.c72 u32 val = 0; in cs42l43_spi_tx() local
79 const u8 *word = min(buf + sizeof(u32), block); in cs42l43_spi_tx() local
109 u32 val; in cs42l43_spi_rx() local
122 u8 *word = min(buf + sizeof(u32), block); in cs42l43_spi_rx() local
/linux-6.14.4/drivers/nvmem/
Dsunxi_sid.c40 void *val, size_t bytes) in sunxi_sid_read()
43 u32 word; in sunxi_sid_read() local
94 void *val, size_t bytes) in sun8i_sid_read_by_reg()
97 u32 word; in sun8i_sid_read_by_reg() local
Dimx-ocotp-scu.c49 u32 word; member
109 static int imx_sc_misc_otp_fuse_read(struct imx_sc_ipc *ipc, u32 word, in imx_sc_misc_otp_fuse_read()
110 u32 *val) in imx_sc_misc_otp_fuse_read()
133 void *val, size_t bytes) in imx_scu_ocotp_read()
181 void *val, size_t bytes) in imx_scu_ocotp_write()
/linux-6.14.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c43 static inline void writeq(u64 val, void __iomem *addr) in writeq()
285 void __iomem *val; in qlcnic_read_window_reg() local
298 void __iomem *val; in qlcnic_write_window_reg() local
442 u64 word; in qlcnic_82xx_sre_macaddr_change() local
599 u64 word; in qlcnic_82xx_nic_set_promisc() local
820 u64 word; in qlcnic_82xx_config_hw_lro() local
854 u64 word; in qlcnic_config_bridged_mode() local
889 u64 word; in qlcnic_82xx_config_rss() local
940 u64 word; in qlcnic_82xx_config_ipaddr() local
963 u64 word; in qlcnic_82xx_linkevent_request() local
[all …]
/linux-6.14.4/drivers/platform/mellanox/
Dmlxbf-bootctl.c497 unsigned long val; in os_up_store() local
569 int word; in opn_show() local
593 int word; in opn_store() local
620 int word; in sku_show() local
644 int word; in sku_store() local
671 int word; in modl_show() local
695 int word; in modl_store() local
722 int word; in sn_show() local
746 int word; in sn_store() local
773 int word; in uuid_show() local
[all …]
/linux-6.14.4/sound/atmel/
Dac97c.c58 #define ac97c_writel(chip, reg, val) \ argument
190 unsigned long word = ac97c_readl(chip, OCA); in atmel_ac97c_playback_prepare() local
272 unsigned long word = ac97c_readl(chip, ICA); in atmel_ac97c_capture_prepare() local
607 unsigned short val) in atmel_ac97c_write()
610 unsigned long word; in atmel_ac97c_write() local
630 unsigned long word; in atmel_ac97c_read() local
657 unsigned short val = ac97c_readl(chip, CORHR); in atmel_ac97c_read() local
/linux-6.14.4/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c436 u32 val = 0; in netxen_nic_enable_mcast_filter() local
465 u32 val = 0; in netxen_nic_disable_mcast_filter() local
606 u64 word; in nx_p3_sre_macaddr_change() local
699 u64 word; in netxen_p3_nic_set_promisc() local
744 u64 word[6]; in netxen_config_intr_coalesce() local
771 u64 word; in netxen_config_hw_lro() local
798 u64 word; in netxen_config_bridged_mode() local
831 u64 word; in netxen_config_rss() local
878 u64 word; in netxen_config_ipaddr() local
902 u64 word; in netxen_linkevent_request() local
[all …]
/linux-6.14.4/drivers/gpu/ipu-v3/
Dipu-cpmem.c19 struct ipu_cpmem_word word[2]; member
30 #define IPU_CPMEM_WORD(word, ofs, size) ((((word) * 160 + (ofs)) << 8) | (size)) argument
105 u32 word = (wbs >> 8) / 160; in ipu_ch_param_write_field() local
109 u32 val; in ipu_ch_param_write_field() local
131 u32 word = (wbs >> 8) / 160; in ipu_ch_param_read_field() local
135 u32 val = 0; in ipu_ch_param_read_field() local
261 u32 val; in ipu_cpmem_set_high_priority() local
626 u32 val; in ipu_cpmem_set_separate_alpha() local
/linux-6.14.4/drivers/hwmon/pmbus/
Dmp2891.c63 static u16 mp2891_reg2data_linear11(u16 word) in mp2891_reg2data_linear11()
67 s64 val; in mp2891_reg2data_linear11() local
391 u16 word) in mp2891_write_word_data()
/linux-6.14.4/drivers/iio/pressure/
Dms5611_i2c.c29 u16 *word) in ms5611_i2c_read_prom_word()
43 static int ms5611_i2c_read_adc(struct ms5611_state *st, s32 *val) in ms5611_i2c_read_adc()
Dms5611_spi.c26 u16 *word) in ms5611_spi_read_prom_word()
39 static int ms5611_spi_read_adc(struct ms5611_state *st, s32 *val) in ms5611_spi_read_adc()
/linux-6.14.4/drivers/net/ethernet/qualcomm/emac/
Demac-mac.h42 #define BITS_GET(val, lo, hi) ((le32_to_cpu(val) & GENMASK((hi), (lo))) >> lo) argument
43 #define BITS_SET(val, lo, hi, new_val) \ argument
49 u32 word[6]; member
67 #define RRD_UPDT_SET(rrd, val) BITS_SET((rrd)->word[3], 31, 31, val) argument
76 u32 word[4]; member
79 #define TPD_BUF_LEN_SET(tpd, val) BITS_SET((tpd)->word[0], 0, 15, val) argument
81 #define TPD_CSX_SET(tpd, val) BITS_SET((tpd)->word[1], 8, 8, val) argument
84 #define TPD_LSO_SET(tpd, val) BITS_SET((tpd)->word[1], 12, 12, val) argument
89 #define TPD_LSOV_SET(tpd, val) BITS_SET((tpd)->word[1], 13, 13, val) argument
93 #define TPD_IPV4_SET(tpd, val) BITS_SET((tpd)->word[1], 16, 16, val) argument
[all …]
/linux-6.14.4/fs/xfs/libxfs/
Dxfs_rtbitmap.c281 unsigned int word; /* word number in the buffer */ in xfs_rtfind_back() local
435 unsigned int word; /* word number in the buffer */ in xfs_rtfind_forw() local
596 xfs_suminfo_t val; in xfs_rtmodify_summary() local
663 int val) /* 1 for free, 0 for allocated */ in xfs_rtmodify_range()
674 unsigned int word; /* word number in the buffer */ in xfs_rtmodify_range() local
875 int val, /* 1 for free, 0 for allocated */ in xfs_rtcheck_range()
888 unsigned int word; /* word number in the buffer */ in xfs_rtcheck_range() local
/linux-6.14.4/arch/x86/kernel/
Dquirks.c18 u16 word; in quirk_intel_irqbalance() local
75 u32 val; in ich_force_hpet_resume() local
98 u32 val; in ich_force_enable_hpet() local
188 u32 val; in old_ich_force_hpet_resume() local
210 u32 val; in old_ich_force_enable_hpet() local
285 u32 val; in vt8237_force_hpet_resume() local
302 u32 val; in vt8237_force_enable_hpet() local
380 u32 d, val; in ati_force_enable_hpet() local
433 u32 val; in nvidia_force_enable_hpet() local
542 u32 val; in quirk_amd_nb_node() local
[all …]
/linux-6.14.4/drivers/net/ethernet/8390/
Dstnic.c30 #define word unsigned int macro
87 byte val; in STNIC_READ() local
95 STNIC_WRITE (int reg, byte val) in STNIC_WRITE()
222 half val; in stnic_block_input() local
/linux-6.14.4/drivers/net/ethernet/intel/ice/
Dice_parser_rt.c31 unsigned int word, id; in ice_rt_flag_set() local
45 static void ice_rt_gpr_set(struct ice_parser_rt *rt, int idx, u16 val) in ice_rt_gpr_set()
158 u64 val; in ice_hv_bit_sel() local
191 int word = index / ICE_GPR_FLG_SIZE; in ice_flag_get() local
357 static void ice_gpr_add(struct ice_parser_rt *rt, int idx, u16 val) in ice_gpr_add()
376 static void ice_flg_add(struct ice_parser_rt *rt, int idx, bool val) in ice_flg_add()
427 u32 val; in ice_reg_bit_sel() local
439 static void ice_err_add(struct ice_parser_rt *rt, int idx, bool val) in ice_err_add()
452 bool val) in ice_dst_reg_bit_set()

123456