| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
| D | cyttsp.txt | 4 - compatible : must be "cypress,cyttsp-i2c" or "cypress,cyttsp-spi" 5 - reg : Device I2C address or SPI chip select number 6 - spi-max-frequency : Maximum SPI clocking speed of the device (for cyttsp-spi) 7 - interrupts : (gpio) interrupt to which the chip is connected 9 - bootloader-key : the 8-byte bootloader key that is required to switch 16 - reset-gpios : the reset gpio the chip is connected to 18 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 19 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 20 - touchscreen-fuzz-x : horizontal noise value of the absolute input device 22 - touchscreen-fuzz-y : vertical noise value of the absolute input device [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/ |
| D | cypress,cy8ctma340.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Javier Martinez Canillas <javier@dowhile0.org> 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: touchscreen.yaml# 26 - const: cypress,cy8ctma340 27 - const: cypress,cy8ctst341 28 - const: cypress,cyttsp-spi 31 - const: cypress,cyttsp-i2c [all …]
|
| /kernel/linux/linux-5.10/include/linux/input/ |
| D | cyttsp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 #define CY_SPI_NAME "cyttsp-spi" 19 #define CY_I2C_NAME "cyttsp-i2c" 20 /* Active Power state scanning/processing refresh interval */ 21 #define CY_ACT_INTRVL_DFLT 0x00 /* ms */ 22 /* touch timeout for the Active power */ 23 #define CY_TCH_TMOUT_DFLT 0xFF /* ms */ 24 /* Low Power state scanning/processing refresh interval */ 25 #define CY_LP_INTRVL_DFLT 0x0A /* ms */ 26 /* Active distance in pixels for a gesture to be reported */
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/engleder/ |
| D | tsnep_selftests.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 26 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in enable_gc_timeout() 27 if (!(ioread32(adapter->addr + TSNEP_GC) & TSNEP_GC_TIMEOUT_ACTIVE)) in enable_gc_timeout() 35 if (ioread32(adapter->addr + TSNEP_GC) & TSNEP_GC_TIMEOUT_SIGNAL) in gc_timeout_signaled() 43 iowrite8(TSNEP_GC_ENABLE_TIMEOUT, adapter->addr + TSNEP_GC); in ack_gc_timeout() 44 if (ioread32(adapter->addr + TSNEP_GC) & in ack_gc_timeout() 53 u8 active; in enable_gc() local 57 active = TSNEP_GC_ACTIVE_A; in enable_gc() 60 active = TSNEP_GC_ACTIVE_B; in enable_gc() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | cyttsp_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 #define CY_DELAY_DFLT 20 /* ms */ 49 /* Active distance in pixels for a gesture to be reported */ 52 /* Active Power state scanning/processing refresh interval */ 53 #define CY_ACT_INTRVL_DFLT 0x00 /* ms */ 54 /* Low Power state scanning/processing refresh interval */ 55 #define CY_LP_INTRVL_DFLT 0x0A /* ms */ 56 /* touch timeout for the Active power */ 57 #define CY_TCH_TMOUT_DFLT 0xFF /* ms */ 85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() [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 273 * Range: bit 0: Truncate - when set, FW attempts to send a frame stop [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 273 * Range: bit 0: Truncate - when set, FW attempts to send a frame stop [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | pxa27x-keypad.txt | 4 - compatible : should be "marvell,pxa27x-keypad" 5 - reg : Address and length of the register set for the device 6 - interrupts : The interrupt for the keypad controller 7 - marvell,debounce-interval : How long time the key will be 9 is debounce interval for direct key and bit[15:0] is debounce 10 interval for matrix key. The value is in binary number of 2ms 13 Please refer to matrix-keymap.txt 16 - marvell,direct-key-count : How many direct keyes are used. 17 - marvell,direct-key-mask : The mask indicates which keyes 20 - marvell,direct-key-low-active : Direct key status register [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | pxa27x-keypad.txt | 4 - compatible : should be "marvell,pxa27x-keypad" 5 - reg : Address and length of the register set for the device 6 - interrupts : The interrupt for the keypad controller 7 - marvell,debounce-interval : How long time the key will be 9 is debounce interval for direct key and bit[15:0] is debounce 10 interval for matrix key. The value is in binary number of 2ms 13 Please refer to matrix-keymap.txt 16 - marvell,direct-key-count : How many direct keyes are used. 17 - marvell,direct-key-mask : The mask indicates which keyes 20 - marvell,direct-key-low-active : Direct key status register [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | pno.c | 1 // SPDX-License-Identifier: ISC 38 #define ifp_to_pno(_ifp) ((_ifp)->drvr->config->pno) 43 if (WARN(pi->n_reqs == BRCMF_PNO_MAX_BUCKETS, in brcmf_pno_store_request() 45 return -ENOSPC; in brcmf_pno_store_request() 47 brcmf_dbg(SCAN, "reqid=%llu\n", req->reqid); in brcmf_pno_store_request() 48 mutex_lock(&pi->req_lock); in brcmf_pno_store_request() 49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request() 50 mutex_unlock(&pi->req_lock); in brcmf_pno_store_request() 58 mutex_lock(&pi->req_lock); in brcmf_pno_remove_request() 61 if (pi->n_reqs == 0) in brcmf_pno_remove_request() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | pno.c | 1 // SPDX-License-Identifier: ISC 38 #define ifp_to_pno(_ifp) ((_ifp)->drvr->config->pno) 43 if (WARN(pi->n_reqs == BRCMF_PNO_MAX_BUCKETS, in brcmf_pno_store_request() 45 return -ENOSPC; in brcmf_pno_store_request() 47 brcmf_dbg(SCAN, "reqid=%llu\n", req->reqid); in brcmf_pno_store_request() 48 mutex_lock(&pi->req_lock); in brcmf_pno_store_request() 49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request() 50 mutex_unlock(&pi->req_lock); in brcmf_pno_store_request() 58 mutex_lock(&pi->req_lock); in brcmf_pno_remove_request() 61 if (pi->n_reqs == 0) in brcmf_pno_remove_request() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/touchscreen/ |
| D | cyttsp_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 46 #define CY_DELAY_DFLT 20 /* ms */ 77 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() 85 return -EIO; in ttsp_read_block_data() 95 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data() 103 return -EIO; in ttsp_write_block_data() 113 if (ts->use_hndshk) in cyttsp_handshake() 115 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake() 122 memset(&ts->bl_data, 0, sizeof(ts->bl_data)); in cyttsp_load_bl_regs() 123 ts->bl_data.bl_status = 0x10; in cyttsp_load_bl_regs() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/ |
| D | leds-trigger-pattern.txt | 3 The pattern is given by a series of tuples, of brightness and duration (ms). 6 new value, and writing malformed pattern deactivates any active one. 8 1. For gradual dimming, the dimming interval now is set as 50 milliseconds. So 9 the tuple with duration less than dimming interval (50ms) is treated as a step 19 It will make the LED go gradually from zero-intensity to max (255) intensity in 24 255-| / \ / \ / 28 0-| / \/ \/ 29 +---0----1----2----3----4----5----6------------> time (s) 32 use zero-time lengths (the brightness must be same as the previous tuple's). So 44 255-| +---------+ +---------+ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/leds/ |
| D | leds-trigger-pattern.txt | 3 The pattern is given by a series of tuples, of brightness and duration (ms). 6 new value, and writing malformed pattern deactivates any active one. 8 1. For gradual dimming, the dimming interval now is set as 50 milliseconds. So 9 the tuple with duration less than dimming interval (50ms) is treated as a step 19 It will make the LED go gradually from zero-intensity to max (255) intensity in 24 255-| / \ / \ / 28 0-| / \/ \/ 29 +---0----1----2----3----4----5----6------------> time (s) 32 use zero-time lengths (the brightness must be same as the previous tuple's). So 44 255-| +---------+ +---------+ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | Kconfig.profile | 2 int "Default timeout for requests (ms)" 8 Beware setting this value lower, or close to heartbeat interval 16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 35 that complements the runtime-pm autosuspend and provides a lower 42 int "Interval between heartbeat pulses (ms)" 45 The driver sends a periodic heartbeat down all active engines to 46 check the health of the GPU and undertake regular house-keeping of 56 int "Preempt timeout (ms, jiffy granularity)" 74 int "Preempt timeout for compute engines (ms, jiffy granularity)" [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/serial/ |
| D | ftdi_sio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Driver definitions for the FTDI USB Single Port Serial Converter - 9 * The example I have is known as the USC-1000 which is available from 10 * http://www.dse.co.nz - cat no XH4214 It looks similar to this: 12 * USC-1000s which don't look like my device though so beware! 21 * Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the 107 * wValue: BaudDivisor value - see below 112 * - BaseClock is either 12000000 or 48000000 depending on the device. 114 * - BaudDivisor is a fixed point number encoded in a funny way. 115 * (--WRONG WAY OF THINKING--) [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/serial/ |
| D | ftdi_sio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Driver definitions for the FTDI USB Single Port Serial Converter - 9 * The example I have is known as the USC-1000 which is available from 10 * http://www.dse.co.nz - cat no XH4214 It looks similar to this: 12 * USC-1000s which don't look like my device though so beware! 21 * Bill Ryder - bryder@sgi.com formerly of Silicon Graphics, Inc.- wrote the 107 * wValue: BaudDivisor value - see below 112 * - BaseClock is either 12000000 or 48000000 depending on the device. 114 * - BaudDivisor is a fixed point number encoded in a funny way. 115 * (--WRONG WAY OF THINKING--) [all …]
|
| /kernel/linux/linux-5.10/tools/cgroup/ |
| D | iocost_monitor.py | 7 This is a drgn script to monitor the blk-iocost cgroup controller. 8 See the comment at the top of block/blk-iocost.c for more details. 28 parser.add_argument('--cgroup', action='append', metavar='REGEX', 30 parser.add_argument('--interval', '-i', metavar='SECONDS', type=float, default=1, 31 help='Monitoring interval in seconds (0 exits immediately ' 33 parser.add_argument('--json', action='store_true', 65 return blkcg.css.cgroup.kn.name.string_().decode('utf-8') 127 f'per={self.period_ms}ms ' \ 137 return f'{"":25} active {"weight":>9} {"hweight%":>13} {"inflt%":>6} ' \ 147 self.active = iocg.active.value_() / WEIGHT_ONE [all …]
|
| /kernel/linux/linux-5.10/drivers/net/bonding/ |
| D | bond_procfs.c | 1 // SPDX-License-Identifier: GPL-2.0 13 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_start() 32 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_seq_next() 59 struct bonding *bond = PDE_DATA(file_inode(seq->file)); in bond_info_show_master() 64 curr = rcu_dereference(bond->curr_active_slave); in bond_info_show_master() 70 bond->params.fail_over_mac) { in bond_info_show_master() 72 bond->params.fail_over_mac); in bond_info_show_master() 73 seq_printf(seq, " (fail_over_mac %s)", optval->string); in bond_info_show_master() 80 bond->params.xmit_policy); in bond_info_show_master() 82 optval->string, bond->params.xmit_policy); in bond_info_show_master() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/bonding/ |
| D | bond_procfs.c | 1 // SPDX-License-Identifier: GPL-2.0 14 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_start() 33 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_seq_next() 60 struct bonding *bond = pde_data(file_inode(seq->file)); in bond_info_show_master() 65 curr = rcu_dereference(bond->curr_active_slave); in bond_info_show_master() 71 bond->params.fail_over_mac) { in bond_info_show_master() 73 bond->params.fail_over_mac); in bond_info_show_master() 74 seq_printf(seq, " (fail_over_mac %s)", optval->string); in bond_info_show_master() 81 bond->params.xmit_policy); in bond_info_show_master() 83 optval->string, bond->params.xmit_policy); in bond_info_show_master() [all …]
|
| /kernel/linux/linux-6.6/tools/cgroup/ |
| D | iocost_monitor.py | 7 This is a drgn script to monitor the blk-iocost cgroup controller. 8 See the comment at the top of block/blk-iocost.c for more details. 28 parser.add_argument('--cgroup', action='append', metavar='REGEX', 30 parser.add_argument('--interval', '-i', metavar='SECONDS', type=float, default=1, 31 help='Monitoring interval in seconds (0 exits immediately ' 33 parser.add_argument('--json', action='store_true', 70 return blkcg.css.cgroup.kn.name.string_().decode('utf-8') 130 f'per={self.period_ms}ms ' \ 140 return f'{"":25} active {"weight":>9} {"hweight%":>13} {"inflt%":>6} ' \ 150 self.active = iocg.active.value_() / WEIGHT_ONE [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
| D | channel.c | 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel() 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 30 struct ieee80211_channel *chan = chandef->chan; in ath_set_channel() 31 int pos = chan->hw_value; in ath_set_channel() 33 int old_pos = -1; in ath_set_channel() 36 if (test_bit(ATH_OP_INVALID, &common->op_flags)) in ath_set_channel() 37 return -EIO; in ath_set_channel() 39 if (ah->curchan) in ath_set_channel() 40 old_pos = ah->curchan - &ah->channels[0]; in ath_set_channel() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| D | channel.c | 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 27 struct ieee80211_hw *hw = sc->hw; in ath_set_channel() 29 struct cfg80211_chan_def *chandef = &sc->cur_chan->chandef; in ath_set_channel() 30 struct ieee80211_channel *chan = chandef->chan; in ath_set_channel() 31 int pos = chan->hw_value; in ath_set_channel() 33 int old_pos = -1; in ath_set_channel() 36 if (test_bit(ATH_OP_INVALID, &common->op_flags)) in ath_set_channel() 37 return -EIO; in ath_set_channel() 39 if (ah->curchan) in ath_set_channel() 40 old_pos = ah->curchan - &ah->channels[0]; in ath_set_channel() [all …]
|
| /kernel/linux/linux-6.6/net/core/ |
| D | gen_estimator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Jamal Hadi Salim - moved it to net/core and reshulfed 48 u8 intvl_log; /* period : (250ms << intvl_log) */ 66 if (e->stats_lock) in est_fetch_counters() 67 spin_lock(e->stats_lock); in est_fetch_counters() 69 gnet_stats_add_basic(b, e->cpu_bstats, e->bstats, e->running); in est_fetch_counters() 71 if (e->stats_lock) in est_fetch_counters() 72 spin_unlock(e->stats_lock); in est_fetch_counters() 87 brate = (b_bytes - est->last_bytes) << (10 - est->intvl_log); in est_timer() 88 brate = (brate >> est->ewma_log) - (est->avbps >> est->ewma_log); in est_timer() [all …]
|
| /kernel/linux/linux-5.10/net/core/ |
| D | gen_estimator.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Jamal Hadi Salim - moved it to net/core and reshulfed 48 u8 intvl_log; /* period : (250ms << intvl_log) */ 66 if (e->stats_lock) in est_fetch_counters() 67 spin_lock(e->stats_lock); in est_fetch_counters() 69 __gnet_stats_copy_basic(e->running, b, e->cpu_bstats, e->bstats); in est_fetch_counters() 71 if (e->stats_lock) in est_fetch_counters() 72 spin_unlock(e->stats_lock); in est_fetch_counters() 83 brate = (b.bytes - est->last_bytes) << (10 - est->intvl_log); in est_timer() 84 brate = (brate >> est->ewma_log) - (est->avbps >> est->ewma_log); in est_timer() [all …]
|