Home
last modified time | relevance | path

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

12345678910>>...46

/linux-6.6.21/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.6.21/drivers/clk/imx/
Dclk.h118 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument
127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument
130 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument
133 #define imx_clk_gate(name, parent, reg, shift) \ argument
136 #define imx_clk_gate_dis(name, parent, reg, shift) \ argument
139 #define imx_clk_gate2(name, parent, reg, shift) \ argument
142 #define imx_clk_gate2_cgr(name, parent, reg, shift, cgr_val) \ argument
145 #define imx_clk_gate2_flags(name, parent, reg, shift, flags) \ argument
148 #define imx_clk_mux(name, reg, shift, width, parents, num_parents) \ argument
151 #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
156 struct clk_hw *imx_clk_hw_busy_mux(const char *name, void __iomem *reg, u8 shift, in imx_clk_hw_busy_mux()
/linux-6.6.21/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.h682 u8 shift; member
754 #define clk_register_divider(dev, name, parent_name, flags, reg, shift, width, \ argument
771 #define clk_hw_register_divider(dev, name, parent_name, flags, reg, shift, \ argument
790 shift, width, clk_divider_flags, \ argument
809 reg, shift, width, \ argument
829 shift, width, clk_divider_flags, table, \ argument
849 reg, shift, width, \ argument
870 flags, reg, shift, width, \ argument
889 #define devm_clk_hw_register_divider(dev, name, parent_name, flags, reg, shift, \ argument
907 reg, shift, width, \ argument
[all …]
Dmath64.h164 static __always_inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr()
171 static __always_inline u64 mul_u64_u64_shr(u64 a, u64 mul, unsigned int shift) in mul_u64_u64_shr()
180 static __always_inline u64 mul_u64_u32_shr(u64 a, u32 mul, unsigned int shift) in mul_u64_u32_shr()
197 static inline u64 mul_u64_u64_shr(u64 a, u64 b, unsigned int shift) in mul_u64_u64_shr()
243 static inline u64 mul_s64_u64_shr(s64 a, u64 b, unsigned int shift) in mul_s64_u64_shr()
/linux-6.6.21/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.6.21/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.6.21/drivers/gpio/
Dgpio-tangier.c75 u8 shift = offset % 32; in gpio_reg_and_bit() local
84 u8 shift; in tng_gpio_get() local
96 u8 shift; in tng_gpio_set() local
113 u8 shift; in tng_gpio_direction_input() local
134 u8 shift; in tng_gpio_direction_output() local
153 u8 shift; in tng_gpio_get_direction() local
170 u8 shift; in tng_gpio_set_debounce() local
212 u8 shift; in tng_irq_ack() local
226 u8 shift; in tng_irq_unmask_mask() local
269 u8 shift = gpio % 32; in tng_irq_set_type() local
[all …]
/linux-6.6.21/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
376 unsigned int i, nptes, orig_shift, shift; in huge_ptep_get_and_clear() local
/linux-6.6.21/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.6.21/drivers/net/ethernet/ti/icssg/
Dicssg_mii_cfg.c72 u32 val, mask, shift; in icssg_miig_set_interface_mode() local
86 u32 icssg_rgmii_cfg_get_bitfield(struct regmap *miig_rt, u32 mask, u32 shift) in icssg_rgmii_cfg_get_bitfield()
99 u32 shift = RGMII_CFG_SPEED_MII0_SHIFT, mask = RGMII_CFG_SPEED_MII0; in icssg_rgmii_get_speed() local
111 u32 shift = RGMII_CFG_FULLDUPLEX_MII0_SHIFT; in icssg_rgmii_get_fullduplex() local
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/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.6.21/drivers/regulator/
Dmax77802-regulator.c98 int shift = max77802_get_opmode_shift(id); in max77802_set_suspend_disable() local
117 int shift = max77802_get_opmode_shift(id); in max77802_set_mode() local
172 int shift = max77802_get_opmode_shift(id); in max77802_set_suspend_mode() local
223 int shift = max77802_get_opmode_shift(id); in max77802_enable() local
511 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.6.21/drivers/mfd/
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.6.21/arch/s390/include/asm/
Dcmpxchg.h21 int shift; in __arch_xchg() local
93 unsigned int prev, shift, mask; in __cmpxchg() local
123 unsigned int prev, shift, mask; in __cmpxchg() local
/linux-6.6.21/arch/powerpc/include/asm/
Dcacheflush.h72 unsigned long shift = l1_dcache_shift(); in flush_dcache_range() local
94 unsigned long shift = l1_dcache_shift(); in clean_dcache_range() local
113 unsigned long shift = l1_dcache_shift(); in invalidate_dcache_range() local
/linux-6.6.21/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.6.21/arch/arm64/lib/
Dinsn.c27 int shift; in aarch64_get_imm_shift_mask() local
91 int shift; in aarch64_insn_decode_immediate() local
116 int shift; in aarch64_insn_encode_immediate() local
149 int shift; in aarch64_insn_decode_register() local
179 int shift; in aarch64_insn_encode_register() local
417 u32 shift; in aarch64_insn_gen_load_store_imm() local
487 int shift; in aarch64_insn_gen_load_store_pair() local
847 int imm, int shift, in aarch64_insn_gen_movewide()
904 int shift, in aarch64_insn_gen_add_sub_shifted_reg()
1098 int shift, in aarch64_insn_gen_logical_shifted_reg()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvif/
Dvmm.c109 u8 shift) in nvif_vmm_raw_get()
124 nvif_vmm_raw_put(struct nvif_vmm *vmm, u64 addr, u64 size, u8 shift) in nvif_vmm_raw_put()
139 nvif_vmm_raw_map(struct nvif_vmm *vmm, u64 addr, u64 size, u8 shift, in nvif_vmm_raw_map()
161 u8 shift, bool sparse) in nvif_vmm_raw_unmap()

12345678910>>...46