/openbmc/linux/Documentation/devicetree/bindings/gnss/ |
H A D | sirfstar.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Johan Hovold <johan@kernel.org> 23 - $ref: gnss-common.yaml# 28 - csr,gsd4t 29 - csr,csrg05ta03-icje-r 30 - fastrax,uc430 31 - linx,r4 32 - wi2wi,w2sg0004 [all …]
|
/openbmc/linux/drivers/media/common/siano/ |
H A D | sms-cards.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Card-specific functions for the Siano SMS1xxx USB dongle 78 /* gpios */ 122 int sms_board_power(struct smscore_device_t *coredev, int onoff); 123 int sms_board_lna_control(struct smscore_device_t *coredev, int onoff);
|
/openbmc/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | rtl28xxu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 struct rtl28xxu_dev *dev = d->priv; in rtl28xxu_ctrl_msg() 24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg() 26 if (req->size > sizeof(dev->buf)) { in rtl28xxu_ctrl_msg() 27 dev_err(&d->intf->dev, "too large message %u\n", req->size); in rtl28xxu_ctrl_msg() 28 ret = -EINVAL; in rtl28xxu_ctrl_msg() 32 if (req->index & CMD_WR_FLAG) { in rtl28xxu_ctrl_msg() 34 memcpy(dev->buf, req->data, req->size); in rtl28xxu_ctrl_msg() 36 pipe = usb_sndctrlpipe(d->udev, 0); in rtl28xxu_ctrl_msg() 42 * Zero-length transfers must use usb_sndctrlpipe() and in rtl28xxu_ctrl_msg() [all …]
|
/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | dib0700_devices.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2005-9 DiBcom, SA et al 29 MODULE_PARM_DESC(force_lna_activation, "force the activation of Low-Noise-Amplifier(s) (LNA), if ap… 38 /* Hauppauge Nova-T 500 (aka Bristol) 87 struct dib0700_state *st = adap->dev->priv; in bristol_frontend_attach() 88 if (adap->id == 0) { in bristol_frontend_attach() 89 dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 0); msleep(10); in bristol_frontend_attach() 90 dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); msleep(10); in bristol_frontend_attach() 91 dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0); msleep(10); in bristol_frontend_attach() 92 dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1); msleep(10); in bristol_frontend_attach() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | dib7000m.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's DiB7000M and 4 * first generation DiB7000P-demodulator-family. 6 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/) 80 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000m_read_word() 85 state->i2c_write_buffer[0] = (reg >> 8) | 0x80; in dib7000m_read_word() 86 state->i2c_write_buffer[1] = reg & 0xff; in dib7000m_read_word() 88 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000m_read_word() 89 state->msg[0].addr = state->i2c_addr >> 1; in dib7000m_read_word() 90 state->msg[0].flags = 0; in dib7000m_read_word() [all …]
|
H A D | dib7000p.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's second generation DiB7000P (PC). 5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/) 27 MODULE_PARM_DESC(buggy_sfn_workaround, "Enable work-around for buggy SFNs (default: 0)"); 96 static int dib7090_set_diversity_in(struct dvb_frontend *fe, int onoff); 104 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_read_word() 109 state->i2c_write_buffer[0] = reg >> 8; in dib7000p_read_word() 110 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_read_word() 112 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000p_read_word() 113 state->msg[0].addr = state->i2c_addr >> 1; in dib7000p_read_word() [all …]
|
H A D | af9013.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 45 struct i2c_client *client = state->client; in af9013_set_gpio() 50 dev_dbg(&client->dev, "gpio %u, gpioval %02x\n", gpio, gpioval); in af9013_set_gpio() 68 ret = -EINVAL; in af9013_set_gpio() 84 ret = regmap_update_bits(state->regmap, addr, 0x0f << pos, in af9013_set_gpio() 91 dev_dbg(&client->dev, "failed %d\n", ret); in af9013_set_gpio() 98 fesettings->min_delay_ms = 800; in af9013_get_tune_settings() 99 fesettings->step_size = 0; in af9013_get_tune_settings() 100 fesettings->max_drift = 0; in af9013_get_tune_settings() 107 struct af9013_state *state = fe->demodulator_priv; in af9013_set_frontend() [all …]
|
H A D | dib8000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's DiB8000 chip (ISDB-T). 22 #define LAYER_ALL -1 149 {.addr = i2c->addr >> 1, .flags = 0, .len = 2}, in dib8000_i2c_read16() 150 {.addr = i2c->addr >> 1, .flags = I2C_M_RD, .len = 2}, in dib8000_i2c_read16() 153 if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) { in dib8000_i2c_read16() 158 msg[0].buf = i2c->i2c_write_buffer; in dib8000_i2c_read16() 161 msg[1].buf = i2c->i2c_read_buffer; in dib8000_i2c_read16() 163 if (i2c_transfer(i2c->adap, msg, 2) != 2) in dib8000_i2c_read16() 167 mutex_unlock(i2c->i2c_buffer_lock); in dib8000_i2c_read16() [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctrl.dtsi" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12a-sei510.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12a.dtsi" 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 19 compatible = "adc-keys"; 20 io-channels = <&saradc 0>; 21 io-channel-names = "buttons"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-gta04.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on omap3-beagle-xm.dts 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 17 cpu0-supply = <&vcc>; 27 stdout-path = &uart3; 33 /delete-property/ mmc2; 34 /delete-property/ mmc3; 38 compatible = "regulator-fixed"; 39 regulator-name = "ldo_3v3"; [all …]
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-dvb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <media/v4l2-common.h> 32 #include "tuner-simple.h" 45 #include "netup-eeprom.h" 46 #include "netup-init.h" 51 #include "cx23885-f300.h" 52 #include "altera-ci.h" 78 /* ------------------------------------------------------------------ */ 86 /* ------------------------------------------------------------------ */ 92 struct cx23885_tsport *port = q->drv_priv; in queue_setup() [all …]
|