/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 155 ret = clk_prepare_enable(priv->plat->stmmac_clk); in stmmac_bus_clks_config() 158 ret = clk_prepare_enable(priv->plat->pclk); in stmmac_bus_clks_config() 160 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config() 163 if (priv->plat->clks_config) { in stmmac_bus_clks_config() 164 ret = priv->plat->clks_config(priv->plat->bsp_priv, enabled); in stmmac_bus_clks_config() 166 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config() 167 clk_disable_unprepare(priv->plat->pclk); in stmmac_bus_clks_config() 172 clk_disable_unprepare(priv->plat->stmmac_clk); in stmmac_bus_clks_config() 173 clk_disable_unprepare(priv->plat in stmmac_bus_clks_config() [all...] |
H A D | dwmac-tegra.c | 204 struct plat_stmmacenet_data *plat; in tegra_mgbe_probe() local 287 plat = stmmac_probe_config_dt(pdev, res.mac); in tegra_mgbe_probe() 288 if (IS_ERR(plat)) { in tegra_mgbe_probe() 289 err = PTR_ERR(plat); in tegra_mgbe_probe() 293 plat->has_xgmac = 1; in tegra_mgbe_probe() 294 plat->flags |= STMMAC_FLAG_TSO_EN; in tegra_mgbe_probe() 295 plat->pmt = 1; in tegra_mgbe_probe() 296 plat->bsp_priv = mgbe; in tegra_mgbe_probe() 298 if (!plat->mdio_node) in tegra_mgbe_probe() 299 plat in tegra_mgbe_probe() [all...] |
H A D | stmmac_platform.h | 19 struct plat_stmmacenet_data *plat); 25 struct plat_stmmacenet_data *plat); 27 struct plat_stmmacenet_data *plat); 30 struct plat_stmmacenet_data *plat, 33 struct plat_stmmacenet_data *plat, 44 return priv->plat->bsp_priv; in get_stmmac_bsp_priv()
|
H A D | dwmac4_lib.c | 32 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_set_rx_tail_ptr() 40 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_set_tx_tail_ptr() 48 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_dma_start_tx() 62 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_dma_stop_tx() 73 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_dma_start_rx() 89 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_dma_stop_rx() 99 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_set_tx_ring_len() 107 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_set_rx_ring_len() 115 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_enable_dma_irq() 129 const struct dwmac4_addrs *dwmac4_addrs = priv->plat in dwmac410_enable_dma_irq() [all...] |
H A D | hwif.c | 57 if (priv->plat->enh_desc) { in stmmac_dwmac1_quirks() 92 struct plat_stmmacenet_data *plat = priv ? priv->plat : NULL; in stmmac_reset() local 97 if (plat && plat->fix_soc_reset) in stmmac_reset() 98 return plat->fix_soc_reset(plat, ioaddr); in stmmac_reset() 272 bool needs_xgmac = priv->plat->has_xgmac; in stmmac_hwif_init() 273 bool needs_gmac4 = priv->plat->has_gmac4; in stmmac_hwif_init() 274 bool needs_gmac = priv->plat in stmmac_hwif_init() [all...] |
H A D | stmmac_ethtool.c | 295 if (priv->plat->has_gmac || priv->plat->has_gmac4) in stmmac_ethtool_getdrvinfo() 297 else if (priv->plat->has_xgmac) in stmmac_ethtool_getdrvinfo() 303 if (priv->plat->pdev) { in stmmac_ethtool_getdrvinfo() 304 strscpy(info->bus_info, pci_name(priv->plat->pdev), in stmmac_ethtool_getdrvinfo() 314 if (!(priv->plat->flags & STMMAC_FLAG_HAS_INTEGRATED_PCS) && in stmmac_ethtool_get_link_ksettings() 401 if (!(priv->plat->flags & STMMAC_FLAG_HAS_INTEGRATED_PCS) && in stmmac_ethtool_set_link_ksettings() 442 if (priv->plat->has_xgmac) in stmmac_ethtool_get_regs_len() 444 else if (priv->plat->has_gmac4) in stmmac_ethtool_get_regs_len() 459 if (priv->plat in stmmac_ethtool_gregs() [all...] |
H A D | stmmac_mdio.c | 291 if (priv->plat->has_gmac4) in stmmac_mdio_read_c22() 391 if (priv->plat->has_gmac4) in stmmac_mdio_write_c22() 492 if (!priv->plat->has_gmac4) in stmmac_mdio_reset() 506 mode = priv->plat->phy_interface; in stmmac_xpcs_setup() 536 struct stmmac_mdio_bus_data *mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_mdio_register() 537 struct device_node *mdio_node = priv->plat->mdio_node; in stmmac_mdio_register() 555 if (priv->plat->has_xgmac) { in stmmac_mdio_register() 566 if (priv->plat->phy_addr > MII_XGMAC_MAX_C22ADDR) in stmmac_mdio_register() 576 if (priv->plat->has_gmac4) { in stmmac_mdio_register() 588 new_bus->name, priv->plat in stmmac_mdio_register() [all...] |
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | Makefile | 133 src-plat-y := of.c epapr.c 134 src-plat-$(CONFIG_40x) += fixed-head.S cuboot-hotfoot.c \ 137 src-plat-$(CONFIG_44x) += treeboot-ebony.c cuboot-ebony.c treeboot-bamboo.c \ 145 src-plat-$(CONFIG_PPC_8xx) += cuboot-8xx.c fixed-head.S ep88xc.c redboot-8xx.c 146 src-plat-$(CONFIG_PPC_MPC52xx) += cuboot-52xx.c 147 src-plat-$(CONFIG_PPC_82xx) += cuboot-pq2.c fixed-head.S ep8248e.c cuboot-824x.c 148 src-plat-$(CONFIG_PPC_83xx) += cuboot-83xx.c fixed-head.S redboot-83xx.c 149 src-plat-$(CONFIG_FSL_SOC_BOOKE) += cuboot-85xx.c cuboot-85xx-cpm2.c 150 src-plat-$(CONFIG_EMBEDDED6xx) += cuboot-pq2.c cuboot-mpc7448hpc2.c \ 154 src-plat [all...] |
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
H A D | ixp4xx.c | 156 struct flash_platform_data *plat = dev_get_platdata(&dev->dev); in ixp4xx_flash_remove() local 167 if (plat->exit) in ixp4xx_flash_remove() 168 plat->exit(); in ixp4xx_flash_remove() 175 struct flash_platform_data *plat = dev_get_platdata(&dev->dev); in ixp4xx_flash_probe() local 182 if (!plat) in ixp4xx_flash_probe() 185 if (plat->init) { in ixp4xx_flash_probe() 186 err = plat->init(); in ixp4xx_flash_probe() 224 info->mtd = do_map_probe(plat->map_name, &info->map); in ixp4xx_flash_probe() 236 plat->parts, plat in ixp4xx_flash_probe() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_platform.c | 28 struct sxgbe_plat_data *plat, in sxgbe_probe_config_dt() 39 err = of_get_phy_mode(np, &plat->interface); in sxgbe_probe_config_dt() 43 plat->bus_id = of_alias_get_id(np, "ethernet"); in sxgbe_probe_config_dt() 44 if (plat->bus_id < 0) in sxgbe_probe_config_dt() 45 plat->bus_id = 0; in sxgbe_probe_config_dt() 47 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in sxgbe_probe_config_dt() 48 sizeof(*plat->mdio_bus_data), in sxgbe_probe_config_dt() 50 if (!plat->mdio_bus_data) in sxgbe_probe_config_dt() 57 plat->dma_cfg = dma_cfg; in sxgbe_probe_config_dt() 66 struct sxgbe_plat_data *plat, in sxgbe_probe_config_dt() 27 sxgbe_probe_config_dt(struct platform_device *pdev, struct sxgbe_plat_data *plat, const char **mac) sxgbe_probe_config_dt() argument 65 sxgbe_probe_config_dt(struct platform_device *pdev, struct sxgbe_plat_data *plat, const char **mac) sxgbe_probe_config_dt() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/samsung/sxgbe/ |
H A D | sxgbe_platform.c | 28 struct sxgbe_plat_data *plat) in sxgbe_probe_config_dt() 37 err = of_get_phy_mode(np, &plat->interface); in sxgbe_probe_config_dt() 41 plat->bus_id = of_alias_get_id(np, "ethernet"); in sxgbe_probe_config_dt() 42 if (plat->bus_id < 0) in sxgbe_probe_config_dt() 43 plat->bus_id = 0; in sxgbe_probe_config_dt() 45 plat->mdio_bus_data = devm_kzalloc(&pdev->dev, in sxgbe_probe_config_dt() 46 sizeof(*plat->mdio_bus_data), in sxgbe_probe_config_dt() 48 if (!plat->mdio_bus_data) in sxgbe_probe_config_dt() 55 plat->dma_cfg = dma_cfg; in sxgbe_probe_config_dt() 64 struct sxgbe_plat_data *plat) in sxgbe_probe_config_dt() 27 sxgbe_probe_config_dt(struct platform_device *pdev, struct sxgbe_plat_data *plat) sxgbe_probe_config_dt() argument 63 sxgbe_probe_config_dt(struct platform_device *pdev, struct sxgbe_plat_data *plat) sxgbe_probe_config_dt() argument [all...] |
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | gpio.c | 35 struct gpio_nand_platdata plat; member 186 struct gpio_nand_platdata *plat) in gpio_nand_get_config_of() 195 plat->options |= NAND_BUSWIDTH_16; in gpio_nand_get_config_of() 203 plat->chip_delay = val; in gpio_nand_get_config_of() 229 struct gpio_nand_platdata *plat) in gpio_nand_get_config_of() 242 struct gpio_nand_platdata *plat) in gpio_nand_get_config() 244 int ret = gpio_nand_get_config_of(dev, plat); in gpio_nand_get_config() 250 memcpy(plat, dev_get_platdata(dev), sizeof(*plat)); in gpio_nand_get_config() 317 ret = gpio_nand_get_config(dev, &gpiomtd->plat); in gpio_nand_probe() 185 gpio_nand_get_config_of(const struct device *dev, struct gpio_nand_platdata *plat) gpio_nand_get_config_of() argument 228 gpio_nand_get_config_of(const struct device *dev, struct gpio_nand_platdata *plat) gpio_nand_get_config_of() argument 241 gpio_nand_get_config(const struct device *dev, struct gpio_nand_platdata *plat) gpio_nand_get_config() argument [all...] |
H A D | txx9ndfmc.c | 86 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in ndregaddr() local 88 return drvdata->base + (reg << plat->shift); in ndregaddr() 136 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_cmd_ctrl() local 154 if (plat->flags & NDFMC_PLAT_FLAG_DUMMYWRITE) { in txx9ndfmc_cmd_ctrl() 222 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_initialize() local 226 if (plat->flags & NDFMC_PLAT_FLAG_NO_RSTR) in txx9ndfmc_initialize() 245 (plat->flags & NDFMC_PLAT_FLAG_USE_BSPRT) ? in txx9ndfmc_initialize() 282 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_probe() local 286 unsigned long gbusclk = plat->gbus_clock; in txx9ndfmc_probe() 297 hold = plat in txx9ndfmc_probe() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | gpio.c | 35 struct gpio_nand_platdata plat; member 186 struct gpio_nand_platdata *plat) in gpio_nand_get_config_of() 195 plat->options |= NAND_BUSWIDTH_16; in gpio_nand_get_config_of() 203 plat->chip_delay = val; in gpio_nand_get_config_of() 229 struct gpio_nand_platdata *plat) in gpio_nand_get_config_of() 242 struct gpio_nand_platdata *plat) in gpio_nand_get_config() 244 int ret = gpio_nand_get_config_of(dev, plat); in gpio_nand_get_config() 250 memcpy(plat, dev_get_platdata(dev), sizeof(*plat)); in gpio_nand_get_config() 314 ret = gpio_nand_get_config(dev, &gpiomtd->plat); in gpio_nand_probe() 185 gpio_nand_get_config_of(const struct device *dev, struct gpio_nand_platdata *plat) gpio_nand_get_config_of() argument 228 gpio_nand_get_config_of(const struct device *dev, struct gpio_nand_platdata *plat) gpio_nand_get_config_of() argument 241 gpio_nand_get_config(const struct device *dev, struct gpio_nand_platdata *plat) gpio_nand_get_config() argument [all...] |
H A D | txx9ndfmc.c | 85 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in ndregaddr() local 87 return drvdata->base + (reg << plat->shift); in ndregaddr() 135 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_cmd_ctrl() local 153 if (plat->flags & NDFMC_PLAT_FLAG_DUMMYWRITE) { in txx9ndfmc_cmd_ctrl() 221 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_initialize() local 225 if (plat->flags & NDFMC_PLAT_FLAG_NO_RSTR) in txx9ndfmc_initialize() 244 (plat->flags & NDFMC_PLAT_FLAG_USE_BSPRT) ? in txx9ndfmc_initialize() 281 struct txx9ndfmc_platform_data *plat = dev_get_platdata(&dev->dev); in txx9ndfmc_probe() local 285 unsigned long gbusclk = plat->gbus_clock; in txx9ndfmc_probe() 294 hold = plat in txx9ndfmc_probe() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 89 const struct ax_plat_data *plat; member 173 if (!ax->plat->check_irq(pdev)) in ax_ei_interrupt_filtered() 390 u8 reg_gpoc = ax->plat->gpoc_val; in ax_phy_switch() 495 if (ax->plat->check_irq) in ax_open() 662 ei_outb(ax->plat->dcr_val & ~1, ioaddr + EN0_DCFG); in ax_initial_setup() 663 ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17)); in ax_initial_setup() 694 if (ax->plat->flags & AXFLG_HAS_EEPROM) { in ax_init_dev() 708 if (ax->plat->wordlength == 2) in ax_init_dev() 716 if (ax->plat->flags & AXFLG_HAS_93CX6) { in ax_init_dev() 732 if (ax->plat in ax_init_dev() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/8390/ |
H A D | ax88796.c | 89 const struct ax_plat_data *plat; member 180 if (!ax->plat->check_irq(pdev)) in ax_ei_interrupt_filtered() 397 u8 reg_gpoc = ax->plat->gpoc_val; in ax_phy_switch() 502 if (ax->plat->check_irq) in ax_open() 669 ei_outb(ax->plat->dcr_val & ~1, ioaddr + EN0_DCFG); in ax_initial_setup() 670 ei_outb(ax->plat->gpoc_val, ioaddr + EI_SHIFT(0x17)); in ax_initial_setup() 701 if (ax->plat->flags & AXFLG_HAS_EEPROM) { in ax_init_dev() 715 if (ax->plat->wordlength == 2) in ax_init_dev() 723 if (ax->plat->flags & AXFLG_HAS_93CX6) { in ax_init_dev() 739 if (ax->plat in ax_init_dev() [all...] |
/kernel/linux/linux-5.10/drivers/w1/masters/ |
H A D | ds1wm.c | 312 struct ds1wm_driver_data *plat = dev_get_platdata(dev); in ds1wm_up() local 317 divisor = ds1wm_find_divisor(plat->clock_rate); in ds1wm_up() 319 divisor, plat->clock_rate); in ds1wm_up() 322 plat->clock_rate); in ds1wm_up() 509 struct ds1wm_driver_data *plat; in ds1wm_probe() local 535 plat = dev_get_platdata(&pdev->dev); in ds1wm_probe() 536 if (!plat) in ds1wm_probe() 540 if (plat->bus_shift > 2) { in ds1wm_probe() 547 ds1wm_data->bus_shift = plat->bus_shift; in ds1wm_probe() 557 ds1wm_data->is_hw_big_endian = plat in ds1wm_probe() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | Makefile | 156 src-plat-y := of.c epapr.c 157 src-plat-$(CONFIG_40x) += fixed-head.S cuboot-hotfoot.c \ 160 src-plat-$(CONFIG_44x) += treeboot-ebony.c cuboot-ebony.c treeboot-bamboo.c \ 168 src-plat-$(CONFIG_PPC_8xx) += cuboot-8xx.c fixed-head.S ep88xc.c redboot-8xx.c 169 src-plat-$(CONFIG_PPC_MPC52xx) += cuboot-52xx.c 170 src-plat-$(CONFIG_PPC_82xx) += cuboot-pq2.c fixed-head.S ep8248e.c cuboot-824x.c 171 src-plat-$(CONFIG_PPC_83xx) += cuboot-83xx.c fixed-head.S redboot-83xx.c 172 src-plat-$(CONFIG_FSL_SOC_BOOKE) += cuboot-85xx.c cuboot-85xx-cpm2.c 173 src-plat-$(CONFIG_EMBEDDED6xx) += cuboot-pq2.c \ 177 src-plat [all...] |
/kernel/linux/linux-5.10/sound/soc/ux500/ |
H A D | Makefile | 4 snd-soc-ux500-plat-msp-i2s-objs := ux500_msp_dai.o ux500_msp_i2s.o 5 obj-$(CONFIG_SND_SOC_UX500_PLAT_MSP_I2S) += snd-soc-ux500-plat-msp-i2s.o 7 snd-soc-ux500-plat-dma-objs := ux500_pcm.o 8 obj-$(CONFIG_SND_SOC_UX500_PLAT_DMA) += snd-soc-ux500-plat-dma.o
|
/kernel/linux/linux-6.6/sound/soc/ux500/ |
H A D | Makefile | 4 snd-soc-ux500-plat-msp-i2s-objs := ux500_msp_dai.o ux500_msp_i2s.o 5 obj-$(CONFIG_SND_SOC_UX500_PLAT_MSP_I2S) += snd-soc-ux500-plat-msp-i2s.o 7 snd-soc-ux500-plat-dma-objs := ux500_pcm.o 8 obj-$(CONFIG_SND_SOC_UX500_PLAT_DMA) += snd-soc-ux500-plat-dma.o
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_mdio.c | 243 if (priv->plat->has_gmac4) { in stmmac_mdio_read() 312 if (priv->plat->has_gmac4) { in stmmac_mdio_write() 394 if (!priv->plat->has_gmac4) in stmmac_mdio_reset() 410 struct stmmac_mdio_bus_data *mdio_bus_data = priv->plat->mdio_bus_data; in stmmac_mdio_register() 411 struct device_node *mdio_node = priv->plat->mdio_node; in stmmac_mdio_register() 427 if (priv->plat->has_xgmac) { in stmmac_mdio_register() 435 if (priv->plat->phy_addr > MII_XGMAC_MAX_C22ADDR) in stmmac_mdio_register() 456 new_bus->name, priv->plat->bus_id); in stmmac_mdio_register() 472 if (priv->plat->has_xgmac) in stmmac_mdio_register() 475 if (priv->plat in stmmac_mdio_register() [all...] |
H A D | stmmac_ethtool.c | 271 if (priv->plat->has_gmac || priv->plat->has_gmac4) in stmmac_ethtool_getdrvinfo() 273 else if (priv->plat->has_xgmac) in stmmac_ethtool_getdrvinfo() 422 if (priv->plat->has_xgmac) in stmmac_ethtool_get_regs_len() 424 else if (priv->plat->has_gmac4) in stmmac_ethtool_get_regs_len() 439 if (priv->plat->has_gmac4) { in stmmac_ethtool_gregs() 444 } else if (!priv->plat->has_xgmac) { in stmmac_ethtool_gregs() 522 u32 rx_queues_count = priv->plat->rx_queues_to_use; in stmmac_get_ethtool_stats() 523 u32 tx_queues_count = priv->plat->tx_queues_to_use; in stmmac_get_ethtool_stats() 645 if (!priv->plat in stmmac_get_wol() [all...] |
/kernel/linux/linux-6.6/drivers/usb/typec/ |
H A D | anx7411.c | 1445 struct anx7411_data *plat; in anx7411_i2c_probe() local 1452 plat = devm_kzalloc(dev, sizeof(*plat), GFP_KERNEL); in anx7411_i2c_probe() 1453 if (!plat) in anx7411_i2c_probe() 1456 plat->tcpc_client = client; in anx7411_i2c_probe() 1457 i2c_set_clientdata(client, plat); in anx7411_i2c_probe() 1459 mutex_init(&plat->lock); in anx7411_i2c_probe() 1461 ret = anx7411_register_i2c_dummy_clients(plat, client); in anx7411_i2c_probe() 1467 ret = anx7411_typec_switch_probe(plat, dev); in anx7411_i2c_probe() 1473 ret = anx7411_typec_port_probe(plat, de in anx7411_i2c_probe() 1545 struct anx7411_data *plat = i2c_get_clientdata(client); anx7411_i2c_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/mmp/panel/ |
H A D | tpo_tj032md01bw.c | 77 struct tpohvga_plat_data *plat = panel->plat_data; in tpohvga_onoff() local 81 plat->plat_onoff(1); in tpohvga_onoff() 83 ret = spi_write(plat->spi, init, sizeof(init)); in tpohvga_onoff() 87 ret = spi_write(plat->spi, poweroff, sizeof(poweroff)); in tpohvga_onoff() 91 plat->plat_onoff(0); in tpohvga_onoff()
|