Home
last modified time | relevance | path

Searched defs:shift (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/linux-6.1.9/arch/alpha/include/uapi/asm/
Dcompiler.h14 # define __kernel_insbl(val, shift) __builtin_alpha_insbl(val, shift) argument
15 # define __kernel_inswl(val, shift) __builtin_alpha_inswl(val, shift) argument
16 # define __kernel_insql(val, shift) __builtin_alpha_insql(val, shift) argument
17 # define __kernel_inslh(val, shift) __builtin_alpha_inslh(val, shift) argument
18 # define __kernel_extbl(val, shift) __builtin_alpha_extbl(val, shift) argument
19 # define __kernel_extwl(val, shift) __builtin_alpha_extwl(val, shift) argument
22 # define __kernel_insbl(val, shift) \ argument
26 # define __kernel_inswl(val, shift) \ argument
30 # define __kernel_insql(val, shift) \ argument
34 # define __kernel_inslh(val, shift) \ argument
[all …]
/linux-6.1.9/drivers/clk/imx/
Dclk.h111 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument
120 #define imx_clk_divider(name, parent, reg, shift, width) \ argument
123 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument
126 #define imx_clk_gate(name, parent, reg, shift) \ argument
129 #define imx_clk_gate_dis(name, parent, reg, shift) \ argument
132 #define imx_clk_gate2(name, parent, reg, shift) \ argument
135 #define imx_clk_gate2_cgr(name, parent, reg, shift, cgr_val) \ argument
138 #define imx_clk_gate2_flags(name, parent, reg, shift, flags) \ argument
141 #define imx_clk_mux(name, reg, shift, width, parents, num_parents) \ argument
144 #define imx_clk_mux_flags(name, reg, shift, width, parents, num_parents, flags) \ argument
[all …]
Dclk-busy.c16 static int clk_busy_wait(void __iomem *reg, u8 shift) in clk_busy_wait()
31 u8 shift; member
77 void __iomem *reg, u8 shift, u8 width, in imx_clk_hw_busy_divider()
121 u8 shift; member
155 struct clk_hw *imx_clk_hw_busy_mux(const char *name, void __iomem *reg, u8 shift, in imx_clk_hw_busy_mux()
/linux-6.1.9/include/linux/
Dbitops.h104 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64()
114 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64()
124 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32()
134 static inline __u32 ror32(__u32 word, unsigned int shift) in ror32()
144 static inline __u16 rol16(__u16 word, unsigned int shift) in rol16()
154 static inline __u16 ror16(__u16 word, unsigned int shift) in ror16()
164 static inline __u8 rol8(__u8 word, unsigned int shift) in rol8()
174 static inline __u8 ror8(__u8 word, unsigned int shift) in ror8()
188 __u8 shift = 31 - index; in sign_extend32() local
199 __u8 shift = 63 - index; in sign_extend64() local
Dclk-provider.h661 u8 shift; member
733 #define clk_register_divider(dev, name, parent_name, flags, reg, shift, width, \ argument
750 #define clk_hw_register_divider(dev, name, parent_name, flags, reg, shift, \ argument
769 shift, width, clk_divider_flags, \ argument
788 reg, shift, width, \ argument
808 shift, width, clk_divider_flags, table, \ argument
828 reg, shift, width, \ argument
849 flags, reg, shift, width, \ argument
868 #define devm_clk_hw_register_divider(dev, name, parent_name, flags, reg, shift, \ argument
886 reg, shift, width, \ argument
[all …]
Dmath64.h160 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr()
167 static inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr()
176 static inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr()
193 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr()
239 static inline u64 mul_s64_u64_shr(s64 a, u64 b, unsigned int shift) in mul_s64_u64_shr()
/linux-6.1.9/drivers/clk/meson/
Dparm.h14 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) argument
15 #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) argument
17 #define PARM_GET(width, shift, reg) \ argument
19 #define PARM_SET(width, shift, reg, val) \ argument
26 u8 shift; member
/linux-6.1.9/drivers/soc/fsl/qe/
Ducc.c89 unsigned int *reg_num, unsigned int *shift) in get_cmxucr_reg()
102 unsigned int shift; in ucc_mux_set_grant_tsa_bkpt() local
123 unsigned int shift; in ucc_set_qe_mux_rxtx() local
505 u32 shift; in ucc_get_tdm_clk_shift() local
520 u32 shift; in ucc_set_tdm_rxtx_clk() local
622 u32 shift; in ucc_get_tdm_sync_shift() local
634 u32 shift; in ucc_set_tdm_rxtx_sync() local
/linux-6.1.9/arch/sparc/mm/
Dhugetlbpage.c134 static pte_t sun4u_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4u_hugepage_shift_to_tte()
139 static pte_t sun4v_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4v_hugepage_shift_to_tte()
172 static pte_t hugepage_shift_to_tte(pte_t entry, unsigned int shift) in hugepage_shift_to_tte()
180 pte_t arch_make_huge_pte(pte_t entry, unsigned int shift, vm_flags_t flags) in arch_make_huge_pte()
202 unsigned int shift; in sun4v_huge_tte_to_shift() local
230 unsigned int shift; in sun4u_huge_tte_to_shift() local
259 unsigned long shift = tte_to_shift(entry); in huge_tte_to_shift() local
334 unsigned int nptes, orig_shift, shift; in set_huge_pte_at() local
370 unsigned int i, nptes, orig_shift, shift; in huge_ptep_get_and_clear() local
/linux-6.1.9/drivers/mfd/
Dtmio_core.c29 int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base) in tmio_core_mmc_enable()
48 int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base) in tmio_core_mmc_resume()
59 void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state) in tmio_core_mmc_pwr()
65 void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state) in tmio_core_mmc_clk_div()
Datmel-smc.c94 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_timing()
136 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_setup()
175 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_pulse()
214 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_cycle()
/linux-6.1.9/drivers/infiniband/core/
Dpacker.c71 int shift; in ib_pack() local
88 int shift; in ib_pack() local
160 int shift; in ib_unpack() local
174 int shift; in ib_unpack() local
/linux-6.1.9/drivers/media/platform/nvidia/tegra-vde/
Diommu.c25 unsigned long shift; in tegra_vde_iommu_map() local
53 unsigned long shift = iova_shift(&vde->iova); in tegra_vde_iommu_unmap() local
66 unsigned long shift; in tegra_vde_iommu_init() local
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_reg.c36 uint32_t value, uint32_t mask, uint8_t shift) in set_reg_field_value_masks()
48 uint32_t shift, mask, field_value; in set_reg_field_values() local
67 uint8_t shift) in get_reg_field_value_ex()
104 void dmub_reg_get(struct dmub_srv *srv, uint32_t addr, uint8_t shift, in dmub_reg_get()
/linux-6.1.9/arch/powerpc/mm/
Dinit-common.c71 #define CTOR(shift) static void ctor_##shift(void *addr) \ argument
79 static inline void (*ctor(int shift))(void *) in ctor()
114 void pgtable_cache_add(unsigned int shift) in pgtable_cache_add()
/linux-6.1.9/arch/powerpc/include/asm/nohash/
Dpgalloc.h37 static inline void pgtable_free(void *table, int shift) in pgtable_free()
49 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb()
61 unsigned shift = (unsigned long)_table & MAX_PGTABLE_INDEX_SIZE; in __tlb_remove_table() local
/linux-6.1.9/sound/pci/ac97/
Dac97_patch.h10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument
13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument
15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument
20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument
/linux-6.1.9/drivers/regulator/
Dmax77802-regulator.c98 int shift = max77802_get_opmode_shift(id); in max77802_set_suspend_disable() local
115 int shift = max77802_get_opmode_shift(id); in max77802_set_mode() local
165 int shift = max77802_get_opmode_shift(id); in max77802_set_suspend_mode() local
213 int shift = max77802_get_opmode_shift(id); in max77802_enable() local
499 int shift = max77802_get_opmode_shift(id); in max77802_pmic_probe() local
Dmax8998.c41 int *reg, int *shift) in max8998_get_enable_register()
85 int ret, reg, shift = 8; in max8998_ldo_is_enabled() local
108 int reg, shift = 8, ret; in max8998_ldo_enable() local
121 int reg, shift = 8, ret; in max8998_ldo_disable() local
135 int reg, shift = 0, mask = 0xff; in max8998_get_voltage_register() local
197 int reg, shift = 0, mask, ret; in max8998_get_voltage_sel() local
219 int reg, shift = 0, mask, ret; in max8998_set_voltage_ldo_sel() local
248 int reg, shift = 0, mask, ret, j; in max8998_set_voltage_buck_sel() local
/linux-6.1.9/arch/powerpc/include/asm/
Dcacheflush.h66 unsigned long shift = l1_dcache_shift(); in flush_dcache_range() local
88 unsigned long shift = l1_dcache_shift(); in clean_dcache_range() local
107 unsigned long shift = l1_dcache_shift(); in invalidate_dcache_range() local
/linux-6.1.9/sound/soc/
Dsoc-ops.c129 unsigned int reg, unsigned int mask, unsigned int shift, in snd_soc_read_signed()
261 unsigned int shift = mc->shift; in snd_soc_get_volsw() local
321 unsigned int shift = mc->shift; in snd_soc_put_volsw() local
403 unsigned int shift = mc->shift; in snd_soc_get_volsw_sx() local
441 unsigned int shift = mc->shift; in snd_soc_put_volsw_sx() local
538 unsigned int shift = mc->shift; in snd_soc_put_volsw_range() local
611 unsigned int shift = mc->shift; in snd_soc_get_volsw_range() local
975 unsigned int shift = mc->shift; in snd_soc_get_strobe() local
1008 unsigned int shift = mc->shift; in snd_soc_put_strobe() local
/linux-6.1.9/arch/arm64/lib/
Dinsn.c112 int shift; in aarch64_get_imm_shift_mask() local
176 int shift; in aarch64_insn_decode_immediate() local
201 int shift; in aarch64_insn_encode_immediate() local
234 int shift; in aarch64_insn_decode_register() local
264 int shift; in aarch64_insn_encode_register() local
509 u32 shift; in aarch64_insn_gen_load_store_imm() local
576 int shift; in aarch64_insn_gen_load_store_pair() local
1006 int imm, int shift, in aarch64_insn_gen_movewide()
1063 int shift, in aarch64_insn_gen_add_sub_shifted_reg()
1257 int shift, in aarch64_insn_gen_logical_shifted_reg()
/linux-6.1.9/arch/arm64/crypto/
Daes-cipher-core.S20 .macro __pair1, sz, op, reg0, reg1, in0, in1e, in1d, shift
49 .macro __pair0, sz, op, reg0, reg1, in0, in1e, in1d, shift
/linux-6.1.9/net/sunrpc/
Dxdr.c537 unsigned int shift) in xdr_buf_tail_copy_right()
551 unsigned int shift) in xdr_buf_pages_copy_right()
584 unsigned int shift) in xdr_buf_head_copy_right()
631 unsigned int shift) in xdr_buf_tail_shift_right()
642 unsigned int shift) in xdr_buf_pages_shift_right()
658 unsigned int shift) in xdr_buf_head_shift_right()
676 unsigned int len, unsigned int shift) in xdr_buf_tail_copy_left()
721 unsigned int shift) in xdr_buf_pages_copy_left()
754 unsigned int shift) in xdr_buf_tail_shift_left()
763 unsigned int shift) in xdr_buf_pages_shift_left()
[all …]
/linux-6.1.9/arch/arm/mach-omap2/
Dprminst44xx.c99 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted()
123 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset()
152 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, in omap4_prminst_deassert_hardreset()

12345678910>>...45