Lines Matching +full:rfkill +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-1.0+
3 // Copyright (c) Arnaud Patard <arnaud.patard@rtp-net.org>
13 #include <linux/gpio.h>
14 #include <linux/rfkill.h>
16 #include "gpio-cfg.h"
17 #include "regs-gpio.h"
18 #include "gpio-samsung.h"
22 #define DRV_NAME "h1940-bt"
62 struct rfkill *rfk; in h1940bt_probe()
65 ret = gpio_request(S3C2410_GPH(1), dev_name(&pdev->dev)); in h1940bt_probe()
67 dev_err(&pdev->dev, "could not get GPH1\n"); in h1940bt_probe()
71 ret = gpio_request(H1940_LATCH_BLUETOOTH_POWER, dev_name(&pdev->dev)); in h1940bt_probe()
74 dev_err(&pdev->dev, "could not get BT_POWER\n"); in h1940bt_probe()
88 rfk = rfkill_alloc(DRV_NAME, &pdev->dev, RFKILL_TYPE_BLUETOOTH, in h1940bt_probe()
91 ret = -ENOMEM; in h1940bt_probe()
111 struct rfkill *rfk = platform_get_drvdata(pdev); in h1940bt_remove()
138 MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>");