| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | charger-manager.txt | 1 charger-manager bindings 5 - compatible : "charger-manager" 6 - <>-supply : for regulator consumer, named according to cm-regulator-name 7 - cm-chargers : name of chargers 8 - cm-fuel-gauge : name of battery fuel gauge 9 - subnode <regulator> : 10 - cm-regulator-name : name of charger regulator 11 - subnode <cable> : 12 - cm-cable-name : name of charger cable - one of USB, USB-HOST, 13 SDP, DCP, CDP, ACA, FAST-CHARGER, SLOW-CHARGER, WPT, [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | charger-manager.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/charger-manager.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 18 const: charger-manager 20 cm-chargers: 22 $ref: /schemas/types.yaml#/definitions/string-array 24 cm-num-chargers: 28 cm-fuel-gauge: [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/cec/ |
| D | cec-ioc-receive.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 14 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message 42 If the file descriptor is in non-blocking mode and there are no received 43 messages pending, then it will return -1 and set errno to the ``EAGAIN`` 44 error code. If the file descriptor is in blocking mode and ``timeout`` 45 is non-zero and no message arrived within ``timeout`` milliseconds, then 46 it will return -1 and set errno to the ``ETIMEDOUT`` error code. 51 be 0, ``tx_status`` will be 0 and ``rx_status`` will be non-zero). 52 2. the transmit result of an earlier non-blocking transmit (the ``sequence`` 53 field will be non-zero, ``tx_status`` will be non-zero and ``rx_status`` [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | so_txtime.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * connected hosts, one instance in transmit mode and the other in receive 8 * mode using the '-r' option. Receiver will compare arrival timestamps to 10 * queue. The streams can differ due to out-of-order delivery and drops. 34 #include <poll.h> 78 struct cmsghdr *cm; in do_send_one() local 82 iov.iov_base = &ts->data; in do_send_one() 90 if (ts->delay_us >= 0) { in do_send_one() 95 tdeliver = glob_tstart + ts->delay_us * 1000; in do_send_one() 99 cm = CMSG_FIRSTHDR(&msg); in do_send_one() [all …]
|
| D | msg_zerocopy.c | 7 * - SOCK_STREAM 8 * - SOCK_DGRAM 9 * - SOCK_DGRAM with UDP_CORK 10 * - SOCK_RAW 11 * - SOCK_RAW with IP_HDRINCL 14 * - SOCK_DGRAM 15 * - SOCK_RAW 18 * - SOCK_SEQPACKET 20 * Start this program on two connected hosts, one in send mode and 21 * the other with option '-r' to put it in receiver mode. [all …]
|
| D | csum.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * CMD=$((./csum -[46] -[tu] -S $SADDR -D $DADDR -[RT] -r 1 $EXTRA_ARGS)) 15 * good packet: $CMD [-t] 16 * bad packet: $CMD [-t] -E 19 * option for TCP packets ('-t'). Optionally insert an iptables filter 39 * good packet: $CMD -U 40 * zero csum: $CMD -U -Z 46 * good packet: $CMD -s $smac -d $dmac -p [-t] 48 * Argument '-z' sends UDP packets with a 0x000 checksum disabled field, 51 * Argument '-e' adds a transport mode encapsulation header between [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/ |
| D | msg_zerocopy.rst | 14 ----------------------- 39 --------- 42 netdev 2.1. For more in-depth information see that paper and talk, 52 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 53 https://lore.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com 63 ------------ 67 copy avoidance mode for legacy processes that accidentally already pass 76 ------------ 85 A zerocopy failure will return -1 with errno ENOBUFS. This happens if 100 ------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/networking/ |
| D | msg_zerocopy.rst | 14 ----------------------- 39 --------- 42 netdev 2.1. For more in-depth information see that paper and talk, 52 [PATCH net-next v4 0/9] socket sendmsg MSG_ZEROCOPY 53 https://lkml.kernel.org/netdev/20170803202945.70750-1-willemdebruijn.kernel@gmail.com 63 ------------ 67 copy avoidance mode for legacy processes that accidentally already pass 76 ------------ 85 A zerocopy failure will return -1 with errno ENOBUFS. This happens if 100 ------------- [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | msg_zerocopy.c | 7 * - SOCK_STREAM 8 * - SOCK_DGRAM 9 * - SOCK_DGRAM with UDP_CORK 10 * - SOCK_RAW 11 * - SOCK_RAW with IP_HDRINCL 14 * - SOCK_DGRAM 15 * - SOCK_RAW 18 * - SOCK_SEQPACKET 20 * Start this program on two connected hosts, one in send mode and 21 * the other with option '-r' to put it in receiver mode. [all …]
|
| /kernel/linux/linux-5.10/drivers/power/supply/ |
| D | charger-manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * during suspend-to-mem. 23 #include <linux/power/charger-manager.h> 35 { "USB-HOST", EXTCON_USB_HOST }, 40 { "FAST-CHARGER", EXTCON_CHG_USB_FAST }, 41 { "SLOW-CHARGER", EXTCON_CHG_USB_SLOW }, 49 { "CHARGE-DOWNSTREAM", EXTCON_CHG_USB_CDP }, 78 /* About in-suspend (suspend-again) monitoring */ 92 * is_batt_present - See if the battery presents in place. 93 * @cm: the Charger Manager representing the battery. [all …]
|
| /kernel/linux/linux-6.6/drivers/power/supply/ |
| D | charger-manager.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * during suspend-to-mem. 23 #include <linux/power/charger-manager.h> 35 { "USB-HOST", EXTCON_USB_HOST }, 40 { "FAST-CHARGER", EXTCON_CHG_USB_FAST }, 41 { "SLOW-CHARGER", EXTCON_CHG_USB_SLOW }, 49 { "CHARGE-DOWNSTREAM", EXTCON_CHG_USB_CDP }, 78 /* About in-suspend (suspend-again) monitoring */ 92 * is_batt_present - See if the battery presents in place. 93 * @cm: the Charger Manager representing the battery. [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/ |
| D | cec-ioc-receive.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 14 CEC_RECEIVE, CEC_TRANSMIT - Receive or transmit a CEC message 42 If the file descriptor is in non-blocking mode and there are no received 43 messages pending, then it will return -1 and set errno to the ``EAGAIN`` 44 error code. If the file descriptor is in blocking mode and ``timeout`` 45 is non-zero and no message arrived within ``timeout`` milliseconds, then 46 it will return -1 and set errno to the ``ETIMEDOUT`` error code. 52 2. the result of an earlier non-blocking transmit (the ``sequence`` field will 53 be non-zero). 59 queue, then it will return -1 and set errno to the ``EBUSY`` error code. [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
| D | interrupt.c | 5 Written/copyright 1994-2001 by Donald Becker. 35 16 Continues Mode (CM) 39 0x80150000, /* RX time = 1, RX pkts = 2, CM = 1 */ 53 // 0x80FF0000 /* RX time = 16, RX pkts = 7, CM = 1 */ 54 0x80F10000 /* RX time = 16, RX pkts = 0, CM = 1 */ 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx() 67 entry = tp->dirty_rx % RX_RING_SIZE; in tulip_refill_rx() 68 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx() 72 skb = tp->rx_buffers[entry].skb = in tulip_refill_rx() 77 mapping = dma_map_single(&tp->pdev->dev, skb->data, in tulip_refill_rx() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/ |
| D | interrupt.c | 5 Written/copyright 1994-2001 by Donald Becker. 35 16 Continues Mode (CM) 39 0x80150000, /* RX time = 1, RX pkts = 2, CM = 1 */ 53 // 0x80FF0000 /* RX time = 16, RX pkts = 7, CM = 1 */ 54 0x80F10000 /* RX time = 16, RX pkts = 0, CM = 1 */ 66 for (; tp->cur_rx - tp->dirty_rx > 0; tp->dirty_rx++) { in tulip_refill_rx() 67 entry = tp->dirty_rx % RX_RING_SIZE; in tulip_refill_rx() 68 if (tp->rx_buffers[entry].skb == NULL) { in tulip_refill_rx() 72 skb = tp->rx_buffers[entry].skb = in tulip_refill_rx() 77 mapping = dma_map_single(&tp->pdev->dev, skb->data, in tulip_refill_rx() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/can/sja1000/ |
| D | plx_pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2010 Pavel Cheblakov <P.B.Cheblakov@inp.nsk.su> 7 * Copyright (C) 2008 Markus Plessing <plessing@ems-wuensche.com> 8 * Copyright (C) 2008 Sebastian Haas <haas@ems-wuensche.com> 26 MODULE_DESCRIPTION("Socket-CAN driver for PLX90xx PCI-bridge cards with " 28 MODULE_SUPPORTED_DEVICE("Adlink PCI-7841/cPCI-7841, " 29 "Adlink PCI-7841/cPCI-7841 SE, " 30 "Marathon CAN-bus-PCI, " 31 "Marathon CAN-bus-PCIe, " 33 "esd CAN-PCI/CPCI/PCI104/200, " [all …]
|
| /kernel/linux/linux-6.6/drivers/net/can/sja1000/ |
| D | plx_pci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2008-2010 Pavel Cheblakov <P.B.Cheblakov@inp.nsk.su> 7 * Copyright (C) 2008 Markus Plessing <plessing@ems-wuensche.com> 8 * Copyright (C) 2008 Sebastian Haas <haas@ems-wuensche.com> 26 MODULE_DESCRIPTION("Socket-CAN driver for PLX90xx PCI-bridge cards with " 37 /* Pointer to device-dependent reset function */ 71 * This means normal output mode, push-pull and the correct polarity. 86 /* SJA1000 Control Register in the BasicCAN Mode */ 89 /* States of some SJA1000 registers after hardware reset in the BasicCAN mode*/ 95 /* States of some SJA1000 registers after hardware reset in the PeliCAN mode*/ [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | diff-v4l.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _diff-v4l: 23 and below in :ref:`v4l-dev`. 25 The teletext devices (minor range 192-223) have been removed in V4L2 and 35 .. _v4l-dev: 37 .. flat-table:: V4L Device Types, Names and Numbers 38 :header-rows: 1 39 :stub-columns: 0 41 * - Device Type 42 - File Name [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | diff-v4l.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _diff-v4l: 23 and below in :ref:`v4l-dev`. 25 The teletext devices (minor range 192-223) have been removed in V4L2 and 35 .. _v4l-dev: 37 .. flat-table:: V4L Device Types, Names and Numbers 38 :header-rows: 1 39 :stub-columns: 0 41 * - Device Type 42 - File Name [all …]
|
| /kernel/linux/linux-6.6/drivers/rapidio/ |
| D | rio_cm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * rio_cm - RapidIO Channelized Messaging Driver 5 * Copyright 2013-2016 Integrated Device Technology, Inc. 12 #include <linux/dma-mapping.h> 22 #include <linux/poll.h> 180 struct cm_dev *cmdev; /* associated CM device object */ 203 struct cm_dev *cm; member 226 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, 246 is_msg_capable(dev->src_ops, dev->dst_ops) 252 spin_lock_bh(&ch->lock); in riocm_cmp() [all …]
|
| /kernel/linux/linux-5.10/drivers/rapidio/ |
| D | rio_cm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * rio_cm - RapidIO Channelized Messaging Driver 5 * Copyright 2013-2016 Integrated Device Technology, Inc. 12 #include <linux/dma-mapping.h> 22 #include <linux/poll.h> 180 struct cm_dev *cmdev; /* associated CM device object */ 203 struct cm_dev *cm; member 226 static int riocm_post_send(struct cm_dev *cm, struct rio_dev *rdev, 246 is_msg_capable(dev->src_ops, dev->dst_ops) 252 spin_lock_bh(&ch->lock); in riocm_cmp() [all …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/can/ |
| D | can327.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 7 -------- 14 ----------- 26 ------------- 33 order to fake full-duplex operation. 36 enough to implement simple request-response protocols (such as OBD II), 50 ----------- 59 ---------------------------------- 68 --debug \ 69 --speed 38400 \ [all …]
|
| /kernel/linux/linux-6.6/Documentation/dev-tools/ |
| D | kgdb.rst | 15 Kdb is simplistic shell-style interface which you can use on a system 22 kernel built-ins or in kernel modules if the code was built with 40 kgdb I/O modules compiled as built-ins or loadable kernel modules in the 46 - In order to enable compilation of kdb, you must first enable kgdb. 48 - The kgdb test compile options are described in the kgdb test suite 52 ------------------------------ 55 :menuselection:`Kernel hacking --> Kernel debugging` and select 73 certain regions of the kernel's memory space as read-only. If kgdb 93 ----------------------------- 108 If you want to use a PS/2-style keyboard with kdb, you would select [all …]
|
| /kernel/linux/linux-5.10/Documentation/dev-tools/ |
| D | kgdb.rst | 15 Kdb is simplistic shell-style interface which you can use on a system 22 kernel built-ins or in kernel modules if the code was built with 40 kgdb I/O modules compiled as built-ins or loadable kernel modules in the 46 - In order to enable compilation of kdb, you must first enable kgdb. 48 - The kgdb test compile options are described in the kgdb test suite 52 ------------------------------ 55 :menuselection:`Kernel hacking --> Kernel debugging` and select 74 certain regions of the kernel's memory space as read-only. If kgdb 94 ----------------------------- 109 If you want to use a PS/2-style keyboard with kdb, you would select [all …]
|
| /kernel/linux/linux-5.10/kernel/rcu/ |
| D | tree_plugin.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Read-Copy Update mechanism for mutual exclusion (tree-based version) 4 * Internal non-public definitions that provide either classic 18 static bool __read_mostly rcu_nocb_poll; /* Offload kthread are to poll. */ 31 pr_info("\tCONFIG_RCU_FANOUT set to non-default value of %d.\n", in rcu_bootup_announce_oddness() 36 pr_info("\tRCU dyntick-idle grace-period acceleration is enabled.\n"); in rcu_bootup_announce_oddness() 40 pr_info("\tRCU strict (and thus non-scalable) grace periods enabled.\n"); in rcu_bootup_announce_oddness() 42 pr_info("\tFour(or more)-level hierarchy is enabled.\n"); in rcu_bootup_announce_oddness() 44 pr_info("\tBuild-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() 47 pr_info("\tBoot-time adjustment of leaf fanout to %d.\n", in rcu_bootup_announce_oddness() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/include/ |
| D | nxu.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Hardware interface of the NX-GZIP compression accelerator 41 #define nx_get_time() (-1) 42 #define nx_get_freq() (-1) 50 * https://github.com/libnxz/power-gzip/blob/develop/doc/power_nx_gzip_um.pdf 71 * vas: virtual accelerator switch; the user mode interface 109 * Software can poll for the v bit 141 * When crb.c==1 (ccb defined) it is cm 145 /* Signal interrupt of crb.c==1 and cm==1 */ 291 uint32_t gzip_fc; /* bits[24-31] */ [all …]
|