Home
last modified time | relevance | path

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

12345678910>>...47

/linux-6.12.1/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.12.1/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.12.1/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()
189 __u8 shift = 31 - index; in sign_extend32() local
200 __u8 shift = 63 - index; in sign_extend64() local
/linux-6.12.1/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.12.1/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
124 unsigned int shift; in ucc_set_qe_mux_rxtx() local
506 u32 shift; in ucc_get_tdm_clk_shift() local
521 u32 shift; in ucc_set_tdm_rxtx_clk() local
623 u32 shift; in ucc_get_tdm_sync_shift() local
635 u32 shift; in ucc_set_tdm_rxtx_sync() local
/linux-6.12.1/drivers/gpio/
Dgpio-tangier.c77 u8 shift = offset % 32; in gpio_reg_and_bit() local
86 u8 shift; in tng_gpio_get() local
97 u8 shift; in tng_gpio_set() local
111 u8 shift; in tng_gpio_direction_input() local
129 u8 shift; in tng_gpio_direction_output() local
146 u8 shift; in tng_gpio_get_direction() local
162 u8 shift; in tng_gpio_set_debounce() local
202 u8 shift; in tng_irq_ack() local
215 u8 shift; in tng_irq_unmask_mask() local
258 u8 shift = gpio % 32; in tng_irq_set_type() local
[all …]
/linux-6.12.1/arch/sparc/mm/
Dhugetlbpage.c131 static pte_t sun4u_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4u_hugepage_shift_to_tte()
136 static pte_t sun4v_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4v_hugepage_shift_to_tte()
169 static pte_t hugepage_shift_to_tte(pte_t entry, unsigned int shift) in hugepage_shift_to_tte()
177 pte_t arch_make_huge_pte(pte_t entry, unsigned int shift, vm_flags_t flags) in arch_make_huge_pte()
199 unsigned int shift; in sun4v_huge_tte_to_shift() local
227 unsigned int shift; in sun4u_huge_tte_to_shift() local
256 unsigned long shift = tte_to_shift(entry); in huge_tte_to_shift() local
331 unsigned int nptes, orig_shift, shift; in __set_huge_pte_at() local
373 unsigned int i, nptes, orig_shift, shift; in huge_ptep_get_and_clear() local
/linux-6.12.1/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.12.1/drivers/net/ethernet/ti/icssg/
Dicssg_mii_cfg.c74 u32 val, mask, shift; in icssg_miig_set_interface_mode() local
88 u32 icssg_rgmii_cfg_get_bitfield(struct regmap *miig_rt, u32 mask, u32 shift) in icssg_rgmii_cfg_get_bitfield()
101 u32 shift = RGMII_CFG_SPEED_MII0_SHIFT, mask = RGMII_CFG_SPEED_MII0; in icssg_rgmii_get_speed() local
114 u32 shift = RGMII_CFG_FULLDUPLEX_MII0_SHIFT; in icssg_rgmii_get_fullduplex() local
/linux-6.12.1/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.12.1/arch/powerpc/include/asm/nohash/
Dpgalloc.h43 static inline void pgtable_free(void *table, int shift) in pgtable_free()
53 static inline void pgtable_free_tlb(struct mmu_gather *tlb, void *table, int shift) in pgtable_free_tlb()
65 unsigned shift = (unsigned long)_table & MAX_PGTABLE_INDEX_SIZE; in __tlb_remove_table() local
Dhugetlb-e500.h7 static inline int check_and_get_huge_psize(int shift) in check_and_get_huge_psize()
15 static inline pte_t arch_make_huge_pte(pte_t entry, unsigned int shift, vm_flags_t flags) in arch_make_huge_pte()
/linux-6.12.1/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.12.1/drivers/regulator/
Dmax8998.c44 int *reg, int *shift) in max8998_get_enable_register()
88 int ret, reg, shift = 8; in max8998_ldo_is_enabled() local
111 int reg, shift = 8, ret; in max8998_ldo_enable() local
124 int reg, shift = 8, ret; in max8998_ldo_disable() local
138 int reg, shift = 0, mask = 0xff; in max8998_get_voltage_register() local
200 int reg, shift = 0, mask, ret; in max8998_get_voltage_sel() local
222 int reg, shift = 0, mask, ret; in max8998_set_voltage_ldo_sel() local
251 int reg, shift = 0, mask, ret, j; in max8998_set_voltage_buck_sel() local
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
/linux-6.12.1/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.12.1/arch/powerpc/mm/
Dinit-common.c74 #define CTOR(shift) static void ctor_##shift(void *addr) \ argument
82 static inline void (*ctor(int shift))(void *) in ctor()
117 void pgtable_cache_add(unsigned int shift) in pgtable_cache_add()
Dhugetlbpage.c138 int shift = __ffs(size); in arch_hugetlb_valid_size() local
157 int shift = __ffs(size); in add_huge_page_size() local
181 unsigned shift; in hugetlbpage_init() local
/linux-6.12.1/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.12.1/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.12.1/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.12.1/sound/soc/
Dsoc-ops.c130 unsigned int reg, unsigned int mask, unsigned int shift, in snd_soc_read_signed()
262 unsigned int shift = mc->shift; in snd_soc_get_volsw() local
322 unsigned int shift = mc->shift; in snd_soc_put_volsw() local
404 unsigned int shift = mc->shift; in snd_soc_get_volsw_sx() local
442 unsigned int shift = mc->shift; in snd_soc_put_volsw_sx() local
539 unsigned int shift = mc->shift; in snd_soc_put_volsw_range() local
612 unsigned int shift = mc->shift; in snd_soc_get_volsw_range() local
969 unsigned int shift = mc->shift; in snd_soc_get_strobe() local
1002 unsigned int shift = mc->shift; in snd_soc_put_strobe() local
/linux-6.12.1/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.12.1/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>>...47