Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dintel_mid_thermal.c71 struct platform_info { struct
467 struct platform_info *pinfo; in mid_thermal_probe()
469 pinfo = devm_kzalloc(&pdev->dev, sizeof(struct platform_info), in mid_thermal_probe()
521 struct platform_info *pinfo = platform_get_drvdata(pdev); in mid_thermal_remove()
Dintel_ips.c1440 u64 platform_info; in ips_probe() local
1515 rdmsrl(PLATFORM_INFO, platform_info); in ips_probe()
1516 if (!(platform_info & PLATFORM_TDP)) { in ips_probe()
/Linux-v5.4/drivers/spi/
Dspi-pl022.c2119 struct pl022_ssp_controller *platform_info = in pl022_probe() local
2128 if (!platform_info && IS_ENABLED(CONFIG_OF)) in pl022_probe()
2129 platform_info = pl022_platform_data_dt_get(dev); in pl022_probe()
2131 if (!platform_info) { in pl022_probe()
2136 if (platform_info->num_chipselect) { in pl022_probe()
2137 num_cs = platform_info->num_chipselect; in pl022_probe()
2152 pl022->master_info = platform_info; in pl022_probe()
2166 master->bus_num = platform_info->bus_id; in pl022_probe()
2173 master->rt = platform_info->rt; in pl022_probe()
2176 if (platform_info->num_chipselect && platform_info->chipselects) { in pl022_probe()
[all …]
Dspi-pxa2xx.c1608 struct pxa2xx_spi_controller *platform_info; in pxa2xx_spi_probe() local
1616 platform_info = dev_get_platdata(dev); in pxa2xx_spi_probe()
1617 if (!platform_info) { in pxa2xx_spi_probe()
1618 platform_info = pxa2xx_spi_init_pdata(pdev); in pxa2xx_spi_probe()
1619 if (!platform_info) { in pxa2xx_spi_probe()
1627 ssp = &platform_info->ssp; in pxa2xx_spi_probe()
1634 if (platform_info->is_slave) in pxa2xx_spi_probe()
1646 drv_data->controller_info = platform_info; in pxa2xx_spi_probe()
1702 if (platform_info->enable_dma) { in pxa2xx_spi_probe()
1706 platform_info->enable_dma = false; in pxa2xx_spi_probe()
[all …]
/Linux-v5.4/tools/power/x86/intel-speed-select/
Disst-config.c639 struct isst_if_platform_info platform_info; in isst_print_platform_information() local
647 if (ioctl(fd, ISST_IF_GET_PLATFORM_INFO, &platform_info) == -1) { in isst_print_platform_information()
651 platform_info.api_version); in isst_print_platform_information()
653 platform_info.driver_version); in isst_print_platform_information()
655 platform_info.mbox_supported); in isst_print_platform_information()
657 platform_info.mmio_supported); in isst_print_platform_information()
/Linux-v5.4/drivers/net/ethernet/micrel/
Dksz884x.c6837 struct platform_info { struct
6919 struct platform_info *info; in pcidev_init()
6953 info = kzalloc(sizeof(struct platform_info), GFP_KERNEL); in pcidev_init()
7141 struct platform_info *info = pci_get_drvdata(pdev); in pcidev_exit()
7162 struct platform_info *info = pci_get_drvdata(pdev); in pcidev_resume()
7188 struct platform_info *info = pci_get_drvdata(pdev); in pcidev_suspend()