Home
last modified time | relevance | path

Searched refs:rfkill_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/net/rfkill/
A Drfkill-gpio.c23 struct rfkill *rfkill_dev; member
128 rfkill->rfkill_dev = rfkill_alloc(rfkill->name, &pdev->dev, in rfkill_gpio_probe()
131 if (!rfkill->rfkill_dev) in rfkill_gpio_probe()
134 ret = rfkill_register(rfkill->rfkill_dev); in rfkill_gpio_probe()
145 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_probe()
154 rfkill_unregister(rfkill->rfkill_dev); in rfkill_gpio_remove()
155 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_remove()
A Dcore.c826 ATTRIBUTE_GROUPS(rfkill_dev);
/linux-6.3-rc2/drivers/platform/x86/intel/
A Doaktrail.c120 struct rfkill *rfkill_dev; in oaktrail_rfkill_new() local
124 rfkill_dev = rfkill_alloc(name, &oaktrail_device->dev, type, in oaktrail_rfkill_new()
126 if (!rfkill_dev) in oaktrail_rfkill_new()
130 rfkill_init_sw_state(rfkill_dev, (value & mask) != 1); in oaktrail_rfkill_new()
132 err = rfkill_register(rfkill_dev); in oaktrail_rfkill_new()
134 rfkill_destroy(rfkill_dev); in oaktrail_rfkill_new()
138 return rfkill_dev; in oaktrail_rfkill_new()
/linux-6.3-rc2/drivers/platform/x86/
A Dacer-wmi.c1825 struct rfkill *rfkill_dev; in acer_rfkill_register() local
1829 rfkill_dev = rfkill_alloc(name, dev, type, in acer_rfkill_register()
1832 if (!rfkill_dev) in acer_rfkill_register()
1837 err = rfkill_register(rfkill_dev); in acer_rfkill_register()
1839 rfkill_destroy(rfkill_dev); in acer_rfkill_register()
1844 rfkill_set_sw_state(rfkill_dev, !state); in acer_rfkill_register()
1846 return rfkill_dev; in acer_rfkill_register()

Completed in 17 milliseconds