Home
last modified time | relevance | path

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

12345678910>>...42

/linux/arch/alpha/include/uapi/asm/
H A 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/arch/sparc/mm/
H A Dhugetlbpage.c23 static pte_t sun4u_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4u_hugepage_shift_to_tte()
28 static pte_t sun4v_hugepage_shift_to_tte(pte_t entry, unsigned int shift) in sun4v_hugepage_shift_to_tte()
61 static pte_t hugepage_shift_to_tte(pte_t entry, unsigned int shift) in hugepage_shift_to_tte()
69 pte_t arch_make_huge_pte(pte_t entry, unsigned int shift, vm_flags_t flags) in arch_make_huge_pte()
91 unsigned int shift; in sun4v_huge_tte_to_shift() local
119 unsigned int shift; in sun4u_huge_tte_to_shift() local
148 unsigned long shift = tte_to_shift(entry); in huge_tte_to_shift() local
223 unsigned int nptes, orig_shift, shift; in __set_huge_pte_at() local
265 unsigned int i, nptes, orig_shift, shift; in huge_ptep_get_and_clear() local
/linux/include/linux/
H A 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
H A 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()
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/drivers/clk/meson/
H A 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/drivers/soc/fsl/qe/
H A 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/drivers/gpio/
H A 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
113 u8 shift; in tng_gpio_direction_input() local
131 u8 shift; in tng_gpio_direction_output() local
148 u8 shift; in tng_gpio_get_direction() local
164 u8 shift; in tng_gpio_set_debounce() local
204 u8 shift; in tng_irq_ack() local
217 u8 shift; in tng_irq_unmask_mask() local
260 u8 shift = gpio % 32; in tng_irq_set_type() local
[all …]
/linux/drivers/infiniband/core/
H A 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/drivers/clk/imx/
H A 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/drivers/media/platform/nvidia/tegra-vde/
H A 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/arch/powerpc/include/asm/nohash/
H A 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
H A 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/drivers/gpu/drm/amd/display/dmub/src/
H A 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/sound/pci/ac97/
H A 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/drivers/regulator/
H A 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
H A 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
/linux/arch/powerpc/mm/
H A Dinit-common.c75 #define CTOR(shift) static void ctor_##shift(void *addr) \ argument
83 static inline void (*ctor(int shift))(void *) in ctor()
118 void pgtable_cache_add(unsigned int shift) in pgtable_cache_add()
/linux/drivers/mfd/
H A Datmel-smc.c101 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_timing()
143 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_setup()
182 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_pulse()
221 unsigned int shift, unsigned int ncycles) in atmel_smc_cs_conf_set_cycle()
/linux/arch/powerpc/include/asm/
H A 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/drivers/clk/sunxi-ng/
H A Dccu_mp.c13 static unsigned int next_div(unsigned int div, bool shift) in next_div()
22 bool shift, in ccu_mp_find_best()
55 bool shift) in ccu_mp_find_best_with_parent_adj()
115 bool shift = true; in ccu_mp_round_rate() local
214 bool shift = true; in ccu_mp_set_rate() local
/linux/drivers/gpu/drm/nouveau/nvif/
H A 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()
/linux/arch/arm64/crypto/
H A 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/arch/arm64/lib/
H A Dinsn.c28 int shift; in aarch64_get_imm_shift_mask() local
92 int shift; in aarch64_insn_decode_immediate() local
117 int shift; in aarch64_insn_encode_immediate() local
150 int shift; in aarch64_insn_decode_register() local
180 int shift; in aarch64_insn_encode_register() local
418 u32 shift; in aarch64_insn_gen_load_store_imm() local
488 int shift; in aarch64_insn_gen_load_store_pair() local
877 int imm, int shift, in aarch64_insn_gen_movewide()
934 int shift, in aarch64_insn_gen_add_sub_shifted_reg()
1128 int shift, in aarch64_insn_gen_logical_shifted_reg()
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c55 static void rotate_buf_a_little(struct xdr_buf *buf, unsigned int shift) in rotate_buf_a_little()
72 static void _rotate_left(struct xdr_buf *buf, unsigned int shift) in _rotate_left()
85 static void rotate_left(u32 base, struct xdr_buf *buf, unsigned int shift) in rotate_left()
/linux/drivers/clk/renesas/
H A Dclk-r8a73a4.c36 unsigned int shift; member
63 unsigned int shift, reg; in r8a73a4_cpg_register_clock() local
150 u32 shift = 8; in r8a73a4_cpg_register_clock() local

12345678910>>...42