/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | renesas,rza1-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/renesas,rza1-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Geert Uytterhoeven <geert+renesas@glider.be> 16 Pin multiplexing and GPIO configuration is performed on a per-pin basis 17 writing configuration values to per-port register sets. 25 - const: renesas,r7s72100-ports # RZ/A1H 26 - items: [all …]
|
/linux/drivers/thunderbolt/ |
H A D | tmu.c | 1 // SPDX-License-Identifier: GPL-2.0 46 return "uni-directional, LowRes"; in tmu_mode_name() 48 return "uni-directional, HiFi"; in tmu_mode_name() 50 return "bi-directional, HiFi"; in tmu_mode_name() 52 return "enhanced uni-directional, MedRes"; in tmu_mode_name() 73 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_set_tmu_mode_params() 81 sw->tmu.cap + TMU_RTR_CS_0, 1); in tb_switch_set_tmu_mode_params() 86 sw->tmu.cap + TMU_RTR_CS_15, 1); in tb_switch_set_tmu_mode_params() 100 sw->tmu.cap + TMU_RTR_CS_15, 1); in tb_switch_set_tmu_mode_params() 108 sw->tmu.cap + TMU_RTR_CS_18, 1); in tb_switch_set_tmu_mode_params() [all …]
|
/linux/drivers/block/mtip32xx/ |
H A D | mtip32xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * mtip32xx.h - Header file for the P320 SSD Block Driver 67 * NOTE: This is the driver maximum; check dd->slot_groups for actual value. 95 * Per-tag bitfield size in longs. 104 (U32_PER_LONG-1))/U32_PER_LONG) 181 mtip_workq_sdbfx(w->port, group, w->completed); \ 188 * - 27h Register FIS, host to device. 189 * - 34h Register FIS, device to host. 190 * - 39h DMA Activate FIS, device to host. 191 * - 41h DMA Setup FIS, bi-directional. [all …]
|
/linux/Documentation/hid/ |
H A D | hid-transport.rst | 8 Bluetooth, I2C and user-space I/O drivers. 17 report-parsing, report interpretation and the user-space API. Device specifics 22 +-----------+ +-----------+ +-----------+ +-----------+ 24 +-----------+ +-----------+ +-----------+ +-----------+ 26 +------------+ +------------+ 28 +------------+ +------------+ 30 +------------------+ +------------------+ 32 +------------------+ +------------------+ 35 +----------------+ 37 +----------------+ [all …]
|
/linux/Documentation/devicetree/bindings/iio/adc/ |
H A D | richtek,rtq6056.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus 19 internal analog-to-digital converter ADC. The programmable calibration, 24 https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf 29 - enum: 30 - richtek,rtq6056 [all …]
|
/linux/Documentation/userspace-api/gpio/ |
H A D | gpio-handle-set-config-ioctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 gpio-v2-line-set-config-ioctl.rst. 16 GPIOHANDLE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines. 30 :c:type:`request.fd<gpiohandle_request>` by gpio-get-linehandle-ioctl.rst. 44 The same :ref:`gpio-get-linehandle-config-rules` and 45 :ref:`gpio-get-linehandle-config-support` that apply when requesting the 52 bi-directional lines between input and output, but it may be used more 56 gpio-handle-set-line-values-ioctl.rst. 65 On error -1 and the ``errno`` variable is set appropriately. 66 Common error codes are described in error-codes.rst.
|
H A D | gpio-v2-line-set-config-ioctl.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 GPIO_V2_LINE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines. 26 :c:type:`request.fd<gpio_v2_line_request>` by gpio-v2-get-line-ioctl.rst. 40 The same :ref:`gpio-v2-get-line-config-rules` and 41 :ref:`gpio-v2-get-line-config-support` that apply when requesting the lines 48 bi-directional lines between input and output, but it may also be used to 53 gpio-v2-line-set-values-ioctl.rst. 60 On error -1 and the ``errno`` variable is set appropriately. 61 Common error codes are described in error-codes.rst.
|
/linux/Documentation/mhi/ |
H A D | topology.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------- 30 ---------- 33 for bi-directional communication. Once MHI is in powered on state, the MHI 43 ---------- 46 driver sends and receives the upper-layer protocol packets like IP packets,
|
/linux/drivers/hwmon/ |
H A D | ina2xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Zero Drift Bi-Directional Current/Power Monitor with I2C Interface 10 * Bi-Directional Current/Power Monitor with I2C Interface 14 * Bi-Directional Current/Power Monitor with I2C Interface 18 * Bi-directional Current/Power Monitor with I2C Interface 59 /* settings - depend on use case */ 259 val = DIV_ROUND_CLOSEST((s16)regval, data->config->shunt_div); in ina2xx_get_value() 262 val = (regval >> data->config->bus_voltage_shift) * in ina2xx_get_value() 263 data->config->bus_voltage_lsb; in ina2xx_get_value() 267 val = regval * data->power_lsb_uW; in ina2xx_get_value() [all …]
|
/linux/include/rdma/ |
H A D | ib.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 33 return ((a->sib_addr64[0] | a->sib_addr64[1]) == 0); in ib_addr_any() 38 return ((a->sib_addr32[0] | a->sib_addr32[1] | in ib_addr_loopback() 39 a->sib_addr32[2] | (a->sib_addr32[3] ^ htonl(1))) == 0); in ib_addr_loopback() 45 addr->sib_addr32[0] = w1; in ib_addr_set() 46 addr->sib_addr32[1] = w2; in ib_addr_set() 47 addr->sib_addr32[2] = w3; in ib_addr_set() 48 addr->sib_addr32[3] = w4; in ib_addr_set() 67 * The IB interfaces that use write() as bi-directional ioctl() are 78 return filp->f_cred == current_cred(); in ib_safe_file_access()
|
/linux/Documentation/networking/ |
H A D | plip.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 ----------------- 17 This device interface allows a point-to-point connection between two 25 printer port. PLIP is a non-standard, but [can use] uses the standard 26 LapLink null-printer cable [can also work in turbo mode, with a PLIP 62 ------------------- 77 On these machines, the PLIP driver can be used in IRQ-less mode, where 82 indicate that there isn't a noticeable performance drop when using IRQ-less 92 When in IRQ-less mode, the PLIP driver polls the parallel port HZ times 99 10^6/HZ usecs. If both sides of a PLIP connection are used in IRQ-less mode, [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra210-i2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra210-i2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Inter-IC Sound (I2S) controller implements full-duplex, 11 bi-directional and single direction point-to-point serial 16 - Jon Hunter <jonathanh@nvidia.com> 17 - Sameer Pujar <spujar@nvidia.com> 20 - $ref: dai-common.yaml# 24 pattern: "^i2s@[0-9a-f]*$" [all …]
|
/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright © 2016-2019 Intel Corporation 26 * It can be used to perform both host-2-guc and guc-to-host communication. 57 /** Top-level structure for Command Transport related data 59 * Includes a pair of CT buffers for bi-directional communication and tracking 117 ct->enabled = false; in intel_guc_ct_sanitize() 122 return ct->enabled; in intel_guc_ct_enabled()
|
/linux/Documentation/driver-api/usb/ |
H A D | bulk-streams.rst | 17 Device-side implications 21 an out-of-band mechanism on another endpoint) that data is ready for that stream 41 ID for the bulk IN and OUT endpoints used in a Bi-directional command sequence. 65 To queue an URB for a specific stream, set the urb->stream_id value. If the
|
/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2015-2017 Socionext Inc. 21 - 1) 28 - 1) 35 - 1) 37 /* pull-up / pull-down register number */ 42 - 1) 49 - 1) 69 /* direction of pull register (no pin supports bi-directional pull biasing) */ 71 UNIPHIER_PIN_PULL_UP, /* pull-up or disabled */ [all …]
|
/linux/include/linux/usb/ |
H A D | typec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /* USB Type-C Specification releases */ 102 * struct enter_usb_data - Enter_USB Message details 106 * @active_link_training is a flag that should be set with uni-directional SBRX 107 * communication, and left 0 with passive cables and with bi-directional SBR [all...] |
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | st,stm32-rproc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/st,stm32-rproc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Fabien Dessenne <fabien.dessenne@foss.st.com> 15 - Arnaud Pouliquen <arnaud.pouliquen@foss.st.com> 19 const: st,stm32mp1-m4 31 reset-names: 33 - const: mcu_rst 34 - const: hold_boot [all …]
|
/linux/include/net/ |
H A D | bond_alb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. 14 #define BOND_ALB_INFO(bond) ((bond)->alb_info) 15 #define SLAVE_TLB_INFO(slave) ((slave)->tlb_info) 18 #define BOND_TLB_REBALANCE_INTERVAL 10 /* In seconds, periodic re-balancing. 19 * Used for division - never set 23 #define BOND_ALB_LP_INTERVAL(bond) (bond->params.lp_interval) /* In seconds, periodic send of 46 #define RLB_UPDATE_RETRY 3 /* 3-ticks - must be smaller than the rlb 78 /* ------------------------------------------------------------------------- 89 * allow cleaning up the table from ip_src<->mac_src associations that have [all …]
|
/linux/include/linux/amba/ |
H A D | pl022.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2008-2009 ST-Ericsson AB 11 * linux-2.6.17-rc3-mm1/drivers/spi/pxa2xx_spi.c 31 * enum ssp_interface - interfaces allowed for this SSP Controller 48 * enum ssp_hierarchy - whether SSP is configured as Master or Slave 56 * enum ssp_clock_params - clock parameters, to set SSP clock at a 65 * enum ssp_rx_endian - endianess of Rx FIFO Data 74 * enum ssp_tx_endian - endianess of Tx FIFO Data 82 * enum ssp_data_size - number of bits in one data element 98 * enum ssp_mode - SSP mode of operation (Communication modes) [all …]
|
/linux/Documentation/userspace-api/media/rc/ |
H A D | lirc-dev-intro.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 10 a bi-directional interface for transporting raw IR and decoded scancodes 21 .. code-block:: none 28 .. code-block:: none 30 $ ls -l /dev/lirc* 31 crw-rw---- 1 root root 248, 0 Jul 2 22:20 /dev/lirc0 33 Note that the package `v4l-utils <https://git.linuxtv.org/v4l-utils.git/>`_ 36 - ir-ctl: can receive raw IR and transmit IR, as well as query LIRC 39 - ir-keytable: can load keymaps; allows you to set IR kernel protocols; load 52 .. _lirc-mode-scancode: [all …]
|
/linux/drivers/nvme/host/ |
H A D | fabrics.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 18 /* default is -1: the fail fast mechanism is disabled */ 19 #define NVMF_DEF_FAIL_FAST_TMO -1 37 * enum nvmf_parsing_opts - used to define the sysfs parsing options used. 72 * struct nvmf_ctrl_options - Used to hold the options specified 77 * the controller, (-1) means reconnect forever, zero means remove 84 * @traddr: The transport-specific TRADDR field for a port on the 86 * @trsvcid: The transport-specific TRSVCID field for a port on the 88 * @host_traddr: A transport-specific field identifying the NVME host port [all …]
|
/linux/drivers/firmware/arm_scmi/transports/ |
H A D | mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2019-2024 ARM Ltd. 20 * struct scmi_mailbox - Structure representing a SCMI mailbox transport 23 * @chan: Transmit/Receive mailbox uni/bi-directional channel 50 core->shmem->tx_prepare(smbox->shmem, m, smbox->cinfo, in tx_prepare() 51 smbox->io_ops->toio); in tx_prepare() 64 * a previous timed-out reply which arrived late could be wrongly in rx_callback() 67 if (cl->knows_txdone && in rx_callback() 68 !core->shmem->channel_free(smbox->shmem)) { in rx_callback() 69 dev_warn(smbox->cinfo->dev, "Ignoring spurious A2P IRQ !\n"); in rx_callback() [all …]
|
/linux/drivers/message/fusion/ |
H A D | mptctl.h | 8 * Copyright (c) 1999-2008 LSI Corporation 9 * (mailto:DL-MPTFusionLinux@lsi.com) 12 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 26 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 45 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 50 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 54 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 93 * (as the app. will not use 8-byte pointers). 117 * iocnum - must be defined. 118 * port - must be defined for all IOCTL commands other than MPTIOCINFO [all …]
|
/linux/fs/btrfs/ |
H A D | backref.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #include "disk-io.h" 30 * The value must be non-negative and must not be 0, 1 (which is a common return 39 * continue. Can return BTRFS_ITERATE_EXTENT_INODES_STOP or any other non-zero 94 * commit roots when searching b+trees - this is a special case for 287 * For metadata with EXTENT_ITEM key (non-skinny) case, the first inline data 295 if (iter->cur_key.type == BTRFS_EXTENT_ITEM_KEY && in btrfs_backref_has_tree_block_info() 296 iter->cur_ptr - iter->item_ptr == sizeof(struct btrfs_extent_item)) in btrfs_backref_has_tree_block_info() 308 * The whole objective of backref_cache is to build a bi-directional map 338 /* Is the block in a non-shareable tree */
|
/linux/drivers/greybus/ |
H A D | svc.c | 1 // SPDX-License-Identifier: GPL-2.0 30 return sprintf(buf, "0x%04x\n", svc->endo_id); in endo_id_show() 39 return sprintf(buf, "%u\n", svc->ap_intf_id); in ap_intf_id_show() 106 if (svc->action == GB_SVC_WATCHDOG_BITE_PANIC_KERNEL) in watchdog_action_show() 108 else if (svc->action == GB_SVC_WATCHDOG_BITE_RESET_UNIPRO) in watchdog_action_show() 111 return -EINVAL; in watchdog_action_show() 121 svc->action = GB_SVC_WATCHDOG_BITE_PANIC_KERNEL; in watchdog_action_store() 123 svc->action = GB_SVC_WATCHDOG_BITE_RESET_UNIPRO; in watchdog_action_store() 125 return -EINVAL; in watchdog_action_store() 136 ret = gb_operation_sync(svc->connection, in gb_svc_pwrmon_rail_count_get() [all …]
|