/openbmc/linux/drivers/gnss/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # GNSS receiver configuration 6 menuconfig GNSS config 7 tristate "GNSS receiver support" 9 Say Y here if you have a GNSS receiver (e.g. a GPS receiver). 12 be called gnss. 14 if GNSS 20 tristate "Mediatek GNSS receiver support" 24 Say Y here if you have a Mediatek-based GNSS receiver which uses a 28 be called gnss-mtk. [all …]
|
H A D | mtk.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mediatek GNSS receiver driver 9 #include <linux/gnss.h> 29 ret = regulator_enable(data->vcc); in mtk_set_active() 41 ret = regulator_disable(data->vcc); in mtk_set_standby() 59 return -EINVAL; in mtk_set_power() 78 gserial->ops = &mtk_gserial_ops; in mtk_probe() 80 gserial->gdev->type = GNSS_TYPE_MTK; in mtk_probe() 84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in mtk_probe() 85 if (IS_ERR(data->vcc)) { in mtk_probe() [all …]
|
H A D | ubx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * u-blox GNSS receiver driver 9 #include <linux/gnss.h> 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() 78 gserial->ops = &ubx_gserial_ops; in ubx_probe() 80 gserial->gdev->type = GNSS_TYPE_UBX; in ubx_probe() 84 data->vcc = devm_regulator_get(&serdev->dev, "vcc"); in ubx_probe() 85 if (IS_ERR(data->vcc)) { in ubx_probe() [all …]
|
H A D | usb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic USB GNSS receiver driver 9 #include <linux/gnss.h> 35 struct gnss_usb *gusb = urb->context; in gnss_usb_rx_complete() 36 struct gnss_device *gdev = gusb->gdev; in gnss_usb_rx_complete() 37 int status = urb->status; in gnss_usb_rx_complete() 44 case -ENOENT: in gnss_usb_rx_complete() 45 case -ECONNRESET: in gnss_usb_rx_complete() 46 case -ESHUTDOWN: in gnss_usb_rx_complete() 47 dev_dbg(&gdev->dev, "urb stopped: %d\n", status); in gnss_usb_rx_complete() [all …]
|
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * GNSS receiver core 13 #include <linux/gnss.h> 41 gdev = container_of(inode->i_cdev, struct gnss_device, cdev); in gnss_open() 43 get_device(&gdev->dev); in gnss_open() 46 file->private_data = gdev; in gnss_open() 48 down_write(&gdev->rwsem); in gnss_open() 49 if (gdev->disconnected) { in gnss_open() 50 ret = -ENODEV; in gnss_open() 54 if (gdev->count++ == 0) { in gnss_open() [all …]
|
H A D | serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Generic serial GNSS receiver driver 9 #include <linux/gnss.h> 25 struct serdev_device *serdev = gserial->serdev; in gnss_serial_open() 32 serdev_device_set_baudrate(serdev, gserial->speed); in gnss_serial_open() 35 ret = pm_runtime_get_sync(&serdev->dev); in gnss_serial_open() 37 pm_runtime_put_noidle(&serdev->dev); in gnss_serial_open() 52 struct serdev_device *serdev = gserial->serdev; in gnss_serial_close() 56 pm_runtime_put(&serdev->dev); in gnss_serial_close() 63 struct serdev_device *serdev = gserial->serdev; in gnss_serial_write_raw() [all …]
|
H A D | serial.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Generic serial GNSS receiver driver 44 return gserial->drvdata; in gnss_serial_get_drvdata()
|
H A D | sirf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SiRFstar GNSS receiver driver 9 #include <linux/gnss.h> 62 mutex_lock(&data->serdev_mutex); in sirf_serdev_open() 63 if (++data->serdev_count == 1) { in sirf_serdev_open() 64 ret = serdev_device_open(data->serdev); in sirf_serdev_open() 66 data->serdev_count--; in sirf_serdev_open() 70 serdev_device_set_baudrate(data->serdev, data->speed); in sirf_serdev_open() 71 serdev_device_set_flow_control(data->serdev, false); in sirf_serdev_open() 75 mutex_unlock(&data->serdev_mutex); in sirf_serdev_open() [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
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 13 * Write UBX command data to the 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() [all …]
|
/openbmc/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# 7 title: Common Properties for Global Navigation Satellite Systems (GNSS) 8 receiver devices 11 - Johan Hovold <johan@kernel.org> 19 pattern: "^gnss(@.*)?$" 21 lna-supply: 23 Amplifier (LNA). This is an amplifier connected between the GNSS [all …]
|
H A D | mediatek.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/gnss/mediatek.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek GNSS Receiver 10 - Johan Hovold <johan@kernel.org> 13 Mediatek chipsets are used in GNSS-receiver modules produced by several 17 - $ref: gnss-common.yaml# 23 vcc-supply: 27 reset-gpios: [all …]
|
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# 13 - Johan Hovold <johan@kernel.org> 16 The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. 21 - u-blox,neo-6m 22 - u-blox,neo-8 [all …]
|
H A D | sirfstar.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/gnss/sirfstar.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: SiRFstar GNSS Receiver 10 - Johan Hovold <johan@kernel.org> 13 The SiRFstar GNSS receivers have incarnated over the years in different 23 - $ref: gnss-common.yaml# 28 - csr,gsd4t 29 - csr,csrg05ta03-icje-r [all …]
|
H A D | brcm,bcm4751.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM4751 family GNSS Receiver 10 - Johan Hovold <johan@kernel.org> 11 - Linus Walleij <linus.walleij@linaro.org> 20 - $ref: gnss-common.yaml# 25 - brcm,bcm4751 26 - brcm,bcm4752 [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-gnss | 1 What: /sys/class/gnss/gnss<N>/type 6 The GNSS receiver type. The currently identified types reflect 7 the protocol(s) supported by the receiver: 15 Note that also non-"NMEA" type receivers typically support a
|
/openbmc/linux/include/linux/ |
H A D | gnss.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * GNSS receiver support 68 dev_set_drvdata(&gdev->dev, data); in gnss_set_drvdata() 73 return dev_get_drvdata(&gdev->dev); in gnss_get_drvdata()
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | ice.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 2018-2021 Intel Corporation. 13 - Overview 14 - Identifying Your Adapter 15 - Important Notes 16 - Additional Features & Configurations 17 - Performance Optimization 28 This driver supports XDP (Express Data Path) and AF_XDP zero-copy. Note that 43 ------------------------------------------- 54 1) Make sure that your system's physical memory is in a high-performance [all …]
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ocp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/clk-provider.h> 15 #include <linux/platform_data/i2c-xiic.h> 16 #include <linux/platform_data/i2c-ocores.h> 24 #include <linux/nvmem-consumer.h> 403 (void *)((uintptr_t)(bp) + (map)->bp_offset); \ 419 uintptr_t addr = (uintptr_t)(bp) + (res)->bp_offset; \ 459 -- 462 * 11: Orolia TS0 (GNSS) 616 .name = "xiic-i2c", [all …]
|
/openbmc/linux/ |
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org 88 F: drivers/scsi/3w-* [all …]
|
H A D | opengrok1.0.log | 1 2024-12-28 20:07:11.902-0600 FINER t583 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' 2 2024-12-28 20:07:11.913-0600 FINEST t583 Statistics.logIt: Added: '/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/mvpp2_prs.c' (CAnalyzer) (took 116 ms) 3 2024-12-28 20:07:11.899-0600 FINER t593 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/linux',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/linux/tools/testing/selftests/powerpc/tm/tm-signa [all...] |
H A D | opengrok2.0.log | 1 2024-12-28 20:05:26.116-0600 FINEST t586 Statistics.logIt: Added: '/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/rtnetlink.sh' (ShAnalyzer) (took 79 ms) 2 2024-12-28 20:05:26.112-0600 FINER t592 IndexDatabase.createAnnotationCache: failed to create annotation: repository {dir='/opengrok/src/openbmc/qemu',type=git,historyCache=on,renamed=false,merge=true,annotationCache=off} does not allow to create annotation cache for '/opengrok/src/openbmc/qemu/chardev/spice.c' 3 2024-12-28 20:05:26.116-0600 FINEST t592 Statistics.logIt: Added: '/openbmc/qemu/chardev/spice.c' (CAnalyzer) (took 33 ms) 4 2024-1 [all...] |