/linux/Documentation/devicetree/bindings/gnss/ |
H A D | u-blox,neo-6m.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-blox GNSS Receiver 10 - $ref: gnss-common.yaml# 11 - $ref: /schemas/serial/serial-peripheral-props.yaml# 14 - Johan Hovold <johan@kernel.org> 17 The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. 22 - u-blox,neo-6m [all …]
|
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/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/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> 30 *p = node->next; in remove_node() 50 if (i->in_source_file) { in record_compound() 52 (*ident)->tag = type; in record_compound() 56 r = copy_node(i); r->tag = type; in record_compound() 57 r->next = (*keyw)->next; *body = r; (*keyw)->next = NULL; in record_compound() 58 add_symbol(i->string, type, b, is_extern); in record_compound() 143 struct string_list *decl = (*$3)->next; 144 (*$3)->next = NULL; [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> 22 /*----------------------------------------------------------------------*/ 50 [SYM_UNION] = {'u', "union"}, 61 /*----------------------------------------------------------------------*/ 135 /*----------------------------------------------------------------------*/ 157 for (sym = symtab[h]; sym; sym = sym->hash_next) in find_symbol() 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 */ 423 /* This is the 4G XS Stick W14 a.k.a. Mobilcom Debitel Surf-Stick * 491 /* 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/arm64/boot/dts/renesas/ |
H A D | ulcb-kf.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 18 #clock-cells = <0>; 19 compatible = "gpio-mux-clock"; 21 select-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>; 24 hdmi1-out { 25 compatible = "hdmi-connector"; 30 remote-endpoint = <&adv7513_out>; 35 reg_t1p8v: regulator-t1p8v { 36 compatible = "regulator-fixed"; 37 regulator-name = "T1.8V"; [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/Documentation/devicetree/bindings/ |
H A D | vendor-prefixes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true 21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true 22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true 23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true 50 "^active-semi,.*": [all …]
|
/linux/drivers/scsi/ |
H A D | scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * generic mid-level SCSI driver 16 * Thomas Wuensche <tw@fgb1.fgb.mw.tu-muenchen.de> 19 * add scatter-gather, multiple outstanding request, and other 23 * support added by Michael Neuffer <mike@i-connect.net> 27 * Bjorn Ekwall <bj0rn@blox.se> 36 * Jiffies wrap fixes (host->resetting), 3 Dec 1998 Andrea Arcangeli 80 * Note - the initial logging level can be set here to log events at boot time. 134 if (((level > 0) && (cmd->result || disposition != SUCCESS)) || in scsi_log_completion() 138 if (scsi_status_is_check_condition(cmd->result)) in scsi_log_completion() [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 ---------- 47 D: in-kernel DRM Maintainer 72 E: tim_alpaerts@toyota-motor-europe.com 76 S: B-2610 Wilrijk-Antwerpen 81 W: http://www-stu.christs.cam.ac.uk/~aia21/ 102 D: Maintainer of ide-cd and Uniform CD-ROM driver, 103 D: ATAPI CD-Changer support, Major 2.1.x CD-ROM update. [all …]
|
/linux/include/linux/ |
H A D | netdevice.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * Corey Minyard <wf-rch!minyard@relay.EU.net> 16 * Bjorn Ekwall. <bj0rn@blox.se> 54 #include <net/dropreason-core.h> 102 * - qdisc return codes 103 * - driver transmit return codes 104 * - errno values 108 * the driver transmit return codes though - when qdiscs are used, the actual 115 /* qdisc ->enqueue() return codes. */ 125 #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0) [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 …]
|