/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.h | 23 bool (*ctlrdy_ack)(struct brcmnand_soc *soc); 24 void (*ctlrdy_set_enabled)(struct brcmnand_soc *soc, bool en); 25 void (*prepare_data_bus)(struct brcmnand_soc *soc, bool prepare, 31 u32 (*read_reg)(struct brcmnand_soc *soc, u32 offset); 32 void (*write_reg)(struct brcmnand_soc *soc, u32 val, u32 offset); 35 static inline void brcmnand_soc_data_bus_prepare(struct brcmnand_soc *soc, in brcmnand_soc_data_bus_prepare() argument 38 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_prepare() 39 soc->prepare_data_bus(soc, true, is_param); in brcmnand_soc_data_bus_prepare() 42 static inline void brcmnand_soc_data_bus_unprepare(struct brcmnand_soc *soc, in brcmnand_soc_data_bus_unprepare() argument 45 if (soc && soc->prepare_data_bus) in brcmnand_soc_data_bus_unprepare() [all …]
|
D | iproc_nand.c | 18 struct brcmnand_soc soc; member 32 static bool iproc_nand_intc_ack(struct brcmnand_soc *soc) in iproc_nand_intc_ack() argument 35 container_of(soc, struct iproc_nand_soc, soc); in iproc_nand_intc_ack() 47 static void iproc_nand_intc_set(struct brcmnand_soc *soc, bool en) in iproc_nand_intc_set() argument 50 container_of(soc, struct iproc_nand_soc, soc); in iproc_nand_intc_set() 69 static void iproc_nand_apb_access(struct brcmnand_soc *soc, bool prepare, in iproc_nand_apb_access() argument 73 container_of(soc, struct iproc_nand_soc, soc); in iproc_nand_apb_access() 105 struct brcmnand_soc *soc; in iproc_nand_probe() local 111 soc = &priv->soc; in iproc_nand_probe() 125 soc->ctlrdy_ack = iproc_nand_intc_ack; in iproc_nand_probe() [all …]
|
D | bcm63138_nand.c | 18 struct brcmnand_soc soc; member 29 static bool bcm63138_nand_intc_ack(struct brcmnand_soc *soc) in bcm63138_nand_intc_ack() argument 32 container_of(soc, struct bcm63138_nand_soc, soc); in bcm63138_nand_intc_ack() 44 static void bcm63138_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm63138_nand_intc_set() argument 47 container_of(soc, struct bcm63138_nand_soc, soc); in bcm63138_nand_intc_set() 63 struct brcmnand_soc *soc; in bcm63138_nand_probe() local 69 soc = &priv->soc; in bcm63138_nand_probe() 76 soc->ctlrdy_ack = bcm63138_nand_intc_ack; in bcm63138_nand_probe() 77 soc->ctlrdy_set_enabled = bcm63138_nand_intc_set; in bcm63138_nand_probe() 79 return brcmnand_probe(pdev, soc); in bcm63138_nand_probe()
|
D | bcm6368_nand.c | 27 struct brcmnand_soc soc; member 50 static bool bcm6368_nand_intc_ack(struct brcmnand_soc *soc) in bcm6368_nand_intc_ack() argument 53 container_of(soc, struct bcm6368_nand_soc, soc); in bcm6368_nand_intc_ack() 68 static void bcm6368_nand_intc_set(struct brcmnand_soc *soc, bool en) in bcm6368_nand_intc_set() argument 71 container_of(soc, struct bcm6368_nand_soc, soc); in bcm6368_nand_intc_set() 90 struct brcmnand_soc *soc; in bcm6368_nand_probe() local 96 soc = &priv->soc; in bcm6368_nand_probe() 104 soc->ctlrdy_ack = bcm6368_nand_intc_ack; in bcm6368_nand_probe() 105 soc->ctlrdy_set_enabled = bcm6368_nand_intc_set; in bcm6368_nand_probe() 112 return brcmnand_probe(pdev, soc); in bcm6368_nand_probe()
|
/drivers/soc/ |
D | Kconfig | 4 source "drivers/soc/actions/Kconfig" 5 source "drivers/soc/amlogic/Kconfig" 6 source "drivers/soc/aspeed/Kconfig" 7 source "drivers/soc/atmel/Kconfig" 8 source "drivers/soc/bcm/Kconfig" 9 source "drivers/soc/fsl/Kconfig" 10 source "drivers/soc/imx/Kconfig" 11 source "drivers/soc/ixp4xx/Kconfig" 12 source "drivers/soc/mediatek/Kconfig" 13 source "drivers/soc/qcom/Kconfig" [all …]
|
/drivers/pinctrl/mediatek/ |
D | pinctrl-moore.c | 62 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_set_mux() 78 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable() 81 hw->soc->gpio_m); in mtk_pinmux_gpio_request_enable() 91 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction() 105 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get() 109 if (hw->soc->bias_disable_get) { in mtk_pinconf_get() 110 err = hw->soc->bias_disable_get(hw, desc, &ret); in mtk_pinconf_get() 118 if (hw->soc->bias_get) { in mtk_pinconf_get() 119 err = hw->soc->bias_get(hw, desc, 1, &ret); in mtk_pinconf_get() 127 if (hw->soc->bias_get) { in mtk_pinconf_get() [all …]
|
D | pinctrl-paris.c | 58 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_request_enable() 61 hw->soc->gpio_m); in mtk_pinmux_gpio_request_enable() 71 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinmux_gpio_set_direction() 85 if (pin >= hw->soc->npins) { in mtk_pinconf_get() 89 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin]; in mtk_pinconf_get() 95 if (hw->soc->bias_get_combo) { in mtk_pinconf_get() 96 err = hw->soc->bias_get_combo(hw, desc, &pullup, &ret); in mtk_pinconf_get() 150 if (hw->soc->drive_get) in mtk_pinconf_get() 151 err = hw->soc->drive_get(hw, desc, &ret); in mtk_pinconf_get() 163 if (hw->soc->adv_pull_get) { in mtk_pinconf_get() [all …]
|
/drivers/clk/tegra/ |
D | clk-tegra124-dfll-fcpu.c | 556 struct tegra_dfll_soc_data *soc; in tegra124_dfll_fcpu_probe() local 574 soc = devm_kzalloc(&pdev->dev, sizeof(*soc), GFP_KERNEL); in tegra124_dfll_fcpu_probe() 575 if (!soc) in tegra124_dfll_fcpu_probe() 578 soc->dev = get_cpu_device(0); in tegra124_dfll_fcpu_probe() 579 if (!soc->dev) { in tegra124_dfll_fcpu_probe() 592 soc->max_freq = fcpu_data->cpu_max_freq_table[speedo_id]; in tegra124_dfll_fcpu_probe() 594 soc->cvb = tegra_cvb_add_opp_table(soc->dev, fcpu_data->cpu_cvb_tables, in tegra124_dfll_fcpu_probe() 597 speedo_value, soc->max_freq); in tegra124_dfll_fcpu_probe() 598 soc->alignment = align; in tegra124_dfll_fcpu_probe() 600 if (IS_ERR(soc->cvb)) { in tegra124_dfll_fcpu_probe() [all …]
|
/drivers/phy/tegra/ |
D | xusb.c | 34 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_of_xlate() 103 np = of_get_child_by_name(lanes, pad->soc->lanes[index].name); in tegra_xusb_pad_find_phy_node() 120 err = match_string(lane->soc->funcs, lane->soc->num_funcs, function); in tegra_xusb_lane_parse_dt() 146 pad->soc->ops->remove(pad); in tegra_xusb_pad_release() 166 err = dev_set_name(&pad->dev, "%s", pad->soc->name); in tegra_xusb_pad_init() 193 pad->lanes = devm_kcalloc(&pad->dev, pad->soc->num_lanes, sizeof(lane), in tegra_xusb_pad_register() 200 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_register() 248 unsigned int i = pad->soc->num_lanes; in tegra_xusb_pad_unregister() 260 const struct tegra_xusb_pad_soc *soc) in tegra_xusb_pad_create() argument 266 np = tegra_xusb_find_pad_node(padctl, soc->name); in tegra_xusb_pad_create() [all …]
|
/drivers/pinctrl/freescale/ |
D | pinctrl-mxs.c | 25 struct mxs_pinctrl_soc_data *soc; member 32 return d->soc->ngroups; in mxs_get_groups_count() 40 return d->soc->groups[group].name; in mxs_get_group_name() 48 *pins = d->soc->groups[group].pins; in mxs_get_group_pins() 49 *num_pins = d->soc->groups[group].npins; in mxs_get_group_pins() 166 return d->soc->nfunctions; in mxs_pinctrl_get_funcs_count() 174 return d->soc->functions[function].name; in mxs_pinctrl_get_func_name() 184 *groups = d->soc->functions[group].groups; in mxs_pinctrl_get_func_groups() 185 *num_groups = d->soc->functions[group].ngroups; in mxs_pinctrl_get_func_groups() 204 struct mxs_group *g = &d->soc->groups[group]; in mxs_pinctrl_set_mux() [all …]
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-xp.c | 542 struct mvebu_pinctrl_soc_info *soc = in armada_xp_pinctrl_suspend() local 546 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_suspend() 549 mpp_saved_regs[i] = readl(soc->control_data[0].base + i * 4); in armada_xp_pinctrl_suspend() 556 struct mvebu_pinctrl_soc_info *soc = in armada_xp_pinctrl_resume() local 560 nregs = DIV_ROUND_UP(soc->nmodes, MVEBU_MPPS_PER_REG); in armada_xp_pinctrl_resume() 563 writel(mpp_saved_regs[i], soc->control_data[0].base + i * 4); in armada_xp_pinctrl_resume() 570 struct mvebu_pinctrl_soc_info *soc = &armada_xp_pinctrl_info; in armada_xp_pinctrl_probe() local 578 soc->variant = (unsigned) match->data & 0xff; in armada_xp_pinctrl_probe() 580 switch (soc->variant) { in armada_xp_pinctrl_probe() 582 soc->controls = mv78230_mpp_controls; in armada_xp_pinctrl_probe() [all …]
|
D | pinctrl-armada-ap806.c | 108 struct mvebu_pinctrl_soc_info *soc = &armada_ap806_pinctrl_info; in armada_ap806_pinctrl_probe() local 115 soc->variant = 0; /* no variants for Armada AP806 */ in armada_ap806_pinctrl_probe() 116 soc->controls = armada_ap806_mpp_controls; in armada_ap806_pinctrl_probe() 117 soc->ncontrols = ARRAY_SIZE(armada_ap806_mpp_controls); in armada_ap806_pinctrl_probe() 118 soc->gpioranges = armada_ap806_mpp_gpio_ranges; in armada_ap806_pinctrl_probe() 119 soc->ngpioranges = ARRAY_SIZE(armada_ap806_mpp_gpio_ranges); in armada_ap806_pinctrl_probe() 120 soc->modes = armada_ap806_mpp_modes; in armada_ap806_pinctrl_probe() 121 soc->nmodes = armada_ap806_mpp_controls[0].npins; in armada_ap806_pinctrl_probe() 123 pdev->dev.platform_data = soc; in armada_ap806_pinctrl_probe()
|
/drivers/memory/tegra/ |
D | mc.c | 106 for (i = 0; i < mc->soc->num_resets; i++) in tegra_mc_reset_find() 107 if (mc->soc->resets[i].id == id) in tegra_mc_reset_find() 108 return &mc->soc->resets[i]; in tegra_mc_reset_find() 126 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_assert() 178 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_deassert() 216 rst_ops = mc->soc->reset_ops; in tegra_mc_hotreset_status() 237 mc->reset.nr_resets = mc->soc->num_resets; in tegra_mc_reset_setup() 262 for (i = 0; i < mc->soc->num_clients; i++) { in tegra_mc_setup_latency_allowance() 263 const struct tegra_mc_la *la = &mc->soc->clients[i].la; in tegra_mc_setup_latency_allowance() 296 for (i = 0; i < mc->soc->num_emem_regs; ++i) in tegra_mc_write_emem_configuration() [all …]
|
/drivers/gpu/drm/amd/display/dc/dml/ |
D | display_mode_vba.c | 56 bool need_recalculate = memcmp(&mode_lib->soc, &mode_lib->vba.soc, sizeof(mode_lib->vba.soc)) != 0 in dml_get_voltage_level() 62 mode_lib->vba.soc = mode_lib->soc; in dml_get_voltage_level() 200 soc_bounding_box_st *soc = &mode_lib->vba.soc; in fetch_socbb_params() local 204 mode_lib->vba.ReturnBusWidth = soc->return_bus_width_bytes; in fetch_socbb_params() 205 mode_lib->vba.NumberOfChannels = soc->num_chans; in fetch_socbb_params() 207 …soc->pct_ideal_dram_sdp_bw_after_urgent_pixel_only; // there's always that one bastard variable th… in fetch_socbb_params() 209 soc->pct_ideal_dram_sdp_bw_after_urgent_pixel_and_vm; in fetch_socbb_params() 211 soc->pct_ideal_dram_sdp_bw_after_urgent_vm_only; in fetch_socbb_params() 213 soc->max_avg_sdp_bw_use_normal_percent; in fetch_socbb_params() 215 soc->max_avg_dram_bw_use_normal_percent; in fetch_socbb_params() [all …]
|
/drivers/soc/tegra/fuse/ |
D | fuse-tegra.c | 48 .soc = NULL, 213 if (fuse->soc->probe) { in tegra_fuse_probe() 214 err = fuse->soc->probe(fuse); in tegra_fuse_probe() 230 nvmem.size = fuse->soc->info->size; in tegra_fuse_probe() 265 unsigned int offset = fuse->soc->info->spare + spare * 4; in tegra_fuse_read_spare() 373 attr->custom_attr_group = fuse->soc->soc_attr_group; in tegra_soc_device_register() 415 fuse->soc = &tegra20_fuse_soc; in tegra_init_fuse() 421 fuse->soc = &tegra30_fuse_soc; in tegra_init_fuse() 427 fuse->soc = &tegra114_fuse_soc; in tegra_init_fuse() 433 fuse->soc = &tegra124_fuse_soc; in tegra_init_fuse() [all …]
|
/drivers/power/supply/ |
D | cw2015_battery.c | 70 int soc; member 255 unsigned int soc; in cw_get_soc() local 258 ret = regmap_read(cw_bat->regmap, CW2015_REG_SOC, &soc); in cw_get_soc() 262 if (soc > 100) { in cw_get_soc() 266 dev_err(cw_bat->dev, "Invalid SoC %d%%\n", soc); in cw_get_soc() 274 return cw_bat->soc; in cw_get_soc() 279 if (cw_bat->status == POWER_SUPPLY_STATUS_CHARGING && soc == cw_bat->soc) { in cw_get_soc() 286 "SoC stuck @%u%%, resetting gauge\n", soc); in cw_get_soc() 295 if (cw_bat->charger_attached && HYSTERESIS(soc, cw_bat->soc, 0, 3)) in cw_get_soc() 296 soc = cw_bat->soc; in cw_get_soc() [all …]
|
/drivers/pcmcia/ |
D | sa1111_generic.c | 161 s->soc.nr = ops->first + i; in sa1111_pcmcia_add() 162 s->soc.clk = clk; in sa1111_pcmcia_add() 164 soc_pcmcia_init_one(&s->soc, ops, &dev->dev); in sa1111_pcmcia_add() 166 if (s->soc.nr) { in sa1111_pcmcia_add() 167 s->soc.socket.pci_irq = irqs[IDX_IRQ_S1_READY_NINT]; in sa1111_pcmcia_add() 168 s->soc.stat[SOC_STAT_CD].irq = irqs[IDX_IRQ_S1_CD_VALID]; in sa1111_pcmcia_add() 169 s->soc.stat[SOC_STAT_CD].name = "SA1111 CF card detect"; in sa1111_pcmcia_add() 170 s->soc.stat[SOC_STAT_BVD1].irq = irqs[IDX_IRQ_S1_BVD1_STSCHG]; in sa1111_pcmcia_add() 171 s->soc.stat[SOC_STAT_BVD1].name = "SA1111 CF BVD1"; in sa1111_pcmcia_add() 173 s->soc.socket.pci_irq = irqs[IDX_IRQ_S0_READY_NINT]; in sa1111_pcmcia_add() [all …]
|
/drivers/pci/controller/ |
D | pci-tegra.c | 371 const struct tegra_pcie_soc *soc; member 506 const struct tegra_pcie_soc *soc = port->pcie->soc; in tegra_pcie_port_get_pex_ctrl() local 519 ret = soc->afi_pex2_ctrl; in tegra_pcie_port_get_pex_ctrl() 553 const struct tegra_pcie_soc *soc = port->pcie->soc; in tegra_pcie_enable_rp_features() local 579 if (soc->update_clamp_threshold) { in tegra_pcie_enable_rp_features() 591 const struct tegra_pcie_soc *soc = port->pcie->soc; in tegra_pcie_program_ectl_settings() local 596 value |= soc->ectl.regs.rp_ectl_2_r1; in tegra_pcie_program_ectl_settings() 601 value |= soc->ectl.regs.rp_ectl_4_r1 << in tegra_pcie_program_ectl_settings() 607 value |= soc->ectl.regs.rp_ectl_5_r1; in tegra_pcie_program_ectl_settings() 612 value |= soc->ectl.regs.rp_ectl_6_r1; in tegra_pcie_program_ectl_settings() [all …]
|
/drivers/thermal/ti-soc-thermal/ |
D | Makefile | 2 obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal.o 3 ti-soc-thermal-y := ti-bandgap.o 4 ti-soc-thermal-$(CONFIG_TI_THERMAL) += ti-thermal-common.o 5 ti-soc-thermal-$(CONFIG_DRA752_THERMAL) += dra752-thermal-data.o 6 ti-soc-thermal-$(CONFIG_OMAP3_THERMAL) += omap3-thermal-data.o 7 ti-soc-thermal-$(CONFIG_OMAP4_THERMAL) += omap4-thermal-data.o 8 ti-soc-thermal-$(CONFIG_OMAP5_THERMAL) += omap5-thermal-data.o
|
/drivers/iommu/ |
D | tegra-smmu.c | 24 const struct tegra_smmu_group_soc *soc; member 34 const struct tegra_smmu_soc *soc; member 87 ((smmu)->soc->num_tlb_lines & (smmu)->tlb_mask) 186 offset &= ~(smmu->mc->soc->atom_size - 1); in smmu_flush_ptc() 188 if (smmu->mc->soc->num_address_bits > 32) { in smmu_flush_ptc() 211 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_asid() 226 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_section() 241 if (smmu->soc->num_asids == 4) in smmu_flush_tlb_group() 261 id = find_first_zero_bit(smmu->asids, smmu->soc->num_asids); in tegra_smmu_alloc_asid() 262 if (id >= smmu->soc->num_asids) { in tegra_smmu_alloc_asid() [all …]
|
/drivers/gpu/host1x/ |
D | mipi.c | 120 const struct tegra_mipi_soc *soc; member 160 if (mipi->soc->needs_vclamp_ref) in tegra_mipi_power_up() 200 if (mipi->soc->needs_vclamp_ref) in tegra_mipi_power_down() 316 const struct tegra_mipi_soc *soc = device->mipi->soc; in tegra_mipi_start_calibration() local 327 value = MIPI_CAL_BIAS_PAD_DRV_DN_REF(soc->pad_drive_down_ref) | in tegra_mipi_start_calibration() 328 MIPI_CAL_BIAS_PAD_DRV_UP_REF(soc->pad_drive_up_ref); in tegra_mipi_start_calibration() 334 value |= MIPI_CAL_BIAS_PAD_VCLAMP(soc->pad_vclamp_level); in tegra_mipi_start_calibration() 335 value |= MIPI_CAL_BIAS_PAD_VAUXP(soc->pad_vauxp_level); in tegra_mipi_start_calibration() 338 for (i = 0; i < soc->num_pads; i++) { in tegra_mipi_start_calibration() 343 MIPI_CAL_CONFIG_HSPDOS(soc->hspdos) | in tegra_mipi_start_calibration() [all …]
|
/drivers/gpu/drm/tegra/ |
D | sor.c | 409 const struct tegra_sor_soc *soc; member 652 value = tegra_sor_readl(sor, sor->soc->regs->dp_padctl0); in tegra_sor_power_up_lanes() 655 value &= ~(SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[3]) | in tegra_sor_power_up_lanes() 656 SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[2])); in tegra_sor_power_up_lanes() 658 value |= SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[3]) | in tegra_sor_power_up_lanes() 659 SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[2]); in tegra_sor_power_up_lanes() 662 value &= ~SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[1]); in tegra_sor_power_up_lanes() 664 value |= SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[1]); in tegra_sor_power_up_lanes() 667 value &= ~SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[0]); in tegra_sor_power_up_lanes() 669 value |= SOR_DP_PADCTL_PD_TXD(sor->soc->lane_map[0]); in tegra_sor_power_up_lanes() [all …]
|
/drivers/soc/atmel/ |
D | soc.c | 212 const struct at91_soc *soc; in at91_soc_init() local 231 for (soc = socs; soc->name; soc++) { in at91_soc_init() 232 if (soc->cidr_match != (cidr & AT91_CIDR_MATCH_MASK)) in at91_soc_init() 235 if (!(cidr & AT91_CIDR_EXT) || soc->exid_match == exid) in at91_soc_init() 239 if (!soc->name) { in at91_soc_init() 248 soc_dev_attr->family = soc->family; in at91_soc_init() 249 soc_dev_attr->soc_id = soc->name; in at91_soc_init() 260 if (soc->family) in at91_soc_init() 261 pr_info("Detected SoC family: %s\n", soc->family); in at91_soc_init() 262 pr_info("Detected SoC: %s, revision %X\n", soc->name, in at91_soc_init()
|
/drivers/usb/host/ |
D | xhci-tegra.c | 231 const struct tegra_xusb_soc *soc; member 459 value = fpci_readl(tegra, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 465 fpci_writel(tegra, MBOX_OWNER_SW, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 467 value = fpci_readl(tegra, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 477 fpci_writel(tegra, value, tegra->soc->mbox.data_in); in tegra_xusb_mbox_send() 479 value = fpci_readl(tegra, tegra->soc->mbox.cmd); in tegra_xusb_mbox_send() 481 fpci_writel(tegra, value, tegra->soc->mbox.cmd); in tegra_xusb_mbox_send() 487 value = fpci_readl(tegra, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 495 value = fpci_readl(tegra, tegra->soc->mbox.owner); in tegra_xusb_mbox_send() 523 const struct tegra_xusb_soc *soc = tegra->soc; in tegra_xusb_mbox_handle() local [all …]
|
/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 78 const struct msm_pinctrl_soc_data *soc; member 113 return pctrl->soc->ngroups; in msm_get_groups_count() 121 return pctrl->soc->groups[group].name; in msm_get_group_name() 131 *pins = pctrl->soc->groups[group].pins; in msm_get_group_pins() 132 *num_pins = pctrl->soc->groups[group].npins; in msm_get_group_pins() 156 return pctrl->soc->nfunctions; in msm_get_functions_count() 164 return pctrl->soc->functions[function].name; in msm_get_function_name() 174 *groups = pctrl->soc->functions[function].groups; in msm_get_function_groups() 175 *num_groups = pctrl->soc->functions[function].ngroups; in msm_get_function_groups() 187 unsigned int gpio_func = pctrl->soc->gpio_func; in msm_pinmux_set_mux() [all …]
|