Searched refs:pdev_data (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 220 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 229 pdev_data->family = of_id->data; in wlcore_probe_of() 241 &pdev_data->ref_clock_freq); in wlcore_probe_of() 243 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 249 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 258 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 270 pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 271 if (!pdev_data) in wl1271_probe() 274 pdev_data->if_ops = &sdio_ops; in wl1271_probe() 288 ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data); in wl1271_probe() [all …]
|
D | spi.c | 437 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 446 pdev_data->family = of_id->data; in wlcore_probe_of() 448 pdev_data->family->name); in wlcore_probe_of() 450 pdev_data->ref_clock_xtal = of_property_read_bool(dt_node, "clock-xtal"); in wlcore_probe_of() 454 &pdev_data->ref_clock_freq); in wlcore_probe_of() 456 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 464 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 468 pdev_data = devm_kzalloc(&spi->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 469 if (!pdev_data) in wl1271_probe() 472 pdev_data->if_ops = &spi_ops; in wl1271_probe() [all …]
|
D | boot.c | 272 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_boot_upload_nvs() local 285 if (pdev_data && pdev_data->family) in wlcore_boot_upload_nvs() 286 nvs_name = pdev_data->family->nvs_name; in wlcore_boot_upload_nvs()
|
D | main.c | 6148 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wl1271_register_hw() local 6175 if (!strcmp(pdev_data->family->name, "wl18xx")) { in wl1271_register_hw() 6574 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_nvs_cb() local 6587 } else if (pdev_data->family->nvs_name) { in wlcore_nvs_cb() 6589 pdev_data->family->nvs_name); in wlcore_nvs_cb() 6614 wl->if_ops = pdev_data->if_ops; in wlcore_nvs_cb() 6646 if (pdev_data->pwr_in_suspend) in wlcore_nvs_cb() 6788 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_probe() local 6792 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe() 6799 if (pdev_data->family && pdev_data->family->nvs_name) { in wlcore_probe() [all …]
|
/linux-6.12.1/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1800 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&wl->pdev->dev); in wl12xx_setup() local 1827 pdev_data->ref_clock_freq, in wl12xx_setup() 1828 pdev_data->ref_clock_xtal); in wl12xx_setup() 1831 pdev_data->ref_clock_freq, in wl12xx_setup() 1832 pdev_data->ref_clock_xtal ? in wl12xx_setup() 1854 if (!tcxo_param && pdev_data->tcxo_clock_freq) { in wl12xx_setup() 1856 pdev_data->tcxo_clock_freq, in wl12xx_setup() 1860 pdev_data->tcxo_clock_freq); in wl12xx_setup()
|