Searched refs:rfkill_dev (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/net/rfkill/ |
D | rfkill-gpio.c | 23 struct rfkill *rfkill_dev; member 119 rfkill->rfkill_dev = rfkill_alloc(rfkill->name, &pdev->dev, in rfkill_gpio_probe() 122 if (!rfkill->rfkill_dev) in rfkill_gpio_probe() 125 ret = rfkill_register(rfkill->rfkill_dev); in rfkill_gpio_probe() 136 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_probe() 145 rfkill_unregister(rfkill->rfkill_dev); in rfkill_gpio_remove() 146 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_remove()
|
D | core.c | 826 ATTRIBUTE_GROUPS(rfkill_dev);
|
/linux-6.1.9/drivers/platform/x86/intel/ |
D | oaktrail.c | 120 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.1.9/drivers/platform/x86/ |
D | acer-wmi.c | 1825 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()
|