| /linux/drivers/bcma/ |
| H A D | driver_pci.c | 20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read() argument 22 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); in bcma_pcie_read() 23 pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR); in bcma_pcie_read() 24 return pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_DATA); in bcma_pcie_read() 27 static void bcma_pcie_write(struct bcma_drv_pci *pc, u32 address, u32 data) in bcma_pcie_write() argument 29 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); in bcma_pcie_write() 30 pcicore_read32(pc, BCMA_CORE_PCI_PCIEIND_ADDR); in bcma_pcie_write() 31 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_DATA, data); in bcma_pcie_write() 34 static void bcma_pcie_mdio_set_phy(struct bcma_drv_pci *pc, u16 phy) in bcma_pcie_mdio_set_phy() argument 47 pcicore_write32(pc, BCMA_CORE_PCI_MDIO_DATA, v); in bcma_pcie_mdio_set_phy() [all …]
|
| H A D | driver_pci_host.c | 28 bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc) in bcma_core_pci_is_in_hostmode() argument 30 struct bcma_bus *bus = pc->core->bus; in bcma_core_pci_is_in_hostmode() 39 bcma_core_enable(pc->core, 0); in bcma_core_pci_is_in_hostmode() 41 return !mips_busprobe32(tmp, pc->core->io_addr); in bcma_core_pci_is_in_hostmode() 44 static u32 bcma_pcie_read_config(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read_config() argument 46 pcicore_write32(pc, BCMA_CORE_PCI_CONFIG_ADDR, address); in bcma_pcie_read_config() 47 pcicore_read32(pc, BCMA_CORE_PCI_CONFIG_ADDR); in bcma_pcie_read_config() 48 return pcicore_read32(pc, BCMA_CORE_PCI_CONFIG_DATA); in bcma_pcie_read_config() 51 static void bcma_pcie_write_config(struct bcma_drv_pci *pc, u32 address, in bcma_pcie_write_config() argument 54 pcicore_write32(pc, BCMA_CORE_PCI_CONFIG_ADDR, address); in bcma_pcie_write_config() [all …]
|
| /linux/drivers/pwm/ |
| H A D | pwm-sti.c | 116 static int sti_pwm_get_prescale(struct sti_pwm_chip *pc, unsigned long period, in sti_pwm_get_prescale() argument 123 clk_rate = clk_get_rate(pc->pwm_clk); in sti_pwm_get_prescale() 125 dev_err(pc->dev, "failed to get clock rate\n"); in sti_pwm_get_prescale() 133 value *= pc->max_pwm_cnt + 1; in sti_pwm_get_prescale() 139 if (ps > pc->max_prescale) in sti_pwm_get_prescale() 159 struct sti_pwm_chip *pc = to_sti_pwmchip(chip); in sti_pwm_config() local 161 struct pwm_device *cur = pc->cur; in sti_pwm_config() 162 struct device *dev = pc->dev; in sti_pwm_config() 166 ncfg = hweight_long(pc->configured); in sti_pwm_config() 187 ret = clk_enable(pc->pwm_clk); in sti_pwm_config() [all …]
|
| H A D | pwm-rockchip.c | 65 struct rockchip_pwm_chip *pc = to_rockchip_pwm_chip(chip); in rockchip_pwm_get_state() local 66 u64 prescaled_ns = (u64)pc->data->prescaler * NSEC_PER_SEC; in rockchip_pwm_get_state() 67 u32 enable_conf = pc->data->enable_conf; in rockchip_pwm_get_state() 73 ret = clk_enable(pc->pclk); in rockchip_pwm_get_state() 77 ret = clk_enable(pc->clk); in rockchip_pwm_get_state() 81 clk_rate = clk_get_rate(pc->clk); in rockchip_pwm_get_state() 83 tmp = readl_relaxed(pc->base + pc->data->regs.period); in rockchip_pwm_get_state() 87 tmp = readl_relaxed(pc->base + pc->data->regs.duty); in rockchip_pwm_get_state() 91 val = readl_relaxed(pc->base + pc->data->regs.ctrl); in rockchip_pwm_get_state() 94 if (pc->data->supports_polarity && !(val & PWM_DUTY_POSITIVE)) in rockchip_pwm_get_state() [all …]
|
| H A D | pwm-tegra.c | 84 static inline u32 pwm_readl(struct tegra_pwm_chip *pc, unsigned int offset) in pwm_readl() argument 86 return readl(pc->regs + (offset << 4)); in pwm_readl() 89 static inline void pwm_writel(struct tegra_pwm_chip *pc, unsigned int offset, u32 value) in pwm_writel() argument 91 writel(value, pc->regs + (offset << 4)); in pwm_writel() 97 struct tegra_pwm_chip *pc = to_tegra_pwm_chip(chip); in tegra_pwm_config() local 116 if (period_ns < pc->min_period_ns) in tegra_pwm_config() 132 if (pc->soc->num_channels == 1) { in tegra_pwm_config() 147 if (required_clk_rate > clk_round_rate(pc->clk, required_clk_rate)) in tegra_pwm_config() 163 pc->clk_rate = clk_get_rate(pc->clk); in tegra_pwm_config() 167 rate = mul_u64_u64_div_u64(pc->clk_rate, period_ns, in tegra_pwm_config() [all …]
|
| H A D | pwm-spear.c | 78 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_config() local 93 clk_rate = clk_get_rate(pc->clk); in spear_pwm_config() 122 ret = clk_enable(pc->clk); in spear_pwm_config() 126 spear_pwm_writel(pc, pwm->hwpwm, PWMCR, in spear_pwm_config() 128 spear_pwm_writel(pc, pwm->hwpwm, PWMDCR, dc); in spear_pwm_config() 129 spear_pwm_writel(pc, pwm->hwpwm, PWMPCR, pv); in spear_pwm_config() 130 clk_disable(pc->clk); in spear_pwm_config() 137 struct spear_pwm_chip *pc = to_spear_pwm_chip(chip); in spear_pwm_enable() local 141 rc = clk_enable(pc->clk); in spear_pwm_enable() 145 val = spear_pwm_readl(pc, pwm->hwpwm, PWMCR); in spear_pwm_enable() [all …]
|
| H A D | pwm-intel-lgm.c | 56 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_enable() local 57 struct regmap *regmap = pc->regmap; in lgm_pwm_enable() 66 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_apply() local 71 if (state->polarity != PWM_POLARITY_NORMAL || state->period < pc->period) in lgm_pwm_apply() 77 duty_cycle = min_t(u64, state->duty_cycle, pc->period); in lgm_pwm_apply() 78 val = duty_cycle * LGM_PWM_MAX_DUTY_CYCLE / pc->period; in lgm_pwm_apply() 80 ret = regmap_update_bits(pc->regmap, LGM_PWM_FAN_CON0, LGM_PWM_FAN_DC_MSK, in lgm_pwm_apply() 91 struct lgm_pwm_chip *pc = to_lgm_pwm_chip(chip); in lgm_pwm_get_state() local 94 state->enabled = regmap_test_bits(pc->regmap, LGM_PWM_FAN_CON0, in lgm_pwm_get_state() 97 state->period = pc->period; /* fixed period */ in lgm_pwm_get_state() [all …]
|
| H A D | pwm-pxa.c | 71 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_config() local 78 c = clk_get_rate(pc->clk); in pxa_pwm_config() 96 writel(prescale | PWMCR_SD, pc->mmio_base + offset + PWMCR); in pxa_pwm_config() 97 writel(dc, pc->mmio_base + offset + PWMDCR); in pxa_pwm_config() 98 writel(pv, pc->mmio_base + offset + PWMPCR); in pxa_pwm_config() 106 struct pxa_pwm_chip *pc = to_pxa_pwm_chip(chip); in pxa_pwm_apply() local 113 err = clk_prepare_enable(pc->clk); in pxa_pwm_apply() 121 clk_disable_unprepare(pc->clk); in pxa_pwm_apply() 128 clk_disable_unprepare(pc->clk); in pxa_pwm_apply() 131 clk_disable_unprepare(pc->clk); in pxa_pwm_apply() [all …]
|
| /linux/drivers/ssb/ |
| H A D | driver_pcicore.c | 19 static u32 ssb_pcie_read(struct ssb_pcicore *pc, u32 address); 20 static void ssb_pcie_write(struct ssb_pcicore *pc, u32 address, u32 data); 21 static u16 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address); 22 static void ssb_pcie_mdio_write(struct ssb_pcicore *pc, u8 device, 26 u32 pcicore_read32(struct ssb_pcicore *pc, u16 offset) in pcicore_read32() argument 28 return ssb_read32(pc->dev, offset); in pcicore_read32() 32 void pcicore_write32(struct ssb_pcicore *pc, u16 offset, u32 value) in pcicore_write32() argument 34 ssb_write32(pc->dev, offset, value); in pcicore_write32() 38 u16 pcicore_read16(struct ssb_pcicore *pc, u16 offset) in pcicore_read16() argument 40 return ssb_read16(pc->dev, offset); in pcicore_read16() [all …]
|
| /linux/drivers/dma/mediatek/ |
| H A D | mtk-cqdma.c | 123 struct mtk_cqdma_pchan *pc; member 145 struct mtk_cqdma_pchan **pc; member 168 static u32 mtk_dma_read(struct mtk_cqdma_pchan *pc, u32 reg) in mtk_dma_read() argument 170 return readl(pc->base + reg); in mtk_dma_read() 173 static void mtk_dma_write(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_write() argument 175 writel_relaxed(val, pc->base + reg); in mtk_dma_write() 178 static void mtk_dma_rmw(struct mtk_cqdma_pchan *pc, u32 reg, in mtk_dma_rmw() argument 183 val = mtk_dma_read(pc, reg); in mtk_dma_rmw() 186 mtk_dma_write(pc, reg, val); in mtk_dma_rmw() 189 static void mtk_dma_set(struct mtk_cqdma_pchan *pc, u32 reg, u32 val) in mtk_dma_set() argument [all …]
|
| /linux/arch/microblaze/kernel/ |
| H A D | unwind.c | 77 static unsigned long *find_frame_creation(unsigned long *pc) in find_frame_creation() argument 86 for (i = 0; i < 1000; i++, pc--) { in find_frame_creation() 90 if (!kernel_text_address((unsigned long) pc)) in find_frame_creation() 93 instr = *pc; in find_frame_creation() 102 frame_size, pc); in find_frame_creation() 106 pr_debug(" Found frame creation at 0x%p, size %d\n", pc, in find_frame_creation() 108 return pc; in find_frame_creation() 125 static int lookup_prev_stack_frame(unsigned long fp, unsigned long pc, in lookup_prev_stack_frame() argument 133 if (pc != (unsigned long) &_switch_to) in lookup_prev_stack_frame() 134 prologue = find_frame_creation((unsigned long *)pc); in lookup_prev_stack_frame() [all …]
|
| /linux/arch/csky/kernel/ |
| H A D | stacktrace.c | 19 unsigned long fp, sp, pc; in walk_stackframe() local 24 pc = instruction_pointer(regs); in walk_stackframe() 29 pc = (unsigned long)walk_stackframe; in walk_stackframe() 34 pc = thread_saved_lr(task); in walk_stackframe() 41 if (unlikely(!__kernel_text_address(pc) || fn(pc, arg))) in walk_stackframe() 53 pc = ftrace_graph_ret_addr(current, NULL, frame->ra, in walk_stackframe() 63 unsigned long sp, pc; in walk_stackframe() local 68 pc = instruction_pointer(regs); in walk_stackframe() 71 pc = (unsigned long)walk_stackframe; in walk_stackframe() 75 pc = thread_saved_lr(task); in walk_stackframe() [all …]
|
| /linux/drivers/pinctrl/bcm/ |
| H A D | pinctrl-bcm63xx.c | 47 struct bcm63xx_pinctrl *pc) in bcm63xx_gpio_probe() argument 55 grc.regmap = pc->regs; in bcm63xx_gpio_probe() 69 struct bcm63xx_pinctrl *pc; in bcm63xx_pinctrl_probe() local 72 pc = devm_kzalloc(dev, sizeof(*pc), GFP_KERNEL); in bcm63xx_pinctrl_probe() 73 if (!pc) in bcm63xx_pinctrl_probe() 76 platform_set_drvdata(pdev, pc); in bcm63xx_pinctrl_probe() 78 pc->dev = dev; in bcm63xx_pinctrl_probe() 79 pc->driver_data = driver_data; in bcm63xx_pinctrl_probe() 81 pc->regs = syscon_node_to_regmap(dev->parent->of_node); in bcm63xx_pinctrl_probe() 82 if (IS_ERR(pc->regs)) in bcm63xx_pinctrl_probe() [all …]
|
| /linux/arch/riscv/kernel/ |
| H A D | stacktrace.c | 51 unsigned long fp, sp, pc; in walk_stackframe() local 58 pc = instruction_pointer(regs); in walk_stackframe() 62 pc = (unsigned long)walk_stackframe; in walk_stackframe() 68 pc = task->thread.ra; in walk_stackframe() 74 if (unlikely(!__kernel_text_address(pc) || (level++ >= 0 && !fn(arg, pc)))) in walk_stackframe() 83 if (regs && (regs->epc == pc) && fp_is_valid(frame->ra, sp)) { in walk_stackframe() 86 pc = regs->ra; in walk_stackframe() 89 pc = READ_ONCE_TASK_STACK(task, frame->ra); in walk_stackframe() 90 pc = ftrace_graph_ret_addr(current, &graph_idx, pc, in walk_stackframe() 92 if (pc >= (unsigned long)handle_exception && in walk_stackframe() [all …]
|
| /linux/arch/xtensa/kernel/ |
| H A D | stacktrace.c | 36 unsigned long pc = regs->pc; in xtensa_backtrace_user() local 43 frame.pc = pc; in xtensa_backtrace_user() 46 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 74 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user() 81 frame.pc = pc; in xtensa_backtrace_user() 84 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 98 pc = MAKE_PC_FROM_RA(a0, pc); in xtensa_backtrace_user() 108 frame.pc = pc; in xtensa_backtrace_user() 111 if (pc == 0 || pc >= TASK_SIZE || ufn(&frame, data)) in xtensa_backtrace_user() 122 unsigned long pc = regs->depc > VALID_DOUBLE_EXCEPTION_ADDRESS ? in xtensa_backtrace_kernel() local [all …]
|
| /linux/arch/loongarch/kernel/ |
| H A D | unwind_prologue.c | 66 static inline bool fix_exception(unsigned long pc) in fix_exception() argument 74 if (scan_handlers(pc - pcpu_handlers[cpu])) in fix_exception() 78 return scan_handlers(pc - eentry); in fix_exception() 85 static inline bool fix_ftrace(unsigned long pc) in fix_ftrace() argument 88 return pc == (unsigned long)ftrace_call + LOONGARCH_INSN_SIZE; in fix_ftrace() 96 if (!fix_exception(state->pc) && !fix_ftrace(state->pc)) in unwind_state_fixup() 115 unsigned long size, offset, pc; in unwind_by_prologue() local 127 state->pc = regs->csr_era; in unwind_by_prologue() 137 pc = state->pc - (state->first ? 0 : LOONGARCH_INSN_SIZE); in unwind_by_prologue() 138 if (!kallsyms_lookup_size_offset(pc, &size, &offset)) in unwind_by_prologue() [all …]
|
| H A D | inst.c | 17 unsigned long pc = regs->csr_era; in simu_pc() local 21 if (pc & 3) { in simu_pc() 22 pr_warn("%s: invalid pc 0x%lx\n", __func__, pc); in simu_pc() 28 regs->regs[rd] = pc + sign_extend64(imm << 2, 21); in simu_pc() 31 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 34 regs->regs[rd] = pc + sign_extend64(imm << 18, 37); in simu_pc() 37 regs->regs[rd] = pc + sign_extend64(imm << 12, 31); in simu_pc() 51 unsigned long pc = regs->csr_era; in simu_branch() local 53 if (pc & 3) { in simu_branch() 54 pr_warn("%s: invalid pc 0x%lx\n", __func__, pc); in simu_branch() [all …]
|
| /linux/arch/sparc/kernel/ |
| H A D | traps_32.c | 36 static void instruction_dump(unsigned long *pc) in instruction_dump() argument 40 if((((unsigned long) pc) & 3)) in instruction_dump() 44 printk("%c%08lx%c",i?' ':'<',pc[i],i?' ':'>'); in instruction_dump() 89 instruction_dump ((unsigned long *) regs->pc); in die_if_kernel() 105 (void __user *)regs->pc, type - 0x80); in do_hw_interrupt() 108 void do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_illegal_instruction() argument 115 regs->pc, *(unsigned long *)regs->pc); in do_illegal_instruction() 118 send_sig_fault(SIGILL, ILL_ILLOPC, (void __user *)pc, current); in do_illegal_instruction() 121 void do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, in do_priv_instruction() argument 126 send_sig_fault(SIGILL, ILL_PRVOPC, (void __user *)pc, current); in do_priv_instruction() [all …]
|
| /linux/arch/arm64/include/asm/ |
| H A D | preempt.h | 15 static inline void preempt_count_set(u64 pc) in preempt_count_set() argument 18 WRITE_ONCE(current_thread_info()->preempt.count, pc); in preempt_count_set() 46 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_add() local 47 pc += val; in __preempt_count_add() 48 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_add() 53 u32 pc = READ_ONCE(current_thread_info()->preempt.count); in __preempt_count_sub() local 54 pc -= val; in __preempt_count_sub() 55 WRITE_ONCE(current_thread_info()->preempt.count, pc); in __preempt_count_sub() 61 u64 pc = READ_ONCE(ti->preempt_count); in __preempt_count_dec_and_test() local 64 WRITE_ONCE(ti->preempt.count, --pc); in __preempt_count_dec_and_test() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | jit_disasm_helpers.c | 63 static int disasm_insn(LLVMDisasmContextRef ctx, uint8_t *image, __u32 len, __u32 pc, in disasm_insn() argument 68 cnt = LLVMDisasmInstruction(ctx, image + pc, len - pc, pc, in disasm_insn() 72 PRINT_FAIL("Can't disasm instruction at offset %d:", pc); in disasm_insn() 73 for (i = 0; i < 16 && pc + i < len; ++i) in disasm_insn() 74 printf(" %02x", image[pc + i]); in disasm_insn() 96 __u32 *label_pc, pc; in disasm_one_func() local 115 pc = 0; in disasm_one_func() 116 while (pc < len) { in disasm_one_func() 117 cnt = disasm_insn(ctx, image, len, pc, buf, 1); in disasm_one_func() 122 pc += cnt; in disasm_one_func() [all …]
|
| /linux/arch/sh/kernel/ |
| H A D | traps_32.c | 241 srcu = (unsigned char __user *)regs->pc; in handle_unaligned_ins() 258 srcu = (unsigned char __user *)(regs->pc & ~0x3); in handle_unaligned_ins() 288 void __user *addr = (void __user *)(regs->pc + in handle_delayslot() 356 regs->pc = regs->pr; in handle_unaligned_access() 362 regs->pc += rm + 4; in handle_unaligned_access() 368 regs->pr = regs->pc + 4; in handle_unaligned_access() 369 regs->pc += rm + 4; in handle_unaligned_access() 389 regs->pc = rm; in handle_unaligned_access() 395 regs->pr = regs->pc + 4; in handle_unaligned_access() 396 regs->pc = rm; in handle_unaligned_access() [all …]
|
| /linux/arch/arm/kernel/ |
| H A D | stacktrace.c | 51 unsigned long pc = frame->pc; in frame_pointer_check() local 58 if (pc >= (unsigned long)&call_with_stack && in frame_pointer_check() 59 pc < (unsigned long)&call_with_stack_end) in frame_pointer_check() 101 frame->pc = regs->ARM_pc; in unwind_frame() 110 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp + 4)); in unwind_frame() 114 frame->pc = READ_ONCE_NOCHECK(*(unsigned long *)(fp - 4)); in unwind_frame() 117 if (is_kretprobe_trampoline(frame->pc)) in unwind_frame() 118 frame->pc = kretprobe_find_ret_addr(frame->tsk, in unwind_frame() 122 if (in_entry_text(frame->pc)) in unwind_frame() 135 if (!fn(data, frame->pc)) in walk_stackframe() [all …]
|
| /linux/lib/ |
| H A D | asn1_decoder.c | 178 size_t pc = 0, dp = 0, tdp = 0, len = 0; in asn1_ber_decoder() local 202 pc, machlen, dp, datalen, csp, jsp); in asn1_ber_decoder() 203 if (unlikely(pc >= machlen)) in asn1_ber_decoder() 205 op = machine[pc]; in asn1_ber_decoder() 206 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder() 219 pc += asn1_op_lengths[op]; in asn1_ber_decoder() 241 optag = machine[pc + 1]; in asn1_ber_decoder() 251 pc += asn1_op_lengths[op]; in asn1_ber_decoder() 343 act = machine[pc + 1]; in asn1_ber_decoder() 345 act = machine[pc + 2]; in asn1_ber_decoder() [all …]
|
| /linux/arch/openrisc/kernel/ |
| H A D | traps.c | 89 smp_processor_id(), regs->pc, regs->sr, regs->sp); in show_registers() 137 if (regs->pc < PAGE_OFFSET) in show_registers() 143 if (__get_user(word, &((unsigned long *)regs->pc)[i])) { in show_registers() 149 print_data(regs->pc, word, i); in show_registers() 206 force_sig_fault(SIGFPE, code, (void __user *)regs->pc); in do_fpe_trap() 208 pr_emerg("KERNEL: Illegal fpe exception 0x%.8lx\n", regs->pc); in do_fpe_trap() 216 force_sig_fault(SIGTRAP, TRAP_BRKPT, (void __user *)regs->pc); in do_trap() 218 pr_emerg("KERNEL: Illegal trap exception 0x%.8lx\n", regs->pc); in do_trap() 252 insn = *((unsigned int *)regs->pc); in in_delay_slot() 277 jmp = *((unsigned int *)regs->pc); in adjust_pc() [all …]
|
| /linux/drivers/pinctrl/meson/ |
| H A D | pinctrl-meson8-pmx.c | 32 static void meson8_pmx_disable_other_groups(struct meson_pinctrl *pc, in meson8_pmx_disable_other_groups() argument 39 for (i = 0; i < pc->data->num_groups; i++) { in meson8_pmx_disable_other_groups() 40 group = &pc->data->groups[i]; in meson8_pmx_disable_other_groups() 48 regmap_update_bits(pc->reg_mux, in meson8_pmx_disable_other_groups() 59 struct meson_pinctrl *pc = pinctrl_dev_get_drvdata(pcdev); in meson8_pmx_set_mux() local 60 const struct meson_pmx_func *func = &pc->data->funcs[func_num]; in meson8_pmx_set_mux() 61 const struct meson_pmx_group *group = &pc->data->groups[group_num]; in meson8_pmx_set_mux() 66 dev_dbg(pc->dev, "enable function %s, group %s\n", func->name, in meson8_pmx_set_mux() 74 meson8_pmx_disable_other_groups(pc, group->pins[i], group_num); in meson8_pmx_set_mux() 78 ret = regmap_update_bits(pc->reg_mux, pmx_data->reg * 4, in meson8_pmx_set_mux() [all …]
|