| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_mbox.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (c) 2003-2004 LSI Logic Corporation. 94 #define MBOX_MAX_SG_SIZE 32 // maximum scatter-gather list size 97 #define MBOX_BUSY_WAIT 10 // max usec to wait for busy mailbox 98 #define MBOX_RESET_WAIT 180 // wait these many seconds in reset 99 #define MBOX_RESET_EXT_WAIT 120 // extended wait reset 100 #define MBOX_SYNC_WAIT_CNT 0xFFFF // wait loop index for synchronous mode 102 #define MBOX_SYNC_DELAY_200 200 // 200 micro-seconds 112 * mbox_ccb_t - command control block specific to mailbox based controllers 115 * @mbox64 : extended mailbox [all …]
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | netcons_basic.sh | 2 # SPDX-License-Identifier: GPL-2.0 17 set -euo pipefail 19 SCRIPTDIR=$(dirname "$(readlink -e "${BASH_SOURCE[0]}")") 37 for FORMAT in "basic" "extended" 46 # Only set userdata for extended format 47 if [ "$FORMAT" == "extended" ] 55 # Wait for socat to start and listen to the port. 59 # Wait until socat saves the file to disk 60 busywait "${BUSYWAIT_TIMEOUT}" test -s "${OUTPUT_FILE}" 72 trap - EXIT
|
| /linux/sound/soc/sof/ |
| H A D | loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 14 #include "sof-priv.h" 19 struct snd_sof_pdata *plat_data = sdev->pdata; in snd_sof_load_firmware_raw() 25 if (sdev->basefw.fw) in snd_sof_load_firmware_raw() 29 plat_data->fw_filename_prefix, in snd_sof_load_firmware_raw() 30 plat_data->fw_filename); in snd_sof_load_firmware_raw() 32 return -ENOMEM; in snd_sof_load_firmware_raw() 34 ret = request_firmware(&sdev->basefw.fw, fw_filename, sdev->dev); in snd_sof_load_firmware_raw() 37 dev_err(sdev->dev, in snd_sof_load_firmware_raw() 39 dev_err(sdev->dev, in snd_sof_load_firmware_raw() [all …]
|
| /linux/include/uapi/linux/can/ |
| H A D | isotp.h | 1 /* SPDX-License-Identifier: ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) */ 5 * Definitions for ISO 15765-2 CAN transport protocol sockets 78 __u8 ext_address; /* set address for extended addressing */ 79 /* __u8 value : extended address */ 87 __u8 rx_ext_address; /* set address for extended addressing */ 88 /* __u8 value : extended address (rx) */ 98 /* 0x00 - 0x7F : 0 - 127 ms */ 99 /* 0x80 - 0xF0 : reserved */ 100 /* 0xF1 - 0xF9 : 100 us - 900 us */ 101 /* 0xFA - 0xFF : reserved */ [all …]
|
| /linux/Documentation/networking/ |
| H A D | iso15765-2.rst | 1 .. SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 4 ISO 15765-2 (ISO-TP) 10 ISO 15765-2, also known as ISO-TP, is a transport protocol specifically defined 12 industry, for example as the transport protocol for UDSonCAN (ISO 14229-3) or 13 emission-related diagnostic services (ISO 15031-5). 15 ISO-TP can be used both on CAN CC (aka Classical CAN) and CAN FD (CAN with 21 ------------------- 23 * ISO 15765-2:2024 : Road vehicles - Diagnostic communication over Controller 27 ---------- 29 In its simplest form, ISO-TP is based on two kinds of addressing modes for the [all …]
|
| /linux/Documentation/driver-api/tty/ |
| H A D | n_gsm.rst | 10 https://www.3gpp.org/ftp/Specs/archive/07_series/07.10/0710-720.zip 19 ---------------- 32 #. Configure DLCs using ``GSMIOC_GETCONF_DLCI``/``GSMIOC_SETCONF_DLCI`` ioctl for non-defaults. 37 (a good starting point is util-linux-ng/sys-utils/ldattach.c):: 71 /* get n_gsm extended configuration */ 73 /* use keep-alive once every 5s for modem connection supervision */ 75 /* set the new extended configuration */ 98 /* and wait for ever to keep the line discipline enabled */ 106 - to use *gnokii* to send / receive SMS on ``ttygsm1`` 107 - to use *ppp* to establish a datalink on ``ttygsm2`` [all …]
|
| /linux/arch/alpha/kernel/ |
| H A D | es1888.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Init the built-in ES1888 sound chip (SB16 compatible) 32 while (!(inb(0x022e) & 0x80)) /* wait for bit 7 to assert*/ in es1888_init() 35 outb(0xc6, 0x022c); /* enable extended mode */ in es1888_init() 37 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ in es1888_init() 40 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ in es1888_init() 43 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ in es1888_init() 46 while (inb(0x022c) & 0x80) /* wait for bit 7 to deassert */ in es1888_init()
|
| /linux/drivers/s390/cio/ |
| H A D | cmf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 38 * "s390cmf" -- enable cmf and allocate 2 MB of ram so measuring can be 40 * "s390cmf=<num>" -- enable cmf and allocate enough memory to measure 48 avg_utilization = -1, 49 /* basic and extended format: */ 57 /* extended format only: */ 63 * enum cmb_format - types of supported measurement block formats 69 * @CMF_AUTODETECT: default: use extended format when running on a machine 70 * supporting extended format, otherwise fall back to 76 CMF_AUTODETECT = -1, [all …]
|
| /linux/tools/testing/selftests/drivers/net/lib/sh/ |
| H A D | lib_netcons.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 set -euo pipefail 11 LIBDIR=$(dirname "$(readlink -e "${BASH_SOURCE[0]}")") 24 TARGET=$(mktemp -u netcons_XXXXX) 50 SRCIF=$(find "$NSIM1"/net -maxdepth 1 -type d ! \ 51 -path "$NSIM1"/net -exe [all...] |
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A D | request-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 4 .. _media-request-api: 12 the same pipeline to reconfigure and collaborate closely on a per-frame basis. 14 to specific frames (aka 'per-frame controls') in order to be used efficiently. 16 While the initial use-case was V4L2, it can be extended to other subsystems 20 it is, it is terribly inefficient: user-space would have to flush all activity 22 be processed with that configuration, and wait until they are all available for 28 specific buffers. This allows user-space to schedule several tasks ("requests") 34 ------------- 37 subsystem-specific APIs to support request usage. At the Media Controller [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | arm,pl172.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/arm,pl172.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Frank Li <Frank.Li@nxp.com> 18 - arm,pl172 19 - arm,pl175 20 - arm,pl176 22 - compatible 27 - enum: [all …]
|
| H A D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
| /linux/include/uapi/linux/ |
| H A D | gsmmux.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 24 * struct gsm_config - n_gsm basic configuration parameters 28 * struct gsm_config_ext can be used to configure extended ldisc parameters. 37 * @t3: Response timer for wake-up procedure 65 * struct gsm_netconfig - n_gsm network configuration parameters 73 * @protocol: Protocol to use - only ETH_P_IP supported. 93 * struct gsm_config_ext - n_gsm extended configuration parameters 96 * GSMIOC_SETCONF_EXT to retrieve and set the extended parameters of an 101 * @keep_alive: Control channel keep-alive in 1/100th of a second (0 to disable). 102 * @wait_config: Wait for DLCI config before opening virtual link? [all …]
|
| H A D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 27 /* 0x4200-0x4300 are reserved for architecture-independent additions. */ 122 * struct ptrace_sud_config - Per-task configuration for Syscall User Dispatch 151 * These values are stored in task->ptrace_message 152 * by ptrace_stop to describe the current syscall-stop. 160 /* Wait extended result codes for the above trace options. */ 168 /* Extended result codes which enabled by means other than options. */
|
| /linux/include/video/ |
| H A D | sticore.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 * Luckily, the frame buffer guys have the same problem so we can just wait 43 #define sti_onscreen_x(sti) (sti->glob_cfg->onscreen_x) 44 #define sti_onscreen_y(sti) (sti->glob_cfg->onscreen_y) 47 #define sti_font_x(sti) (PTR_STI(sti->font)->width) 48 #define sti_font_y(sti) (PTR_STI(sti->font)->height) 95 u32 *ext_ptr; /* pointer to extended glob_cfg data structure */ 102 u32 wait : 1; /* should routine idle wait or not */ member 105 u32 nontext : 1; /* turn on non-text display planes? */ 107 u32 cmap_blk : 1; /* non-text planes cmap black? */ [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_fw_update.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * ixgbe_send_package_data - Send record package data to firmware 42 struct ixgbe_adapter *adapter = priv->adapter; in ixgbe_send_package_data() 43 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_send_package_data() 49 return -ENOMEM; in ixgbe_send_package_data() 59 * ixgbe_check_component_response - Report firmware response to a component 63 * @extack: netlink extended ACK structure 66 * a suitable error message over the netlink extended ACK if the component 69 * Return: 0 if the component can be updated, or -ECANCELED if the 76 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_check_component_response() [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | sdma_txreq.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 13 * struct sdma_desc - canonical fragment descriptor 28 * struct sdma_txreq - the sdma_txreq structure (one per packet) 29 * @list: for use by user and by queuing for wait 35 * The storage for the descriptors are automatically extended as needed 68 struct iowait *wait; member 74 /* private: - used in coalesce/pad processing */ 76 /* private: - down-counted to trigger last */ 94 return tx->num_desc; in sdma_txreq_built()
|
| /linux/net/x25/ |
| H A D | af_x25.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 * 2000-03-11 Henner Eisen MSG_EOR handling more POSIX compliant. 16 * 2000-03-22 Daniela Squassoni Allowed disabling/enabling of 19 * 2000-08-27 Arnaldo C. Melo s/suser/capable/ + micro cleanups 20 * 2000-09-04 Henner Eisen Set sock->state in x25_accept(). 22 * 2000-10-02 Henner Eisen Made x25_kick() single threaded per socket. 23 * 2000-10-27 Henner Eisen MSG_DONTWAIT for fragment allocation. 24 * 2000-11-14 Henner Eisen Closing datalink from NETDEV_GOING_DOWN 25 * 2002-10-06 Arnaldo C. Melo Get rid of cli/sti, move proc stuff to 27 * 2005-04-02 Shaun Pereira Selective sub address matching [all …]
|
| /linux/fs/ubifs/ |
| H A D | journal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2006-2008 Nokia Corporation. 14 * The journal consists of 2 parts - the log and bud LEBs. The log has fixed 16 * area. Buds contain file system data - data nodes, inode nodes, etc. The log 24 * The journal is multi-headed because we want to write data to the journal as 33 * Bud LEBs may be half-indexed. For example, if the bud was not full at the 52 * zero_ino_node_unused - zero out unused fields of an on-flash inode node. 57 memset(ino->padding1, 0, 4); in zero_ino_node_unused() 58 memset(ino->padding2, 0, 26); in zero_ino_node_unused() 62 * zero_dent_node_unused - zero out unused fields of an on-flash directory [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 43 /* Extended Device Control */ 62 /* Interrupt acknowledge Auto-mask */ 102 /* Same mask, but for extended and packet split descriptors */ 118 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 119 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 184 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ 186 #define E1000_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */ 254 /* Constants used to intrepret the masked PCI-X bus speed. */ [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_dwlib.c | 1 // SPDX-License-Identifier: GPL-2.0+ 23 #define DW_UART_LCR_EXT 0xcc /* Line Extended Control Register */ 42 /* Line Extended Control Register bits */ 79 struct dw8250_port_data *d = p->private_data; in dw8250_get_divisor() 81 quot = p->uartclk / base_baud; in dw8250_get_divisor() 82 rem = p->uartclk % base_baud; in dw8250_get_divisor() 83 *frac = DIV_ROUND_CLOSEST(rem << d->dlf_size, base_baud); in dw8250_get_divisor() 98 p->status &= ~UPSTAT_AUTOCTS; in dw8250_do_set_termios() 99 if (termios->c_cflag & CRTSCTS) in dw8250_do_set_termios() 100 p->status |= UPSTAT_AUTOCTS; in dw8250_do_set_termios() [all …]
|
| /linux/sound/hda/core/ext/ |
| H A D | controller.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdac-ext-controller.c - HD-audio extended controller functions. 5 * Copyright (C) 2014-201 [all...] |
| /linux/sound/core/seq/oss/ |
| H A D | seq_oss_rw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 struct seq_oss_readq *readq = dp->readq; in snd_seq_oss_read() 39 if (readq == NULL || ! is_read_mode(dp->file_mode)) in snd_seq_oss_read() 40 return -ENXIO; in snd_seq_oss_read() 45 if (err == -EAGAIN && in snd_seq_oss_read() 46 !is_nonblock_mode(dp->file_mode) && result == 0) { in snd_seq_oss_read() 51 err = -ERESTARTSYS; in snd_seq_oss_read() 67 err = -EFAULT; in snd_seq_oss_read() 72 count -= ev_len; in snd_seq_oss_read() 89 if (! is_write_mode(dp->file_mode) || dp->writeq == NULL) in snd_seq_oss_write() [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | hwesleep.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the 5 * extended FADT-V5 sleep registers. 7 * Copyright (C) 2000 - 2025, Intel Corp. 21 * PARAMETERS: method_pathname - Pathname of method to execute 22 * integer_argument - Argument to pass to the method 58 * PARAMETERS: sleep_state - Which sleep state to enter 62 * DESCRIPTION: Enter a system sleep state via the extended FADT sleep 76 /* Extended sleep registers must be valid */ in acpi_hw_extended_sleep() 97 * (acpi_gbl_sleep_type_a) - As per ACPI specification. in acpi_hw_extended_sleep() [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | vg468.h | 48 #define VG469_EXT_MODE 0x3c /* Extended mode register */ 72 #define VG468_CTL_TSSI 0x08 /* Tri-state some outputs */ 78 #define VG469_CTL_WS_COMPAT 0x04 /* Wait state compatibility */ 89 #define VG468_MISC_GPIO 0x04 /* General-purpose IO */ 90 #define VG468_MISC_DMAWSB 0x08 /* DMA wait state control */
|