| /linux/drivers/gnss/ |
| H A D | ubx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * u-blox GNSS receiver driver 29 ret = regulator_enable(data->vcc); in ubx_set_active() 41 ret = regulator_disable(data->vcc); in ubx_set_standby() 59 return -EINVAL; in ubx_set_power() 79 gserial->ops = &ubx_gserial_ops; in ubx_probe() 81 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe() 85 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe() 86 if (IS_ERR(data->vcc)) { in ubx_probe() 87 ret = PTR_ERR(data->vcc); in ubx_probe() [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 Say Y here if you have a Mediatek-based GNSS receiver which uses a 28 be called gnss-mtk. 36 Say Y here if you have a SiRFstar-based GNSS receiver which uses a 40 be called gnss-sirf. 45 tristate "u-blox GNSS receiver support" 49 Say Y here if you have a u-blox GNSS receiver which uses a serial 53 be called gnss-ubx. 64 be called gnss-usb.
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_gnss.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2021-2022, Intel Corporation. */ 14 /* u-blox ZED-F9T specific definitions */ 20 /* For u-blox writes are performed without address so the first byte to write is 26 * struct gnss_serial - data used to initialize GNSS TTY port
|
| H A D | ice_gnss.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021-2022, Intel Corporation. */ 8 * ice_gnss_do_write - Write data to internal GNSS receiver 16 * * number of bytes written - success 17 * * negative - error code 23 struct ice_hw *hw = &pf->hw; in ice_gnss_do_write() 33 /* It's not possible to write a single byte to u-blox. in ice_gnss_do_write() 39 while (size - offset > ICE_GNSS_UBX_WRITE_BYTES + 1) { in ice_gnss_do_write() 51 if (size - offset == ICE_GNSS_UBX_WRITE_BYTES + 1) { in ice_gnss_do_write() 54 ICE_MAX_I2C_WRITE_BYTES - 1, in ice_gnss_do_write() [all …]
|
| /linux/Documentation/devicetree/bindings/gnss/ |
| H A D | gnss-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gnss/gnss-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Johan Hovold <johan@kernel.org> 21 lna-supply: 26 enable-gpios: 33 timepulse-gpios: 41 - | 42 #include <dt-bindings/gpio/gpio.h> [all …]
|
| /linux/drivers/net/usb/ |
| H A D | cdc_ether.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2003-2005 by David Brownell 26 return (desc->bInterfaceClass == USB_CLASS_COMM && in is_rndis() 27 desc->bInterfaceSubClass == 2 && in is_rndis() 28 desc->bInterfaceProtocol == 0xff); in is_rndis() 33 return (desc->bInterfaceClass == USB_CLASS_MISC && in is_activesync() 34 desc->bInterfaceSubClass == 1 && in is_activesync() 35 desc->bInterfaceProtocol == 1); in is_activesync() 40 return (desc->bInterfaceClass == USB_CLASS_WIRELESS_CONTROLLER && in is_wireless_rndis() 41 desc->bInterfaceSubClass == 1 && in is_wireless_rndis() [all …]
|
| H A D | qmi_wwan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2003-2005 by David Brownell 22 #include <linux/usb/cdc-wdm.h> 26 * specific management protocol called Qualcomm MSM Interface (QMI) - 31 * control ("master") interface of a two-interface CDC Union 41 * It is exported as a character device using the cdc-wdm driver as 82 struct net_device *real_dev = priv->real_dev; in qmimux_open() 84 if (!(priv->real_dev->flags & IFF_UP)) in qmimux_open() 85 return -ENETDOWN; in qmimux_open() 101 unsigned int len = skb->len; in qmimux_start_xmit() [all …]
|
| H A D | cdc_ncm.c | 4 * Copyright (C) ST-Ericsson 2010-2012 16 * of the GNU General Public License (GPL) Version 2 or the 2-clause 78 .sizeof_stat = sizeof(((struct cdc_ncm_ctx *)0)->m), \ 101 return -EOPNOTSUPP; in cdc_ncm_get_sset_count() 110 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_get_ethtool_stats() 152 struct cdc_ncm_ctx *ctx = (struct cdc_ncm_ctx *)dev->data[0]; in cdc_ncm_check_rx_max() 157 max = min_t(u32, CDC_NCM_NTB_MAX_SIZE_RX, le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize)); in cdc_ncm_check_rx_max() 161 dev_warn(&dev->intf->dev, "dwNtbInMaxSize=%u is too small. Using %u\n", in cdc_ncm_check_rx_max() 162 le32_to_cpu(ctx->ncm_parm.dwNtbInMaxSize), min); in cdc_ncm_check_rx_max() 168 dev_dbg(&dev->intf->dev, "rx_max must be in the [%u, %u] range\n", min, max); in cdc_ncm_check_rx_max() [all …]
|
| /linux/scripts/genksyms/ |
| H A D | parse.y | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Based on original work by Bjorn Ekwall <bj0rn@blox.se> 31 *p = node->next; in remove_node() 51 if (i->in_source_file) { in record_compound() 53 (*ident)->tag = type; in record_compound() 57 r = copy_node(i); r->tag = type; in record_compound() 58 r->next = (*keyw)->next; *body = r; (*keyw)->next = NULL; in record_compound() 59 add_symbol(i->string, type, b, is_extern); in record_compound() 146 struct string_list *decl = (*$3)->next; 147 (*$3)->next = NULL; [all …]
|
| H A D | lex.l | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Based on original work by Bjorn Ekwall <bj0rn@blox.se> 23 /* We've got a two-level lexer here. We let flex do basic tokenization 29 IDENT [A-Za-z_\$][A-Z [all...] |
| H A D | genksyms.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 Based on original work by Bjorn Ekwall <bj0rn@blox.se> 25 /*----------------------------------------------------------------------*/ 27 static HASHTABLE_DEFINE(symbol_hashtable, 1U << 12); 51 [SYM_UNION] = {'u', "union"}, 62 /*----------------------------------------------------------------------*/ 136 /*----------------------------------------------------------------------*/ 158 if (map_to_ns(sym->type) == map_to_ns(ns) && in find_symbol() 159 strcmp(name, sym->name) == 0 && in find_symbol() 160 sym->is_declared) in find_symbol() [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | option.c | 1 // SPDX-License-Identifier: GPL-2.0 15 - data loss -- one single Receive URB is not nearly enough 16 - nonstandard flow (Option devices) control 17 - controlling the baud rate doesn't make sense 20 used for is a PC-Card (with an internal OHCI-USB interface, behind 41 #include "usb-wwan.h" 135 * auto-install CDROMs, and should not be added to this 246 /* These u-blox products use Qualcomm's vendor ID */ 425 /* This is the 4G XS Stick W14 a.k.a. Mobilcom Debitel Surf-Stick * 493 /* YUGA products www.yuga-info.com gavin.kx@qq.com */ [all …]
|
| H A D | ftdi_sio_ids.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais 25 #define FTDI_4232H_PID 0x6011 /* Quad channel hi-speed device */ 26 #define FTDI_232H_PID 0x6014 /* Single channel hi-speed device */ 27 #define FTDI_FTX_PID 0x6015 /* FT-X series (FT201X, FT230X, FT231X, etc) */ 28 #define FTDI_FT2233HP_PID 0x6040 /* Dual channel hi-speed device with PD */ 29 #define FTDI_FT4233HP_PID 0x6041 /* Quad channel hi-speed device with PD */ 30 #define FTDI_FT2232HP_PID 0x6042 /* Dual channel hi-speed device with PD */ 31 #define FTDI_FT4232HP_PID 0x6043 /* Quad channel hi-speed device with PD */ 32 #define FTDI_FT233HP_PID 0x6044 /* Dual channel hi-speed device with PD */ [all …]
|
| H A D | ftdi_sio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2009 - 2013 7 * Copyright (C) 1999 - 2001 8 * Greg Kroah-Hartman (greg@kroah.com) 13 * See Documentation/usb/usb-serial.rst for more information on using this 16 * See http://ftdi-usb-sio.sourceforge.net for up to date testing info 24 /* Bill Ryder - bryder@sgi.com - wrote the FTDI_SIO implementation */ 28 assimilated :-) */ 47 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>, Bill Ryder <bryder@sgi.com>, Kuba Ober … 75 u16 last_set_data_value; /* the last data state set - needed for doing [all …]
|
| /linux/arch/arm/boot/dts/allwinner/ |
| H A D | sun8i-a83t-tbs-a711.dts | 5 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include "sun8i-a83t.dtsi" 47 #include <dt-bindings/gpio/gpio.h> 48 #include <dt-bindings/pwm/pwm.h> 49 #include <dt-bindings/input/input.h> 53 compatible = "tbs-biometrics,a711", "allwinner,sun8i-a83t"; 61 stdout-path = "serial0:115200n8"; 65 compatible = "pwm-backlight"; 67 enable-gpios = <&pio 3 29 GPIO_ACTIVE_HIGH>; [all …]
|
| /linux/ |
| H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 6 snail-mail address (S). 10 ---------- 51 D: in-kernel DRM Maintainer 76 E: tim_alpaerts@toyota-motor-europe.com 80 S: B-2610 Wilrijk-Antwerpen 85 W: http://www-stu.christs.cam.ac.uk/~aia21/ 106 D: Maintainer of ide-cd and Uniform CD-ROM driver, 107 D: ATAPI CD-Changer support, Major 2.1.x CD-ROM update. [all …]
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_execlists.c | 1 // SPDX-License-Identifier: MIT 24 #define CS_GPR(engine, n) ((engine)->mmio_base + 0x600 + (n) * 4) 47 tasklet_hi_schedule(&engine->sched_engine->tasklet); in wait_for_submit() 58 if (!READ_ONCE(engine->execlists.pending[0]) && is_active(rq)) in wait_for_submit() 62 return -ETIME; in wait_for_submit() 78 if (READ_ONCE(engine->execlists.pending[0])) in wait_for_reset() 84 if (READ_ONCE(rq->fence.error)) in wait_for_reset() 88 if (rq->fence.error != -EIO) { in wait_for_reset() 90 engine->name, in wait_for_reset() 91 rq->fence.context, in wait_for_reset() [all …]
|