/kernel/linux/linux-5.10/sound/pci/ice1712/ |
H A D | pontis.c | 77 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache() argument 80 cval = (reg << 9) | val; in wm_put_nocache() 84 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put() argument 86 wm_put_nocache(ice, reg, val); in wm_put() 88 ice->akm[0].images[reg] = val >> 8; in wm_put() 89 ice->akm[0].images[reg + 1] = val; in wm_put() 112 unsigned short val; in wm_dac_vol_get() local 117 val = wm_get(ice, WM_DAC_ATTEN_L + i) & 0xff; in wm_dac_vol_get() 118 val = val > DAC_MI in wm_dac_vol_get() 167 unsigned short val; wm_adc_vol_get() local 256 unsigned short val, oval; wm_bypass_put() local 291 unsigned short val, oval; wm_chswap_put() local 313 set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) set_gpio_bit() argument 340 unsigned int val = 0; spi_read_byte() local 374 unsigned int val; spi_read() local 422 unsigned char val; cs_source_put() local 462 unsigned int val; pontis_gpio_mask_put() local 486 unsigned int val; pontis_gpio_dir_put() local 511 unsigned int val, nval; pontis_gpio_data_put() local 622 unsigned int reg, val; wm_proc_regs_write() local 636 int reg, val; wm_proc_regs_read() local 655 int reg, val; cs_proc_regs_read() local [all...] |
/kernel/linux/linux-6.6/drivers/char/ipmi/ |
H A D | ipmi_devintf.c | 355 struct ipmi_cmdspec val; in ipmi_ioctl() local 357 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() 362 rv = ipmi_register_for_cmd(priv->user, val.netfn, val.cmd, in ipmi_ioctl() 369 struct ipmi_cmdspec val; in ipmi_ioctl() local 371 if (copy_from_user(&val, arg, sizeof(val))) { in ipmi_ioctl() 376 rv = ipmi_unregister_for_cmd(priv->user, val.netfn, val in ipmi_ioctl() 383 struct ipmi_cmdspec_chans val; ipmi_ioctl() local 397 struct ipmi_cmdspec_chans val; ipmi_ioctl() local 411 int val; ipmi_ioctl() local 425 unsigned int val; ipmi_ioctl() local 438 unsigned int val; ipmi_ioctl() local 456 unsigned int val; ipmi_ioctl() local 469 unsigned int val; ipmi_ioctl() local 487 struct ipmi_channel_lun_address_set val; ipmi_ioctl() local 499 struct ipmi_channel_lun_address_set val; ipmi_ioctl() local 519 struct ipmi_channel_lun_address_set val; ipmi_ioctl() local 532 struct ipmi_channel_lun_address_set val; ipmi_ioctl() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ice1712/ |
H A D | pontis.c | 77 static void wm_put_nocache(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put_nocache() argument 80 cval = (reg << 9) | val; in wm_put_nocache() 84 static void wm_put(struct snd_ice1712 *ice, int reg, unsigned short val) in wm_put() argument 86 wm_put_nocache(ice, reg, val); in wm_put() 88 ice->akm[0].images[reg] = val >> 8; in wm_put() 89 ice->akm[0].images[reg + 1] = val; in wm_put() 112 unsigned short val; in wm_dac_vol_get() local 117 val = wm_get(ice, WM_DAC_ATTEN_L + i) & 0xff; in wm_dac_vol_get() 118 val = val > DAC_MI in wm_dac_vol_get() 167 unsigned short val; wm_adc_vol_get() local 256 unsigned short val, oval; wm_bypass_put() local 291 unsigned short val, oval; wm_chswap_put() local 313 set_gpio_bit(struct snd_ice1712 *ice, unsigned int bit, int val) set_gpio_bit() argument 340 unsigned int val = 0; spi_read_byte() local 374 unsigned int val; spi_read() local 422 unsigned char val; cs_source_put() local 462 unsigned int val; pontis_gpio_mask_put() local 486 unsigned int val; pontis_gpio_dir_put() local 511 unsigned int val, nval; pontis_gpio_data_put() local 622 unsigned int reg, val; wm_proc_regs_write() local 636 int reg, val; wm_proc_regs_read() local 655 int reg, val; cs_proc_regs_read() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_algebraic.py | 108 def create(val): 109 if isinstance(val, tuple): 110 return SearchExpression(val) 112 assert(isinstance(val, SearchExpression)) 113 return val 123 def create(val, name_base, varset, algebraic_pass): 124 if isinstance(val, bytes): 125 val = val.decode('utf-8') 127 if isinstance(val, tupl [all...] |
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ipv6_sockglue.c | 397 int val, valbool; in do_ipv6_setsockopt() local 402 val = 0; in do_ipv6_setsockopt() 405 if (copy_from_sockptr(&val, optval, sizeof(val))) in do_ipv6_setsockopt() 408 val = 0; in do_ipv6_setsockopt() 411 valbool = (val != 0); in do_ipv6_setsockopt() 431 if (val == PF_INET) { in do_ipv6_setsockopt() 600 if (val < -1 || val > 0xff) in do_ipv6_setsockopt() 603 if (val in do_ipv6_setsockopt() 1128 int val; do_ipv6_getsockopt() local [all...] |
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfutil.c | 48 unsigned int val = *buf; in BitOrderInvert() local 51 val = ( ( val >> 1 ) & 0x55 ) | ( ( val << 1 ) & 0xAA ); in BitOrderInvert() 52 val = ( ( val >> 2 ) & 0x33 ) | ( ( val << 2 ) & 0xCC ); in BitOrderInvert() 53 val = ( ( val >> 4 ) & 0x0F ) | ( ( val << in BitOrderInvert() [all...] |
/third_party/skia/infra/bots/recipe_modules/build/ |
H A D | util.py | 32 def py_to_gn(val): 33 """Convert val to a string that can be used as GN args.""" 34 if isinstance(val, bool): 35 return 'true' if val else 'false' 36 elif '%s' % val == val: 38 return '"%s"' % val 39 elif isinstance(val, (list, tuple)): 40 return '[%s]' % (','.join(py_to_gn(x) for x in val)) 41 elif isinstance(val, dic [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/device/backend/ |
H A D | mali_kbase_device_hw_jm.c | 57 void kbase_gpu_interrupt(struct kbase_device *kbdev, u32 val) in kbase_gpu_interrupt() argument 59 KBASE_KTRACE_ADD(kbdev, CORE_GPU_IRQ, NULL, val); in kbase_gpu_interrupt() 60 if (val & GPU_FAULT) in kbase_gpu_interrupt() 61 kbase_report_gpu_fault(kbdev, val & MULTIPLE_GPU_FAULTS); in kbase_gpu_interrupt() 63 if (val & RESET_COMPLETED) in kbase_gpu_interrupt() 66 if (val & PRFCNT_SAMPLE_COMPLETED) in kbase_gpu_interrupt() 69 KBASE_KTRACE_ADD(kbdev, CORE_GPU_IRQ_CLEAR, NULL, val); in kbase_gpu_interrupt() 70 kbase_reg_write(kbdev, GPU_CONTROL_REG(GPU_IRQ_CLEAR), val); in kbase_gpu_interrupt() 81 if (val & CLEAN_CACHES_COMPLETED) in kbase_gpu_interrupt() 84 if (val in kbase_gpu_interrupt() 120 u32 val; kbase_reg_read() local [all...] |
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | module.h | 49 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val); 50 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val); 52 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry() argument 54 return (struct got_entry) { val }; in emit_got_entry() 57 static inline struct plt_entry emit_plt_entry(unsigned long val) in emit_plt_entry() argument 61 addu16id = larch_insn_gen_addu16id(REG_T1, REG_ZERO, ADDR_IMM(val, ADDU16ID)); in emit_plt_entry() 62 lu32id = larch_insn_gen_lu32id(REG_T1, ADDR_IMM(val, LU32ID)); in emit_plt_entry() 63 lu52id = larch_insn_gen_lu52id(REG_T1, REG_T1, ADDR_IMM(val, LU52ID)); in emit_plt_entry() 64 jirl = larch_insn_gen_jirl(0, REG_T1, 0, (val & 0xffff)); in emit_plt_entry() 69 static inline struct plt_idx_entry emit_plt_idx_entry(unsigned long val) in emit_plt_idx_entry() argument 74 get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) get_plt_idx() argument 87 get_plt_entry(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec_plt, const struct mod_section *sec_plt_idx) get_plt_entry() argument 101 get_got_entry(Elf_Addr val, Elf_Shdr *sechdrs, const struct mod_section *sec) get_got_entry() argument [all...] |
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | module.h | 43 Elf_Addr module_emit_got_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val); 44 Elf_Addr module_emit_plt_entry(struct module *mod, Elf_Shdr *sechdrs, Elf_Addr val); 46 static inline struct got_entry emit_got_entry(Elf_Addr val) in emit_got_entry() argument 48 return (struct got_entry) { val }; in emit_got_entry() 51 static inline struct plt_entry emit_plt_entry(unsigned long val) in emit_plt_entry() argument 55 lu12iw = larch_insn_gen_lu12iw(LOONGARCH_GPR_T1, ADDR_IMM(val, LU12IW)); in emit_plt_entry() 56 lu32id = larch_insn_gen_lu32id(LOONGARCH_GPR_T1, ADDR_IMM(val, LU32ID)); in emit_plt_entry() 57 lu52id = larch_insn_gen_lu52id(LOONGARCH_GPR_T1, LOONGARCH_GPR_T1, ADDR_IMM(val, LU52ID)); in emit_plt_entry() 58 jirl = larch_insn_gen_jirl(0, LOONGARCH_GPR_T1, ADDR_IMM(val, ORI)); in emit_plt_entry() 63 static inline struct plt_idx_entry emit_plt_idx_entry(unsigned long val) in emit_plt_idx_entry() argument 68 get_plt_idx(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec) get_plt_idx() argument 81 get_plt_entry(unsigned long val, Elf_Shdr *sechdrs, const struct mod_section *sec_plt, const struct mod_section *sec_plt_idx) get_plt_entry() argument 95 get_got_entry(Elf_Addr val, Elf_Shdr *sechdrs, const struct mod_section *sec) get_got_entry() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/trace/beauty/ |
H A D | fcntl.c | 12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getfd() argument 14 return val ? scnprintf(bf, size, "%s", "0") : in fcntl__scnprintf_getfd() 20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getfd() 23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getlease() argument 28 return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); in fcntl__scnprintf_getlease() 33 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getlease() 38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd() 42 if (arg->val == F_GETFD) { in syscall_arg__scnprintf_fcntl_cmd() 46 if (arg->val == F_DUPFD_CLOEXEC || arg->val in syscall_arg__scnprintf_fcntl_cmd() [all...] |
/kernel/linux/linux-5.10/include/asm-generic/ |
H A D | export.h | 19 .macro __put, val, name variable 21 .long \val - ., \name - ., 0 23 .quad \val, \name, 0 25 .long \val, \name, 0 35 .macro ___EXPORT_SYMBOL name,val,sec variable 40 __put \val, __kstrtab_\name 71 #define __EXPORT_SYMBOL(sym, val, sec) \ 73 __cond_export_sym(sym, val, sec, __is_defined(__KSYM_##sym)) 74 #define __cond_export_sym(sym, val, sec, conf) \ 75 ___cond_export_sym(sym, val, se [all...] |
/kernel/linux/linux-6.6/tools/perf/trace/beauty/ |
H A D | fcntl.c | 12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getfd() argument 14 return val ? scnprintf(bf, size, "%s", "0") : in fcntl__scnprintf_getfd() 20 return fcntl__scnprintf_getfd(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getfd() 23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getlease() argument 28 return strarray__scnprintf(&strarray__fcntl_setlease, bf, size, "%x", show_prefix, val); in fcntl__scnprintf_getlease() 33 return fcntl__scnprintf_getlease(arg->val, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_fcntl_getlease() 38 if (arg->val == F_GETFL) { in syscall_arg__scnprintf_fcntl_cmd() 42 if (arg->val == F_GETFD) { in syscall_arg__scnprintf_fcntl_cmd() 46 if (arg->val == F_DUPFD_CLOEXEC || arg->val in syscall_arg__scnprintf_fcntl_cmd() [all...] |
/third_party/libunwind/libunwind/src/hppa/ |
H A D | Ginit.c | 88 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() argument 93 Debug (12, "mem[%x] <- %x\n", addr, *val); in access_mem() 94 *(unw_word_t *) addr = *val; in access_mem() 98 *val = *(unw_word_t *) addr; in access_mem() 99 Debug (12, "mem[%x] -> %x\n", addr, *val); in access_mem() 105 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() argument 120 *(unw_word_t *) addr = *val; in access_reg() 121 Debug (12, "%s <- %x\n", unw_regname (reg), *val); in access_reg() 125 *val = *(unw_word_t *) addr; in access_reg() 126 Debug (12, "%s -> %x\n", unw_regname (reg), *val); in access_reg() 136 access_fpreg(unw_addr_space_t as, unw_regnum_t reg, unw_fpreg_t *val, int write, void *arg) access_fpreg() argument [all...] |
/third_party/libunwind/libunwind/src/x86_64/ |
H A D | Gstash_frame.c | 34 Debug (4, "ip=0x%lx cfa=0x%lx type %d cfa [where=%d val=%ld] cfaoff=%ld" in tdep_stash_frame() 35 " ra=0x%lx rbp [where=%d val=%ld @0x%lx] rsp [where=%d val=%ld @0x%lx]\n", in tdep_stash_frame() 38 rs->reg.val[DWARF_CFA_REG_COLUMN], in tdep_stash_frame() 39 rs->reg.val[DWARF_CFA_OFF_COLUMN], in tdep_stash_frame() 41 rs->reg.where[RBP], rs->reg.val[RBP], DWARF_GET_LOC(d->loc[RBP]), in tdep_stash_frame() 42 rs->reg.where[RSP], rs->reg.val[RSP], DWARF_GET_LOC(d->loc[RSP])); in tdep_stash_frame() 49 unw_word_t cfa_addr = rs->reg.val[DWARF_CFA_REG_COLUMN]; in tdep_stash_frame() 50 unw_word_t rbp_addr = rs->reg.val[RBP]; in tdep_stash_frame() 68 && (rs->reg.val[DWARF_CFA_REG_COLUM in tdep_stash_frame() [all...] |
/third_party/lwip/src/core/ipv4/ |
H A D | ip4_addr.c | 125 ip4_addr_t val; in ipaddr_addr() local 127 if (ip4addr_aton(cp, &val)) { in ipaddr_addr() 128 return ip4_addr_get_u32(&val); in ipaddr_addr() 147 u32_t val; in ip4addr_aton() local 163 val = 0; in ip4addr_aton() 178 val = (val * base) + (u32_t)(c - '0'); in ip4addr_aton() 181 val = (val << 4) | (u32_t)(c + 10 - (lwip_islower(c) ? 'a' : 'A')); in ip4addr_aton() 197 *pp++ = val; in ip4addr_aton() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | sun_esp.c | 176 u8 bursts, val; in esp_get_bursts() local 180 val = of_getintprop_default(dma_dp, "burst-sizes", 0xff); in esp_get_bursts() 181 if (val != 0xff) in esp_get_bursts() 182 bursts &= val; in esp_get_bursts() 184 val = of_getintprop_default(dma_dp->parent, "burst-sizes", 0xff); in esp_get_bursts() 185 if (val != 0xff) in esp_get_bursts() 186 bursts &= val; in esp_get_bursts() 204 static void sbus_esp_write8(struct esp *esp, u8 val, unsigned long reg) in sbus_esp_write8() argument 206 sbus_writeb(val, esp->regs + (reg * 4UL)); in sbus_esp_write8() 226 u32 val; in sbus_esp_reset_dma() local 364 u32 val; sbus_esp_dma_invalidate() local 498 u32 val = dma_read32(DMA_CSR); esp_sbus_probe_one() local 558 u32 val; esp_sbus_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | sun_esp.c | 177 u8 bursts, val; in esp_get_bursts() local 181 val = of_getintprop_default(dma_dp, "burst-sizes", 0xff); in esp_get_bursts() 182 if (val != 0xff) in esp_get_bursts() 183 bursts &= val; in esp_get_bursts() 185 val = of_getintprop_default(dma_dp->parent, "burst-sizes", 0xff); in esp_get_bursts() 186 if (val != 0xff) in esp_get_bursts() 187 bursts &= val; in esp_get_bursts() 205 static void sbus_esp_write8(struct esp *esp, u8 val, unsigned long reg) in sbus_esp_write8() argument 207 sbus_writeb(val, esp->regs + (reg * 4UL)); in sbus_esp_write8() 227 u32 val; in sbus_esp_reset_dma() local 365 u32 val; sbus_esp_dma_invalidate() local 499 u32 val = dma_read32(DMA_CSR); esp_sbus_probe_one() local 559 u32 val; esp_sbus_remove() local [all...] |
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | apple_m1_cpu_pmu.c | 206 static void m1_pmu_write_hw_counter(u64 val, unsigned int index) in m1_pmu_write_hw_counter() argument 209 PMU_WRITE_COUNTER(val, 0); in m1_pmu_write_hw_counter() 210 PMU_WRITE_COUNTER(val, 1); in m1_pmu_write_hw_counter() 211 PMU_WRITE_COUNTER(val, 2); in m1_pmu_write_hw_counter() 212 PMU_WRITE_COUNTER(val, 3); in m1_pmu_write_hw_counter() 213 PMU_WRITE_COUNTER(val, 4); in m1_pmu_write_hw_counter() 214 PMU_WRITE_COUNTER(val, 5); in m1_pmu_write_hw_counter() 215 PMU_WRITE_COUNTER(val, 6); in m1_pmu_write_hw_counter() 216 PMU_WRITE_COUNTER(val, 7); in m1_pmu_write_hw_counter() 217 PMU_WRITE_COUNTER(val, in m1_pmu_write_hw_counter() 228 u64 val, bit; __m1_pmu_enable_counter() local 263 u64 val, bit; __m1_pmu_enable_counter_interrupt() local 299 u64 val, user_bit, kernel_bit; m1_pmu_configure_counter() local 466 u64 val; __m1_pmu_set_mode() local [all...] |
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | arch_timer.h | 27 void arch_timer_reg_write_cp15(int access, enum arch_timer_reg reg, u32 val) in arch_timer_reg_write_cp15() argument 32 asm volatile("mcr p15, 0, %0, c14, c2, 1" : : "r" (val)); in arch_timer_reg_write_cp15() 35 asm volatile("mcr p15, 0, %0, c14, c2, 0" : : "r" (val)); in arch_timer_reg_write_cp15() 41 asm volatile("mcr p15, 0, %0, c14, c3, 1" : : "r" (val)); in arch_timer_reg_write_cp15() 44 asm volatile("mcr p15, 0, %0, c14, c3, 0" : : "r" (val)); in arch_timer_reg_write_cp15() 55 u32 val = 0; in arch_timer_reg_read_cp15() local 60 asm volatile("mrc p15, 0, %0, c14, c2, 1" : "=r" (val)); in arch_timer_reg_read_cp15() 63 asm volatile("mrc p15, 0, %0, c14, c2, 0" : "=r" (val)); in arch_timer_reg_read_cp15() 69 asm volatile("mrc p15, 0, %0, c14, c3, 1" : "=r" (val)); in arch_timer_reg_read_cp15() 72 asm volatile("mrc p15, 0, %0, c14, c3, 0" : "=r" (val)); in arch_timer_reg_read_cp15() 82 u32 val; arch_timer_get_cntfrq() local [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | pcf50633-gpio.c | 33 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) in pcf50633_gpio_set() argument 39 return pcf50633_reg_set_bit_mask(pcf, reg, 0x07, val); in pcf50633_gpio_set() 45 u8 reg, val; in pcf50633_gpio_get() local 48 val = pcf50633_reg_read(pcf, reg) & 0x07; in pcf50633_gpio_get() 50 return val; in pcf50633_gpio_get() 56 u8 val, reg; in pcf50633_gpio_invert_set() local 59 val = !!invert << 3; in pcf50633_gpio_invert_set() 61 return pcf50633_reg_set_bit_mask(pcf, reg, 1 << 3, val); in pcf50633_gpio_invert_set() 67 u8 reg, val; in pcf50633_gpio_invert_get() local 70 val in pcf50633_gpio_invert_get() 79 u8 reg, val, mask; pcf50633_gpio_power_supply_set() local [all...] |
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | refcount.h | 78 unsigned int old, new, val = atomic_read(&r->refs); in refcount_inc_not_zero() local 81 new = val + 1; in refcount_inc_not_zero() 83 if (!val) in refcount_inc_not_zero() 89 old = atomic_cmpxchg_relaxed(&r->refs, val, new); in refcount_inc_not_zero() 90 if (old == val) in refcount_inc_not_zero() 93 val = old; in refcount_inc_not_zero() 123 unsigned int old, new, val = atomic_read(&r->refs); in refcount_sub_and_test() local 126 if (unlikely(val == UINT_MAX)) in refcount_sub_and_test() 129 new = val - i; in refcount_sub_and_test() 130 if (new > val) { in refcount_sub_and_test() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/ |
H A D | mmss_cc.xml.h | 72 static inline uint32_t MMSS_CC_CLK_CC_MND_MODE(uint32_t val) in MMSS_CC_CLK_CC_MND_MODE() argument 74 return ((val) << MMSS_CC_CLK_CC_MND_MODE__SHIFT) & MMSS_CC_CLK_CC_MND_MODE__MASK; in MMSS_CC_CLK_CC_MND_MODE() 78 static inline uint32_t MMSS_CC_CLK_CC_PMXO_SEL(uint32_t val) in MMSS_CC_CLK_CC_PMXO_SEL() argument 80 return ((val) << MMSS_CC_CLK_CC_PMXO_SEL__SHIFT) & MMSS_CC_CLK_CC_PMXO_SEL__MASK; in MMSS_CC_CLK_CC_PMXO_SEL() 86 static inline uint32_t MMSS_CC_CLK_MD_D(uint32_t val) in MMSS_CC_CLK_MD_D() argument 88 return ((val) << MMSS_CC_CLK_MD_D__SHIFT) & MMSS_CC_CLK_MD_D__MASK; in MMSS_CC_CLK_MD_D() 92 static inline uint32_t MMSS_CC_CLK_MD_M(uint32_t val) in MMSS_CC_CLK_MD_M() argument 94 return ((val) << MMSS_CC_CLK_MD_M__SHIFT) & MMSS_CC_CLK_MD_M__MASK; in MMSS_CC_CLK_MD_M() 100 static inline uint32_t MMSS_CC_CLK_NS_SRC(uint32_t val) in MMSS_CC_CLK_NS_SRC() argument 102 return ((val) << MMSS_CC_CLK_NS_SRC__SHIF in MMSS_CC_CLK_NS_SRC() 106 MMSS_CC_CLK_NS_PRE_DIV_FUNC(uint32_t val) MMSS_CC_CLK_NS_PRE_DIV_FUNC() argument 112 MMSS_CC_CLK_NS_VAL(uint32_t val) MMSS_CC_CLK_NS_VAL() argument [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | pcf50633-gpio.c | 33 int pcf50633_gpio_set(struct pcf50633 *pcf, int gpio, u8 val) in pcf50633_gpio_set() argument 39 return pcf50633_reg_set_bit_mask(pcf, reg, 0x07, val); in pcf50633_gpio_set() 45 u8 reg, val; in pcf50633_gpio_get() local 48 val = pcf50633_reg_read(pcf, reg) & 0x07; in pcf50633_gpio_get() 50 return val; in pcf50633_gpio_get() 56 u8 val, reg; in pcf50633_gpio_invert_set() local 59 val = !!invert << 3; in pcf50633_gpio_invert_set() 61 return pcf50633_reg_set_bit_mask(pcf, reg, 1 << 3, val); in pcf50633_gpio_invert_set() 67 u8 reg, val; in pcf50633_gpio_invert_get() local 70 val in pcf50633_gpio_invert_get() 79 u8 reg, val, mask; pcf50633_gpio_power_supply_set() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dsi/ |
H A D | mmss_cc.xml.h | 79 static inline uint32_t MMSS_CC_CLK_CC_MND_MODE(uint32_t val) in MMSS_CC_CLK_CC_MND_MODE() argument 81 return ((val) << MMSS_CC_CLK_CC_MND_MODE__SHIFT) & MMSS_CC_CLK_CC_MND_MODE__MASK; in MMSS_CC_CLK_CC_MND_MODE() 85 static inline uint32_t MMSS_CC_CLK_CC_PMXO_SEL(uint32_t val) in MMSS_CC_CLK_CC_PMXO_SEL() argument 87 return ((val) << MMSS_CC_CLK_CC_PMXO_SEL__SHIFT) & MMSS_CC_CLK_CC_PMXO_SEL__MASK; in MMSS_CC_CLK_CC_PMXO_SEL() 93 static inline uint32_t MMSS_CC_CLK_MD_D(uint32_t val) in MMSS_CC_CLK_MD_D() argument 95 return ((val) << MMSS_CC_CLK_MD_D__SHIFT) & MMSS_CC_CLK_MD_D__MASK; in MMSS_CC_CLK_MD_D() 99 static inline uint32_t MMSS_CC_CLK_MD_M(uint32_t val) in MMSS_CC_CLK_MD_M() argument 101 return ((val) << MMSS_CC_CLK_MD_M__SHIFT) & MMSS_CC_CLK_MD_M__MASK; in MMSS_CC_CLK_MD_M() 107 static inline uint32_t MMSS_CC_CLK_NS_SRC(uint32_t val) in MMSS_CC_CLK_NS_SRC() argument 109 return ((val) << MMSS_CC_CLK_NS_SRC__SHIF in MMSS_CC_CLK_NS_SRC() 113 MMSS_CC_CLK_NS_PRE_DIV_FUNC(uint32_t val) MMSS_CC_CLK_NS_PRE_DIV_FUNC() argument 119 MMSS_CC_CLK_NS_VAL(uint32_t val) MMSS_CC_CLK_NS_VAL() argument [all...] |