| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/serial/ |
| D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/serial.yaml# 21 - arm,pl011 22 - zte,zx296702-uart 24 - compatible 29 - items: 30 - const: arm,pl011 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/serial/ |
| D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: serial.yaml# 22 - arm,pl011 24 - compatible 29 - const: arm,pl011 30 - const: arm,primecell [all …]
|
| /kernel/linux/linux-6.6/Documentation/accounting/ |
| D | psi.rst | 4 PSI - Pressure Stall Information 14 either play it safe and under-utilize their hardware resources, or 23 scarcity aids users in sizing workloads to hardware--or provisioning 38 respective file in /proc/pressure/ -- cpu, memory, and io. 48 The "full" line indicates the share of time in which all non-idle 70 Users can register triggers and use poll() to be woken up when resource 74 time window, e.g. 100ms of total stall time within any 500ms window to 80 used to wait for trigger events using select(), poll() or epoll(). 86 would add 150ms threshold for partial memory stall measured within 88 would add 50ms threshold for full io stall measured within 1sec time window. [all …]
|
| /kernel/linux/linux-5.10/Documentation/accounting/ |
| D | psi.rst | 4 PSI - Pressure Stall Information 14 either play it safe and under-utilize their hardware resources, or 23 scarcity aids users in sizing workloads to hardware--or provisioning 38 respective file in /proc/pressure/ -- cpu, memory, and io. 52 The "full" line indicates the share of time in which all non-idle 71 Users can register triggers and use poll() to be woken up when resource 75 time window, e.g. 100ms of total stall time within any 500ms window to 81 used to wait for trigger events using select(), poll() or epoll(). 87 would add 150ms threshold for partial memory stall measured within 89 would add 50ms threshold for full io stall measured within 1sec time window. [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
| D | conf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 117 * Range: 0 - 0xFFFFFFFF 130 * after a PS-poll has been transmitted. 132 * Range: 0 - 200000 139 * Range: 0 - 200000 147 * Range: 0 - 4096 161 * Occupied Rx mem-blocks number which requires interrupting the host 177 * Max time in msec the FW may delay RX-Complete interrupt. 179 * Range: 1 - 100 203 * of the 22Mbps rate. There is a FW limitation on 12 rates so we must drop [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
| D | conf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 117 * Range: 0 - 0xFFFFFFFF 130 * after a PS-poll has been transmitted. 132 * Range: 0 - 200000 139 * Range: 0 - 200000 147 * Range: 0 - 4096 161 * Occupied Rx mem-blocks number which requires interrupting the host 177 * Max time in msec the FW may delay RX-Complete interrupt. 179 * Range: 1 - 100 203 * of the 22Mbps rate. There is a FW limitation on 12 rates so we must drop [all …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | kxtj9.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 * The following table lists the maximum appropriate poll interval for each 54 * available output data rate. 84 .addr = tj9->client->addr, in kxtj9_i2c_read() 85 .flags = tj9->client->flags, in kxtj9_i2c_read() 90 .addr = tj9->client->addr, in kxtj9_i2c_read() 91 .flags = tj9->client->flags | I2C_M_RD, in kxtj9_i2c_read() 97 return i2c_transfer(tj9->client->adapter, msgs, 2); in kxtj9_i2c_read() 108 dev_err(&tj9->client->dev, "accelerometer data read failed\n"); in kxtj9_report_acceleration_data() 110 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| D | kxtj9.c | 1 // SPDX-License-Identifier: GPL-2.0-only 53 * The following table lists the maximum appropriate poll interval for each 54 * available output data rate. 84 .addr = tj9->client->addr, in kxtj9_i2c_read() 85 .flags = tj9->client->flags, in kxtj9_i2c_read() 90 .addr = tj9->client->addr, in kxtj9_i2c_read() 91 .flags = tj9->client->flags | I2C_M_RD, in kxtj9_i2c_read() 97 return i2c_transfer(tj9->client->adapter, msgs, 2); in kxtj9_i2c_read() 108 dev_err(&tj9->client->dev, "accelerometer data read failed\n"); in kxtj9_report_acceleration_data() 110 x = le16_to_cpu(acc_data[tj9->pdata.axis_map_x]); in kxtj9_report_acceleration_data() [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 32 rate, /* data rate. |= 0x40 for perpendicular */ member 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 40 spec1, /* stepping rate, head unload time */ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 100 * ultra cheap floppies ;-) 130 /* Spec2 is (HLD<<1 | ND), where HLD is head load time (1=2ms, 2=4 ms [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | fd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28 #define FD_SECTBASE(floppy) ((((floppy)->stretch & FD_SECTBASEMASK) >> 2) ^ 1) 32 rate, /* data rate. |= 0x40 for perpendicular */ member 35 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 36 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? \ 40 spec1, /* stepping rate, head unload time */ 50 /* clear user-defined parameters */ 54 /* set user-defined parameters for current media */ 100 * ultra cheap floppies ;-) 130 /* Spec2 is (HLD<<1 | ND), where HLD is head load time (1=2ms, 2=4 ms [all …]
|
| /kernel/linux/linux-6.6/drivers/input/mouse/ |
| D | synaptics_i2c.c | 29 * after soft reset, we should wait for 1 ms 33 /* and after hard reset, we should wait for max 500ms */ 182 * reduce the polling rate to NO_DATA_SLEEP_MSECS 212 /* Control Polling Rate */ 215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80"); 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate() 233 touch->scan_rate_param = scan_rate; in set_scan_rate() 279 /* set Report Rate to Device Highest (>=80) and Sleep to normal */ in synaptics_i2c_config() 311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config() 316 dev_err(&client->dev, "Unable to config device\n"); in synaptics_i2c_reset_config() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| D | synaptics_i2c.c | 29 * after soft reset, we should wait for 1 ms 33 /* and after hard reset, we should wait for max 500ms */ 182 * reduce the polling rate to NO_DATA_SLEEP_MSECS 212 /* Control Polling Rate */ 215 MODULE_PARM_DESC(scan_rate, "Polling rate in times/sec. Default = 80"); 232 touch->scan_ms = MSEC_PER_SEC / scan_rate; in set_scan_rate() 233 touch->scan_rate_param = scan_rate; in set_scan_rate() 279 /* set Report Rate to Device Highest (>=80) and Sleep to normal */ in synaptics_i2c_config() 311 dev_err(&client->dev, "Unable to reset device\n"); in synaptics_i2c_reset_config() 316 dev_err(&client->dev, "Unable to config device\n"); in synaptics_i2c_reset_config() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/ |
| D | aht10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * aht10.c - Linux hwmon driver for AHT10/AHT20 Temperature and Humidity sensors 21 * Poll intervals (in milliseconds) 61 * struct aht10_data - All the data required to operate an AHT10/AHT20 chip 65 * @min_poll_interval: the minimum poll interval 66 * While the poll rate limit is not 100% necessary, 71 * it to 0. Default value is 2000 ms 98 * aht10_init() - Initialize an AHT10/AHT20 chip 108 struct i2c_client *client = data->client; in aht10_init() 119 return -ENODATA; in aht10_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/pressure/ |
| D | dps310.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * - Optionally support the FIFO 60 /* Make sure sleep time is <= 30ms for usleep_range */ 62 /* Silently handle error in rate value here */ 119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 126 * numbers are 12-bit 2's complement numbers. in dps310_get_coefs() 129 data->c0 = sign_extend32(c0, 11); in dps310_get_coefs() 132 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs() 140 data->c00 = sign_extend32(c00, 19); in dps310_get_coefs() 143 data->c10 = sign_extend32(c10, 19); in dps310_get_coefs() [all …]
|
| D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * saving at the cost of lower sampling rate and higher software overhead. 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 45 * internal hardware trigger is attached as the highest sampling rate seems to 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 73 /* There should be a 1 ms delay (Tpup) after getting out of reset. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/pressure/ |
| D | dps310.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 * - Optionally support the FIFO 60 /* Make sure sleep time is <= 30ms for usleep_range */ 62 /* Silently handle error in rate value here */ 119 rc = regmap_bulk_read(data->regmap, DPS310_COEF_BASE, coef, in dps310_get_coefs() 126 * numbers are 12-bit 2's complement numbers. in dps310_get_coefs() 129 data->c0 = sign_extend32(c0, 11); in dps310_get_coefs() 132 data->c1 = sign_extend32(c1, 11); in dps310_get_coefs() 140 data->c00 = sign_extend32(c00, 19); in dps310_get_coefs() 143 data->c10 = sign_extend32(c10, 19); in dps310_get_coefs() [all …]
|
| D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * saving at the cost of lower sampling rate and higher software overhead. 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 45 * internal hardware trigger is attached as the highest sampling rate seems to 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 73 /* There should be a 1 ms delay (Tpup) after getting out of reset. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
| D | dvb-usb-remote.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* dvb-usb-remote.c is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 5 * see dvb-usb-init.c for copyright information. 7 …* This file contains functions for initializing the input-device and for handling remote-control-q… 9 #include "dvb-usb-common.h" 20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index() 21 index = ke->index; in legacy_dvb_usb_get_keymap_index() 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
| D | dvb-usb-remote.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* dvb-usb-remote.c is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 5 * see dvb-usb-init.c for copyright information. 7 …* This file contains functions for initializing the input-device and for handling remote-control-q… 9 #include "dvb-usb-common.h" 20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index() 21 index = ke->index; in legacy_dvb_usb_get_keymap_index() 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
| D | rtl8723b_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 31 } while ((!read_down) && (retry_cnts--)); in _is_fw_read_cmd_down() 40 *| 31 - 8 |7-5 | 4 - 0 | 42 *| 31-0 | 58 if (mutex_lock_interruptible(&(adapter_to_dvobj(padapter)->h2c_fwcmd_mutex))) in FillH2CCmd8723B() 69 if (padapter->bSurpriseRemoved) in FillH2CCmd8723B() 74 h2c_box_num = pHalData->LastHMEBoxNum; in FillH2CCmd8723B() 83 memcpy((u8 *)(&h2c_cmd_ex), pCmdBuffer+3, CmdLen-3); in FillH2CCmd8723B() 96 pHalData->LastHMEBoxNum = (h2c_box_num+1) % MAX_H2C_BOX_NUMS; in FillH2CCmd8723B() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_perf_types.h | 1 /* SPDX-License-Identifier: MIT */ 13 #include <linux/poll.h> 66 * struct i915_perf_stream_ops - the OPs to support a specific stream type 109 * Only write complete records; returning -%ENOSPC if there isn't room 113 * -%ENOSPC or -%EFAULT, even though these may be squashed before 130 * struct i915_perf_stream - state for a single open stream FD 163 * @ctx: %NULL if measuring system-wide across all contexts or a 218 * (e.g. during a read() or poll()). 266 * hrtimer callbacks (5ms period) and that reads typically only 317 * struct i915_oa_ops - Gen specific implementation of an OA unit stream [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
| D | dp_catalog.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__ 11 #include <linux/phy/phy-dp.h> 71 struct dss_io_data *dss = &catalog->io->dp_controller; in dp_catalog_snapshot() 73 msm_disp_snapshot_add_block(disp_state, dss->ahb.len, dss->ahb.base, "dp_ahb"); in dp_catalog_snapshot() 74 msm_disp_snapshot_add_block(disp_state, dss->aux.len, dss->aux.base, "dp_aux"); in dp_catalog_snapshot() 75 msm_disp_snapshot_add_block(disp_state, dss->link.len, dss->link.base, "dp_link"); in dp_catalog_snapshot() 76 msm_disp_snapshot_add_block(disp_state, dss->p0.len, dss->p0.base, "dp_p0"); in dp_catalog_snapshot() 81 return readl_relaxed(catalog->io->dp_controller.aux.base + offset); in dp_read_aux() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_82599.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 65 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() 70 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 72 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599() 74 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599() 76 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 78 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 79 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 80 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_82599.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 65 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_init_mac_link_ops_82599() 70 if ((mac->ops.get_media_type(hw) == ixgbe_media_type_fiber) && in ixgbe_init_mac_link_ops_82599() 72 mac->ops.disable_tx_laser = in ixgbe_init_mac_link_ops_82599() 74 mac->ops.enable_tx_laser = in ixgbe_init_mac_link_ops_82599() 76 mac->ops.flap_tx_laser = &ixgbe_flap_tx_laser_multispeed_fiber; in ixgbe_init_mac_link_ops_82599() 78 mac->ops.disable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 79 mac->ops.enable_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() 80 mac->ops.flap_tx_laser = NULL; in ixgbe_init_mac_link_ops_82599() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | i915_perf_types.h | 1 /* SPDX-License-Identifier: MIT */ 13 #include <linux/poll.h> 101 * struct i915_perf_stream_ops - the OPs to support a specific stream type 144 * Only write complete records; returning -%ENOSPC if there isn't room 148 * -%ENOSPC or -%EFAULT, even though these may be squashed before 165 * struct i915_perf_stream - state for a single open stream FD 203 * @ctx: %NULL if measuring system-wide across all contexts or a 258 * (e.g. during a read() or poll()). 305 * hrtimer callbacks (5ms period) and that reads typically only 350 * struct i915_oa_ops - Gen specific implementation of an OA unit stream [all …]
|