Searched refs:plat_dat (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_pci.c | 29 static struct plat_stmmacenet_data plat_dat; variable 35 memset(&plat_dat, 0, sizeof(struct plat_stmmacenet_data)); in stmmac_default_data() 37 plat_dat.bus_id = 1; in stmmac_default_data() 38 plat_dat.phy_addr = 0; in stmmac_default_data() 39 plat_dat.interface = PHY_INTERFACE_MODE_GMII; in stmmac_default_data() 40 plat_dat.clk_csr = 2; /* clk_csr_i = 20-35MHz & MDC = clk_csr_i/16 */ in stmmac_default_data() 41 plat_dat.has_gmac = 1; in stmmac_default_data() 42 plat_dat.force_sf_dma_mode = 1; in stmmac_default_data() 46 plat_dat.mdio_bus_data = &mdio_data; in stmmac_default_data() 50 plat_dat.dma_cfg = &dma_cfg; in stmmac_default_data() [all …]
|
D | stmmac_platform.c | 258 struct plat_stmmacenet_data *plat_dat = NULL; in stmmac_pltfr_probe() local 266 plat_dat = dev_get_platdata(&pdev->dev); in stmmac_pltfr_probe() 268 if (!plat_dat) in stmmac_pltfr_probe() 269 plat_dat = devm_kzalloc(&pdev->dev, in stmmac_pltfr_probe() 272 if (!plat_dat) { in stmmac_pltfr_probe() 278 plat_dat->multicast_filter_bins = HASH_TABLE_SIZE; in stmmac_pltfr_probe() 281 plat_dat->unicast_filter_entries = 1; in stmmac_pltfr_probe() 284 ret = stmmac_probe_config_dt(pdev, plat_dat, &mac); in stmmac_pltfr_probe() 292 if (plat_dat->setup) { in stmmac_pltfr_probe() 293 plat_dat->bsp_priv = plat_dat->setup(pdev); in stmmac_pltfr_probe() [all …]
|
D | stmmac.h | 134 struct plat_stmmacenet_data *plat_dat,
|
D | stmmac_main.c | 2761 struct plat_stmmacenet_data *plat_dat, in stmmac_dvr_probe() argument 2780 priv->plat = plat_dat; in stmmac_dvr_probe()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_platform.c | 86 struct sxgbe_plat_data *plat_dat = NULL; in sxgbe_platform_probe() local 101 plat_dat = devm_kzalloc(&pdev->dev, in sxgbe_platform_probe() 104 if (!plat_dat) in sxgbe_platform_probe() 107 ret = sxgbe_probe_config_dt(pdev, plat_dat, &mac); in sxgbe_platform_probe() 118 priv = sxgbe_drv_probe(&(pdev->dev), plat_dat, addr); in sxgbe_platform_probe()
|
D | sxgbe_common.h | 517 struct sxgbe_plat_data *plat_dat,
|
D | sxgbe_main.c | 2068 struct sxgbe_plat_data *plat_dat, in sxgbe_drv_probe() argument 2088 priv->plat = plat_dat; in sxgbe_drv_probe()
|
/drivers/misc/ |
D | atmel-ssc.c | 151 const struct atmel_ssc_platform_data *plat_dat; in ssc_probe() local 161 plat_dat = atmel_ssc_get_driver_data(pdev); in ssc_probe() 162 if (!plat_dat) in ssc_probe() 164 ssc->pdata = (struct atmel_ssc_platform_data *)plat_dat; in ssc_probe()
|
/drivers/input/joystick/ |
D | as5011.c | 161 const struct as5011_platform_data *plat_dat) in as5011_configure_chip() argument 194 error = as5011_i2c_write(client, AS5011_XP, plat_dat->xp); in as5011_configure_chip() 200 error = as5011_i2c_write(client, AS5011_XN, plat_dat->xn); in as5011_configure_chip() 206 error = as5011_i2c_write(client, AS5011_YP, plat_dat->yp); in as5011_configure_chip() 212 error = as5011_i2c_write(client, AS5011_YN, plat_dat->yn); in as5011_configure_chip()
|
/drivers/dma/ |
D | at_hdmac.c | 1393 const struct at_dma_platform_data *plat_dat; in at_dma_probe() local 1401 plat_dat = at_dma_get_driver_data(pdev); in at_dma_probe() 1402 if (!plat_dat) in at_dma_probe() 1414 size += plat_dat->nr_channels * sizeof(struct at_dma_chan); in at_dma_probe() 1420 atdma->dma_common.cap_mask = plat_dat->cap_mask; in at_dma_probe() 1421 atdma->all_chan_mask = (1 << plat_dat->nr_channels) - 1; in at_dma_probe() 1469 for (i = 0; i < plat_dat->nr_channels; i++) { in at_dma_probe() 1516 plat_dat->nr_channels); in at_dma_probe()
|