/linux-6.12.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 50 static struct regmap *mtk_get_regmap(struct mtk_pinctrl *pctl, in mtk_get_regmap() argument 53 if (pin >= pctl->devdata->type1_start && pin < pctl->devdata->type1_end) in mtk_get_regmap() 54 return pctl->regmap2; in mtk_get_regmap() 55 return pctl->regmap1; in mtk_get_regmap() 58 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port() argument 61 return ((pin >> pctl->devdata->mode_shf) & pctl->devdata->port_mask) in mtk_get_port() 62 << pctl->devdata->port_shf; in mtk_get_port() 71 struct mtk_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in mtk_pmx_gpio_set_direction() local 73 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dir_offset; in mtk_pmx_gpio_set_direction() 74 bit = BIT(offset & pctl->devdata->mode_mask); in mtk_pmx_gpio_set_direction() [all …]
|
/linux-6.12.1/drivers/pinctrl/pxa/ |
D | pinctrl-pxa2xx.c | 26 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pctrl_get_groups_count() local 28 return pctl->ngroups; in pxa2xx_pctrl_get_groups_count() 34 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pctrl_get_group_name() local 35 struct pingroup *group = pctl->groups + tgroup; in pxa2xx_pctrl_get_group_name() 45 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pctrl_get_group_pins() local 46 struct pingroup *group = pctl->groups + tgroup; in pxa2xx_pctrl_get_group_pins() 65 pxa_desc_by_func_group(struct pxa_pinctrl *pctl, const char *pin_name, in pxa_desc_by_func_group() argument 71 for (i = 0; i < pctl->npins; i++) { in pxa_desc_by_func_group() 72 const struct pxa_desc_pin *pin = pctl->ppins + i; in pxa_desc_by_func_group() 88 struct pxa_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pxa2xx_pmx_gpio_set_direction() local [all …]
|
/linux-6.12.1/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.c | 61 static void sunxi_mux_reg(const struct sunxi_pinctrl *pctl, in sunxi_mux_reg() argument 67 *reg = bank * pctl->bank_mem_size + MUX_REGS_OFFSET + in sunxi_mux_reg() 73 static void sunxi_data_reg(const struct sunxi_pinctrl *pctl, in sunxi_data_reg() argument 79 *reg = bank * pctl->bank_mem_size + DATA_REGS_OFFSET + in sunxi_data_reg() 85 static void sunxi_dlevel_reg(const struct sunxi_pinctrl *pctl, in sunxi_dlevel_reg() argument 89 u32 offset = pin % PINS_PER_BANK * pctl->dlevel_field_width; in sunxi_dlevel_reg() 91 *reg = bank * pctl->bank_mem_size + DLEVEL_REGS_OFFSET + in sunxi_dlevel_reg() 94 *mask = (BIT(pctl->dlevel_field_width) - 1) << *shift; in sunxi_dlevel_reg() 97 static void sunxi_pull_reg(const struct sunxi_pinctrl *pctl, in sunxi_pull_reg() argument 103 *reg = bank * pctl->bank_mem_size + pctl->pull_regs_offset + in sunxi_pull_reg() [all …]
|
/linux-6.12.1/drivers/pinctrl/ |
D | pinctrl-stmfx.c | 107 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_get() local 113 ret = regmap_read(pctl->stmfx->map, reg, &value); in stmfx_gpio_get() 120 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_set() local 124 regmap_write_bits(pctl->stmfx->map, reg + get_reg(offset), in stmfx_gpio_set() 130 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_get_direction() local 136 ret = regmap_read(pctl->stmfx->map, reg, &val); in stmfx_gpio_get_direction() 151 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_direction_input() local 155 return regmap_write_bits(pctl->stmfx->map, reg, mask, 0); in stmfx_gpio_direction_input() 161 struct stmfx_pinctrl *pctl = gpiochip_get_data(gc); in stmfx_gpio_direction_output() local 167 return regmap_write_bits(pctl->stmfx->map, reg, mask, mask); in stmfx_gpio_direction_output() [all …]
|
D | pinctrl-sx150x.c | 372 static bool sx150x_pin_is_oscio(struct sx150x_pinctrl *pctl, unsigned int pin) in sx150x_pin_is_oscio() argument 374 if (pin >= pctl->data->npins) in sx150x_pin_is_oscio() 378 if (pctl->data->model != SX150X_789) in sx150x_pin_is_oscio() 381 return !strcmp(pctl->data->pins[pin].name, "oscio"); in sx150x_pin_is_oscio() 387 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get_direction() local 391 if (sx150x_pin_is_oscio(pctl, offset)) in sx150x_gpio_get_direction() 394 ret = regmap_read(pctl->regmap, pctl->data->reg_dir, &value); in sx150x_gpio_get_direction() 406 struct sx150x_pinctrl *pctl = gpiochip_get_data(chip); in sx150x_gpio_get() local 410 if (sx150x_pin_is_oscio(pctl, offset)) in sx150x_gpio_get() 413 ret = regmap_read(pctl->regmap, pctl->data->reg_data, &value); in sx150x_gpio_get() [all …]
|
D | pinctrl-apple-gpio.c | 81 static void apple_gpio_set_reg(struct apple_gpio_pinctrl *pctl, in apple_gpio_set_reg() argument 84 regmap_update_bits(pctl->map, REG_GPIO(pin), mask, value); in apple_gpio_set_reg() 87 static u32 apple_gpio_get_reg(struct apple_gpio_pinctrl *pctl, in apple_gpio_get_reg() argument 93 ret = regmap_read(pctl->map, REG_GPIO(pin), &val); in apple_gpio_get_reg() 108 struct apple_gpio_pinctrl *pctl; in apple_gpio_dt_node_to_map() local 118 pctl = pinctrl_dev_get_drvdata(pctldev); in apple_gpio_dt_node_to_map() 122 dev_err(pctl->dev, in apple_gpio_dt_node_to_map() 148 function_name = pinmux_generic_get_function_name(pctl->pctldev, func); in apple_gpio_dt_node_to_map() 149 ret = pinctrl_utils_add_map_mux(pctl->pctldev, map, in apple_gpio_dt_node_to_map() 176 struct apple_gpio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in apple_gpio_pinmux_set() local [all …]
|
D | pinctrl-axp209.c | 129 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_get() local 135 ret = regmap_read(pctl->regmap, AXP20X_GPIO3_CTRL, &val); in axp20x_gpio_get() 141 ret = regmap_read(pctl->regmap, AXP20X_GPIO20_SS, &val); in axp20x_gpio_get() 145 return !!(val & BIT(offset + pctl->desc->gpio_status_offset)); in axp20x_gpio_get() 151 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_get_direction() local 157 ret = regmap_read(pctl->regmap, AXP20X_GPIO3_CTRL, &val); in axp20x_gpio_get_direction() 170 ret = regmap_read(pctl->regmap, reg, &val); in axp20x_gpio_get_direction() 203 struct axp20x_pctl *pctl = gpiochip_get_data(chip); in axp20x_gpio_set() local 208 regmap_update_bits(pctl->regmap, AXP20X_GPIO3_CTRL, in axp20x_gpio_set() 219 regmap_update_bits(pctl->regmap, reg, in axp20x_gpio_set() [all …]
|
D | pinctrl-da9062.c | 40 static int da9062_pctl_get_pin_mode(struct da9062_pctl *pctl, in da9062_pctl_get_pin_mode() argument 43 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_get_pin_mode() 56 static int da9062_pctl_set_pin_mode(struct da9062_pctl *pctl, in da9062_pctl_set_pin_mode() argument 59 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_set_pin_mode() 71 pctl->pin_config[offset] = mode_req; in da9062_pctl_set_pin_mode() 78 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_get() local 79 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_get() 83 gpio_mode = da9062_pctl_get_pin_mode(pctl, offset); in da9062_gpio_get() 108 struct da9062_pctl *pctl = gpiochip_get_data(gc); in da9062_gpio_set() local 109 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set() [all …]
|
D | pinctrl-pistachio.c | 95 struct pistachio_pinctrl *pctl; member 832 static inline u32 pctl_readl(struct pistachio_pinctrl *pctl, u32 reg) in pctl_readl() argument 834 return readl(pctl->base + reg); in pctl_readl() 837 static inline void pctl_writel(struct pistachio_pinctrl *pctl, u32 val, u32 reg) in pctl_writel() argument 839 writel(val, pctl->base + reg); in pctl_writel() 882 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_groups_count() local 884 return pctl->ngroups; in pistachio_pinctrl_get_groups_count() 890 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_group_name() local 892 return pctl->groups[group].name; in pistachio_pinctrl_get_group_name() 900 struct pistachio_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pistachio_pinctrl_get_group_pins() local [all …]
|
D | pinctrl-equilibrium.c | 264 *find_pinbank_via_pin(struct eqbr_pinctrl_drv_data *pctl, unsigned int pin) in find_pinbank_via_pin() argument 269 for (i = 0; i < pctl->nr_banks; i++) { in find_pinbank_via_pin() 270 bank = &pctl->pin_banks[i]; in find_pinbank_via_pin() 287 static int eqbr_set_pin_mux(struct eqbr_pinctrl_drv_data *pctl, in eqbr_set_pin_mux() argument 295 bank = find_pinbank_via_pin(pctl, pin); in eqbr_set_pin_mux() 297 dev_err(pctl->dev, "Couldn't find pin bank for pin %u\n", pin); in eqbr_set_pin_mux() 304 dev_err(pctl->dev, in eqbr_set_pin_mux() 310 raw_spin_lock_irqsave(&pctl->lock, flags); in eqbr_set_pin_mux() 312 raw_spin_unlock_irqrestore(&pctl->lock, flags); in eqbr_set_pin_mux() 319 struct eqbr_pinctrl_drv_data *pctl = pinctrl_dev_get_drvdata(pctldev); in eqbr_pinmux_set_mux() local [all …]
|
D | pinctrl-tb10x.c | 470 * @pctl: pointer to the pinctrl_dev structure of this pin controller. 481 struct pinctrl_dev *pctl; member 515 static int tb10x_get_groups_count(struct pinctrl_dev *pctl) in tb10x_get_groups_count() argument 517 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_groups_count() 521 static const char *tb10x_get_group_name(struct pinctrl_dev *pctl, unsigned n) in tb10x_get_group_name() argument 523 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_group_name() 527 static int tb10x_get_group_pins(struct pinctrl_dev *pctl, unsigned n, in tb10x_get_group_pins() argument 531 struct tb10x_pinctrl *state = pinctrl_dev_get_drvdata(pctl); in tb10x_get_group_pins() 539 static int tb10x_dt_node_to_map(struct pinctrl_dev *pctl, in tb10x_dt_node_to_map() argument 556 ret = pinctrl_utils_reserve_map(pctl, map, &reserved_maps, in tb10x_dt_node_to_map() [all …]
|
D | pinctrl-pic32.c | 1699 static inline struct pic32_gpio_bank *pctl_to_bank(struct pic32_pinctrl *pctl, in pctl_to_bank() argument 1702 return &pctl->gpio_banks[pin / PINS_PER_BANK]; in pctl_to_bank() 1707 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinctrl_get_groups_count() local 1709 return pctl->ngroups; in pic32_pinctrl_get_groups_count() 1715 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinctrl_get_group_name() local 1717 return pctl->groups[group].name; in pic32_pinctrl_get_group_name() 1725 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinctrl_get_group_pins() local 1727 *pins = &pctl->groups[group].pin; in pic32_pinctrl_get_group_pins() 1743 struct pic32_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in pic32_pinmux_get_functions_count() local 1745 return pctl->nfunctions; in pic32_pinmux_get_functions_count() [all …]
|
/linux-6.12.1/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 83 struct mvebu_pinctrl *pctl, unsigned pid) in mvebu_pinctrl_find_group_by_pid() argument 86 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_pid() 87 if (pid >= pctl->groups[n].pins[0] && in mvebu_pinctrl_find_group_by_pid() 88 pid < pctl->groups[n].pins[0] + in mvebu_pinctrl_find_group_by_pid() 89 pctl->groups[n].npins) in mvebu_pinctrl_find_group_by_pid() 90 return &pctl->groups[n]; in mvebu_pinctrl_find_group_by_pid() 96 struct mvebu_pinctrl *pctl, const char *name) in mvebu_pinctrl_find_group_by_name() argument 100 for (n = 0; n < pctl->num_groups; n++) { in mvebu_pinctrl_find_group_by_name() 101 if (strcmp(name, pctl->groups[n].name) == 0) in mvebu_pinctrl_find_group_by_name() 102 return &pctl->groups[n]; in mvebu_pinctrl_find_group_by_name() [all …]
|
/linux-6.12.1/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 210 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_request() local 214 range = pinctrl_find_gpio_range_from_pin_nolock(pctl->pctl_dev, pin); in stm32_gpio_request() 216 dev_err(pctl->dev, "pin %d not in range.\n", pin); in stm32_gpio_request() 284 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_init_valid_mask() local 298 dev_dbg(pctl->dev, "No access to gpio %d - %d\n", bank->bank_nr, i); in stm32_gpio_init_valid_mask() 370 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_irq_request_resources() local 379 dev_err(pctl->dev, "unable to lock HW IRQ %lu for IRQ\n", in stm32_gpio_irq_request_resources() 430 struct stm32_pinctrl *pctl = dev_get_drvdata(bank->gpio_chip.parent); in stm32_gpio_domain_activate() local 433 if (pctl->hwlock) { in stm32_gpio_domain_activate() 434 ret = hwspin_lock_timeout_in_atomic(pctl->hwlock, in stm32_gpio_domain_activate() [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_pwork.c | 42 struct xfs_pwork_ctl *pctl; in xfs_pwork_work() local 46 pctl = pwork->pctl; in xfs_pwork_work() 47 error = pctl->work_fn(pctl->mp, pwork); in xfs_pwork_work() 48 if (error && !pctl->error) in xfs_pwork_work() 49 pctl->error = error; in xfs_pwork_work() 50 if (atomic_dec_and_test(&pctl->nr_work)) in xfs_pwork_work() 51 wake_up(&pctl->poll_wait); in xfs_pwork_work() 62 struct xfs_pwork_ctl *pctl, in xfs_pwork_init() argument 74 pctl->wq = alloc_workqueue("%s-%d", in xfs_pwork_init() 77 if (!pctl->wq) in xfs_pwork_init() [all …]
|
D | xfs_pwork.h | 32 struct xfs_pwork_ctl *pctl; member 35 #define XFS_PWORK_SINGLE_THREADED { .pctl = NULL } 40 struct xfs_pwork_ctl *pctl) in xfs_pwork_ctl_want_abort() argument 42 return pctl && pctl->error; in xfs_pwork_ctl_want_abort() 50 return xfs_pwork_ctl_want_abort(pwork->pctl); in xfs_pwork_want_abort() 53 int xfs_pwork_init(struct xfs_mount *mp, struct xfs_pwork_ctl *pctl, 55 void xfs_pwork_queue(struct xfs_pwork_ctl *pctl, struct xfs_pwork *pwork); 56 int xfs_pwork_destroy(struct xfs_pwork_ctl *pctl); 57 void xfs_pwork_poll(struct xfs_pwork_ctl *pctl);
|
/linux-6.12.1/arch/arc/boot/dts/ |
D | abilis_tb101.dtsi | 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ 37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */ 40 pctl_tsin_p1: pctl-tsin-p1 { /* Parallel TS-in 1 */ 44 pctl_tsin_s2: pctl-tsin-s2 { /* Serial TS-in 2 */ 47 pctl_tsin_s3: pctl-tsin-s3 { /* Serial TS-in 3 */ 50 pctl_gpio_c: pctl-gpio-c { /* GPIO bank C */ 53 pctl_tsin_p3: pctl-tsin-p3 { /* Parallel TS-in 3 */ 57 pctl_tsin_s4: pctl-tsin-s4 { /* Serial TS-in 4 */ 60 pctl_tsin_s5: pctl-tsin-s5 { /* Serial TS-in 5 */ [all …]
|
D | abilis_tb100.dtsi | 31 pctl_tsin_s0: pctl-tsin-s0 { /* Serial TS-in 0 */ 34 pctl_tsin_s1: pctl-tsin-s1 { /* Serial TS-in 1 */ 37 pctl_gpio_a: pctl-gpio-a { /* GPIO bank A */ 40 pctl_tsin_p1: pctl-tsin-p1 { /* Parallel TS-in 1 */ 44 pctl_tsin_s2: pctl-tsin-s2 { /* Serial TS-in 2 */ 47 pctl_tsin_s3: pctl-tsin-s3 { /* Serial TS-in 3 */ 50 pctl_gpio_c: pctl-gpio-c { /* GPIO bank C */ 53 pctl_tsin_p3: pctl-tsin-p3 { /* Parallel TS-in 3 */ 57 pctl_tsin_s4: pctl-tsin-s4 { /* Serial TS-in 4 */ 60 pctl_tsin_s5: pctl-tsin-s5 { /* Serial TS-in 5 */ [all …]
|
/linux-6.12.1/drivers/pinctrl/sunplus/ |
D | sppctl.c | 175 static void sppctl_func_set(struct sppctl_pdata *pctl, u8 func, u8 val) in sppctl_func_set() argument 204 writel(reg, pctl->moon2_base + offset); in sppctl_func_set() 227 static void sppctl_gmx_set(struct sppctl_pdata *pctl, u8 reg_off, u8 bit_off, u8 bit_sz, in sppctl_gmx_set() argument 240 writel(reg, pctl->moon1_base + reg_off * 4); in sppctl_gmx_set() 523 static int sppctl_gpio_new(struct platform_device *pdev, struct sppctl_pdata *pctl) in sppctl_gpio_new() argument 532 pctl->spp_gchip = spp_gchip; in sppctl_gpio_new() 534 spp_gchip->gpioxt_base = pctl->gpioxt_base; in sppctl_gpio_new() 535 spp_gchip->first_base = pctl->first_base; in sppctl_gpio_new() 556 pctl->pctl_grange.npins = gchip->ngpio; in sppctl_gpio_new() 557 pctl->pctl_grange.name = gchip->label; in sppctl_gpio_new() [all …]
|
/linux-6.12.1/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 147 * @pctl: pointer to the pinctrl handle 153 struct pinctrl_dev *pctl; member 212 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_count() local 213 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pctrl_group_count() 221 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_name() local 222 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pctrl_group_name() 232 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_pctrl_group_pins() local 233 struct sprd_pinctrl_soc_info *info = pctl->info; in sprd_pctrl_group_pins() 249 struct sprd_pinctrl *pctl = pinctrl_dev_get_drvdata(pctldev); in sprd_dt_node_to_map() local 259 grp = sprd_pinctrl_find_group_by_name(pctl, np->name); in sprd_dt_node_to_map() [all …]
|
/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | cvmx-asxx-defs.h | 226 uint64_t pctl:5; member 230 uint64_t pctl:5; 237 uint64_t pctl:4; member 241 uint64_t pctl:4; 252 uint64_t pctl:4; member 256 uint64_t pctl:4; 306 uint64_t pctl:5; member 308 uint64_t pctl:5; 319 uint64_t pctl:5; member 321 uint64_t pctl:5; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/mfd/ |
D | syscon.yaml | 83 - mediatek,mt2701-pctl-a-syscfg 84 - mediatek,mt2712-pctl-a-syscfg 85 - mediatek,mt6397-pctl-pmic-syscfg 86 - mediatek,mt8135-pctl-a-syscfg 87 - mediatek,mt8135-pctl-b-syscfg 88 - mediatek,mt8173-pctl-a-syscfg 180 - mediatek,mt2701-pctl-a-syscfg 181 - mediatek,mt2712-pctl-a-syscfg 182 - mediatek,mt6397-pctl-pmic-syscfg 183 - mediatek,mt8135-pctl-a-syscfg [all …]
|
/linux-6.12.1/arch/alpha/kernel/ |
D | core_titan.c | 237 union TPAchipPCTL pctl; in titan_query_agp() local 240 pctl.pctl_q_whole = port->pctl.csr; in titan_query_agp() 242 return pctl.pctl_r_bits.apctl_v_agp_present; in titan_query_agp() 341 port->pctl.csr |= pctl_m_mwin; in titan_init_one_pachip_port() 643 union TPAchipPCTL pctl; in titan_agp_configure() local 645 pctl.pctl_q_whole = port->pctl.csr; in titan_agp_configure() 648 pctl.pctl_r_bits.apctl_v_agp_sba_en = agp->mode.bits.sba; in titan_agp_configure() 651 pctl.pctl_r_bits.apctl_v_agp_rate = 0; /* 1x */ in titan_agp_configure() 653 pctl.pctl_r_bits.apctl_v_agp_rate = 1; /* 2x */ in titan_agp_configure() 656 pctl.pctl_r_bits.apctl_v_agp_rate = 2; /* 4x */ in titan_agp_configure() [all …]
|
/linux-6.12.1/drivers/phy/qualcomm/ |
D | phy-qcom-usb-hsic.c | 20 struct pinctrl *pctl; member 56 pins_default = pinctrl_lookup_state(uphy->pctl, PINCTRL_STATE_DEFAULT); in qcom_usb_hsic_phy_power_on() 62 ret = pinctrl_select_state(uphy->pctl, pins_default); in qcom_usb_hsic_phy_power_on() 116 uphy->pctl = devm_pinctrl_get(&ulpi->dev); in qcom_usb_hsic_phy_probe() 117 if (IS_ERR(uphy->pctl)) in qcom_usb_hsic_phy_probe() 118 return PTR_ERR(uphy->pctl); in qcom_usb_hsic_phy_probe()
|
/linux-6.12.1/sound/soc/ |
D | soc-ac97.c | 27 struct pinctrl *pctl; member 266 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_warm_reset() local 268 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_warm_reset); in snd_soc_ac97_warm_reset() 276 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_warm_reset() 282 struct pinctrl *pctl = snd_ac97_rst_cfg.pctl; in snd_soc_ac97_reset() local 284 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_reset); in snd_soc_ac97_reset() 294 pinctrl_select_state(pctl, snd_ac97_rst_cfg.pstate_run); in snd_soc_ac97_reset() 309 cfg->pctl = p; in snd_soc_ac97_parse_pinctl()
|