Searched refs:plat_dat (Results 1 – 6 of 6) sorted by relevance
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_pci.c | 29 struct plat_stmmacenet_data plat_dat; variable 34 memset(&plat_dat, 0, sizeof(struct plat_stmmacenet_data)); in stmmac_default_data() 35 plat_dat.bus_id = 1; in stmmac_default_data() 36 plat_dat.phy_addr = 0; in stmmac_default_data() 37 plat_dat.interface = PHY_INTERFACE_MODE_GMII; in stmmac_default_data() 38 plat_dat.pbl = 32; in stmmac_default_data() 39 plat_dat.clk_csr = 2; /* clk_csr_i = 20-35MHz & MDC = clk_csr_i/16 */ in stmmac_default_data() 40 plat_dat.has_gmac = 1; in stmmac_default_data() 41 plat_dat.force_sf_dma_mode = 1; in stmmac_default_data() 46 plat_dat.mdio_bus_data = &mdio_data; in stmmac_default_data() [all …]
|
D | stmmac_platform.c | 82 struct plat_stmmacenet_data *plat_dat = NULL; in stmmac_pltfr_probe() local 104 plat_dat = devm_kzalloc(&pdev->dev, in stmmac_pltfr_probe() 107 if (!plat_dat) { in stmmac_pltfr_probe() 113 ret = stmmac_probe_config_dt(pdev, plat_dat, &mac); in stmmac_pltfr_probe() 119 plat_dat = pdev->dev.platform_data; in stmmac_pltfr_probe() 123 if (plat_dat->init) { in stmmac_pltfr_probe() 124 ret = plat_dat->init(pdev); in stmmac_pltfr_probe() 129 priv = stmmac_dvr_probe(&(pdev->dev), plat_dat, addr); in stmmac_pltfr_probe()
|
D | stmmac.h | 100 struct plat_stmmacenet_data *plat_dat,
|
D | stmmac_main.c | 1800 struct plat_stmmacenet_data *plat_dat, in stmmac_dvr_probe() argument 1821 priv->plat = plat_dat; in stmmac_dvr_probe()
|
/linux-3.4.99/drivers/input/joystick/ |
D | as5011.c | 148 const struct as5011_platform_data *plat_dat) in as5011_configure_chip() argument 181 error = as5011_i2c_write(client, AS5011_XP, plat_dat->xp); in as5011_configure_chip() 187 error = as5011_i2c_write(client, AS5011_XN, plat_dat->xn); in as5011_configure_chip() 193 error = as5011_i2c_write(client, AS5011_YP, plat_dat->yp); in as5011_configure_chip() 199 error = as5011_i2c_write(client, AS5011_YN, plat_dat->yn); in as5011_configure_chip()
|
/linux-3.4.99/drivers/dma/ |
D | at_hdmac.c | 1270 struct at_dma_platform_data *plat_dat; in at_dma_probe() local 1278 plat_dat = at_dma_get_driver_data(pdev); in at_dma_probe() 1279 if (!plat_dat) in at_dma_probe() 1291 size += plat_dat->nr_channels * sizeof(struct at_dma_chan); in at_dma_probe() 1297 atdma->dma_common.cap_mask = plat_dat->cap_mask; in at_dma_probe() 1298 atdma->all_chan_mask = (1 << plat_dat->nr_channels) - 1; in at_dma_probe() 1344 for (i = 0; i < plat_dat->nr_channels; i++) { in at_dma_probe() 1389 plat_dat->nr_channels); in at_dma_probe()
|