Home
last modified time | relevance | path

Searched refs:platform_info (Results 1 – 7 of 7) sorted by relevance

/drivers/platform/x86/
Dintel_mid_thermal.c87 struct platform_info { struct
483 struct platform_info *pinfo; in mid_thermal_probe()
485 pinfo = devm_kzalloc(&pdev->dev, sizeof(struct platform_info), in mid_thermal_probe()
537 struct platform_info *pinfo = platform_get_drvdata(pdev); in mid_thermal_remove()
Dintel_ips.c1509 u64 platform_info; in ips_probe() local
1601 rdmsrl(PLATFORM_INFO, platform_info); in ips_probe()
1602 if (!(platform_info & PLATFORM_TDP)) { in ips_probe()
/drivers/spi/
Dspi-pl022.c2102 struct pl022_ssp_controller *platform_info = in pl022_probe() local
2111 if (!platform_info && IS_ENABLED(CONFIG_OF)) in pl022_probe()
2112 platform_info = pl022_platform_data_dt_get(dev); in pl022_probe()
2114 if (!platform_info) { in pl022_probe()
2119 if (platform_info->num_chipselect) { in pl022_probe()
2120 num_cs = platform_info->num_chipselect; in pl022_probe()
2135 pl022->master_info = platform_info; in pl022_probe()
2149 master->bus_num = platform_info->bus_id; in pl022_probe()
2156 master->rt = platform_info->rt; in pl022_probe()
2159 if (platform_info->num_chipselect && platform_info->chipselects) { in pl022_probe()
[all …]
Dspi-pxa2xx.c1578 struct pxa2xx_spi_master *platform_info; in pxa2xx_spi_probe() local
1586 platform_info = dev_get_platdata(dev); in pxa2xx_spi_probe()
1587 if (!platform_info) { in pxa2xx_spi_probe()
1588 platform_info = pxa2xx_spi_init_pdata(pdev); in pxa2xx_spi_probe()
1589 if (!platform_info) { in pxa2xx_spi_probe()
1597 ssp = &platform_info->ssp; in pxa2xx_spi_probe()
1612 drv_data->master_info = platform_info; in pxa2xx_spi_probe()
1664 if (platform_info->enable_dma) { in pxa2xx_spi_probe()
1668 platform_info->enable_dma = false; in pxa2xx_spi_probe()
1721 platform_info->num_chipselect = ffz(tmp); in pxa2xx_spi_probe()
[all …]
Dspi-bfin-sport.c742 struct bfin5xx_spi_master *platform_info; in bfin_sport_spi_probe() local
748 platform_info = dev_get_platdata(dev); in bfin_sport_spi_probe()
760 drv_data->pin_req = platform_info->pin_req; in bfin_sport_spi_probe()
765 master->num_chipselect = platform_info->num_chipselect; in bfin_sport_spi_probe()
Dspi-bfin5xx.c1250 struct bfin5xx_spi_master *platform_info; in bfin_spi_probe() local
1256 platform_info = dev_get_platdata(dev); in bfin_spi_probe()
1267 drv_data->master_info = platform_info; in bfin_spi_probe()
1269 drv_data->pin_req = platform_info->pin_req; in bfin_spi_probe()
1275 master->num_chipselect = platform_info->num_chipselect; in bfin_spi_probe()
/drivers/net/ethernet/micrel/
Dksz884x.c6840 struct platform_info { struct
6922 struct platform_info *info; in pcidev_init()
6956 info = kzalloc(sizeof(struct platform_info), GFP_KERNEL); in pcidev_init()
7138 struct platform_info *info = pci_get_drvdata(pdev); in pcidev_exit()
7159 struct platform_info *info = pci_get_drvdata(pdev); in pcidev_resume()
7185 struct platform_info *info = pci_get_drvdata(pdev); in pcidev_suspend()