/linux/tools/perf/Documentation/ |
H A D | perf-daemon.txt | 1 perf-daemon(1) 6 ---- 7 perf-daemon - Run record sessions on background 11 -------- 16 'perf daemon stop' [<options>] 22 ----------- 32 …916507 916508 ... \_ perf record --control=fifo:control,ack -m 10M -e cycles --overwrite --switc… 33 …916507 916509 ... \_ perf record --control=fifo:control,ack -m 20M -e sched:* --overwrite --swit… 38 to produce data periodically, like with --switch-output configuration 41 Each session is started with control setup (with perf record --control [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_twsi.c | 3 * Copyright (c) 2006 - 2012 QLogic Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 43 * Originally written for a not-quite-i2c serial eeprom, which is 45 * variety of other uses, most board-specific, so the bit-boffing 47 * have been moved to chip-specific files. 59 * i2c_wait_for_writes - wait for a write 74 dd->f_gpio_mod(dd, 0, 0, 0); in i2c_wait_for_writes() 84 /* BUF_WAIT is time bus must be free between STOP or ACK and to next START. 95 mask = 1UL << dd->gpio_scl_num; in scl_out() [all …]
|
/linux/drivers/i2c/algos/ |
H A D | i2c-algo-pca.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters 15 #include <linux/i2c-algo-pca.h> 26 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val) 27 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg) 30 #define pca_clock(adap) adap->i2c_clock 33 #define pca_wait(adap) adap->wait_for_completion(adap->data) 37 if (adap->chip == I2C_PCA_CHIP_9665) { in pca_reset() 46 * After a reset we need to re-apply any configuration in pca_reset() 50 pca_outw(adap, I2C_PCA_IND, adap->bus_settings.mode); in pca_reset() [all …]
|
H A D | i2c-algo-bit.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * i2c-algo-bit.c: i2c driver algorithms for bit-shift adapters 5 * Copyright (C) 1995-2000 Simon G. Vogl 17 #include <linux/i2c-algo-bit.h> 20 /* ----- global defines ----------------------------------------------- */ 33 /* ----- global variables --------------------------------------------- */ 35 static int bit_test; /* see if the line-setting functions work */ 37 MODULE_PARM_DESC(bit_test, "lines testing - 0 off; 1 report; 2 fail if stuck"); 43 "debug level - 0 off; 1 normal; 2 verbose; 3 very verbose"); 46 /* --- setting states on the bus with the right timing: --------------- */ [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,sc7280-adsp-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-adsp-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> 19 - qcom,sc7280-adsp-pil 23 - description: qdsp6ss register 24 - description: efuse q6ss register 28 - description: Phandle to apps_smmu node with sid mask 32 - description: Watchdog interrupt [all …]
|
H A D | qcom,sc7180-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7180-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sibi Sankar <quic_sibis@quicinc.com> 19 - qcom,sc7180-mss-pil 23 - description: MSS QDSP6 registers 24 - description: RMB registers 26 reg-names: 28 - const: qdsp6 [all …]
|
H A D | qcom,sc7280-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc7280-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sibi Sankar <quic_sibis@quicinc.com> 19 - qcom,sc7280-mss-pil 23 - description: MSS QDSP6 registers 24 - description: RMB registers 26 reg-names: 28 - const: qdsp6 [all …]
|
H A D | qcom,pas-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,pas-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 20 clock-names: 30 - description: Watchdog interrupt 31 - description: Fatal interrupt 32 - description: Ready interrupt 33 - description: Handover interrupt [all …]
|
H A D | qcom,sdx55-pas.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sdx55-pas.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 19 - qcom,sdx55-mpss-pas 26 - description: XO clock 28 clock-names: 30 - const: xo 35 interrupt-names: [all …]
|
H A D | qcom,wcnss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,wcnss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <andersson@kernel.org> 21 - items: 22 - enum: 23 - qcom,pronto-v1-pil 24 - qcom,pronto-v2-pil 25 - qcom,pronto-v3-pil [all …]
|
H A D | qcom,msm8916-mss-pil.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,msm8916-mss-pil.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stephan Gerhold <stephan@gerhold.net> 19 - enum: 20 - qcom,msm8909-mss-pil 21 - qcom,msm8916-mss-pil 22 - qcom,msm8953-mss-pil 23 - qcom,msm8974-mss-pil [all …]
|
H A D | qcom,sc8280xp-pas.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,sc8280xp-pas.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 19 - qcom,sc8280xp-adsp-pas 20 - qcom,sc8280xp-nsp0-pas 21 - qcom,sc8280xp-nsp1-pas 28 - description: XO clock 30 clock-names: [all …]
|
/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Derived from cx18-i2c.c 7 * Copyright 2012-2015 Cisco Systems, Inc. and/or its affiliates. 11 #include "cobalt-driver.h" 12 #include "cobalt-i2c.h" 15 /* Clock prescaler register lo-byte */ 18 /* Clock prescaler register high-byte */ 32 /* CTR[7:0] - Control register */ 40 /* CR[7:0] - Command register */ 45 /* I2C stop condition */ [all …]
|
/linux/tools/perf/tests/shell/ |
H A D | daemon.sh | 3 # SPDX-License-Identifier: GPL-2.0 59 local ack=$7 102 if [ "${ack}" != "${line_ack}" ]; then 103 echo "FAILED: wrong ack" 118 line=`perf daemon --config ${config} -x: | head -1` 123 trap - SIGINT SIGTERM 125 # stop daemon 126 perf daemon stop --config ${config} 129 tail --pid=${pid} -f /dev/null 137 perf daemon start --config ${config} [all …]
|
/linux/Documentation/i2c/ |
H A D | slave-interface.rst | 5 by Wolfram Sang <wsa@sang-engineering.com> in 2014-15 10 example for the latter is the slave-eeprom driver, which acts as a dual memory 16 use a character device, be in-kernel only, or something completely different:: 20 +-----------+ v +---------+ v +--------+ v +------------+ 21 | Userspace +........+ Backend +-----------+ Driver +-----+ Controller | 22 +-----------+ +---------+ +--------+ +------------+ 24 ----------------------------------------------------------------+-- I2C 25 --------------------------------------------------------------+---- Bus 35 them as described in the document instantiating-devices.rst. The only 38 instantiating the slave-eeprom driver from userspace at the 7 bit address 0x64 [all …]
|
H A D | gpio-fault-injection.rst | 12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually 15 injection. They will be described now along with their intended use-cases. 21 ----- 31 ----- 56 -------------------------- 60 it will stop at the ACK phase after the address of the client has been 61 transmitted. Because the device will ACK its presence, this results in SDA 68 ----------------------- 73 The injector will again stop at one ACK phase, so the device will keep SDA low 78 b) after the address byte, a 0x00 byte will be transferred. Then, stop at ACK. [all …]
|
/linux/net/batman-adv/ |
H A D | tp_meter.c | 1 // SPDX-License-Identifier: GPL-2.0 45 #include "hard-interface.h" 52 * BATADV_TP_DEF_TEST_LENGTH - Default test length if not specified by the user 58 * BATADV_TP_AWND - Advertised window by the receiver (in bytes) 63 * BATADV_TP_RECV_TIMEOUT - Receiver activity timeout. If the receiver does not 69 * BATADV_TP_MAX_RTO - Maximum sender timeout. If the sender RTO gets beyond 76 * BATADV_TP_FIRST_SEQ - First seqno of each session. The number is rather high 79 #define BATADV_TP_FIRST_SEQ ((u32)-1 - 2000) 82 * BATADV_TP_PLEN - length of the payload (data after the batadv_unicast header) 85 #define BATADV_TP_PLEN (BATADV_TP_PACKET_LEN - ETH_HLEN - \ [all …]
|
/linux/drivers/remoteproc/ |
H A D | qcom_q6v5.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2018 Linaro Ltd. 7 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. 28 if (!q6v5->qmp) in q6v5_load_state_toggle() 31 ret = qmp_send(q6v5->qmp, "{class: image, res: load_state, name: %s, val: %s}", in q6v5_load_state_toggle() 32 q6v5->load_state, enable ? "on" : "off"); in q6v5_load_state_toggle() 34 dev_err(q6v5->dev, "failed to toggle load state\n"); in q6v5_load_state_toggle() 40 * qcom_q6v5_prepare() - reinitialize the qcom_q6v5 context before start 49 ret = icc_set_bw(q6v5->path, 0, UINT_MAX); in qcom_q6v5_prepare() 51 dev_err(q6v5->dev, "failed to set bandwidth request\n"); in qcom_q6v5_prepare() [all …]
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl> 11 from the Hauppauge windows driver. Older ivtv versions used i2c-algo-bit, 13 CPU on the PVR-150 which handles IR functions (occasional inability to 17 The implementation is very similar to i2c-algo-bit, but there are enough 19 employed by i2c-algo-bit is to use udelay() to implement the timing 28 i2c-algo-bit would be to try to make it follow the same code path. 30 provide a generic benefit to i2c-algo-bit. Therefore consider this 31 an engineering solution -- not pretty, but it works. [all …]
|
/linux/net/sctp/ |
H A D | sm_statefuns.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2002 Intel Corp. 15 * lksctp developers <linux-sctp@vger.kernel.org> 176 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid() 179 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid() 192 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid() 194 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid() 206 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be [all …]
|
/linux/drivers/staging/sm750fb/ |
H A D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 22 * +-------------+-------------+-------------+-------------+ 37 * ---------------+---+---+---+---+ 40 * ---------------+---+---+---+---+ 41 * Tx Stop SDA | | L | | H | 43 * ---------------+---+---+---+---+ 46 * ---------------+---+---+---+---+ 49 * ---------------+---+---+---+---+ 86 * always be non-zero,which makes the while loop in sw_i2c_wait() [all …]
|
/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-pin-error-inj.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 9 has low-level support for the CEC bus. Most hardware today will have 10 high-level CEC support where the hardware deals with driving the CEC bus, 19 Currently only the cec-gpio driver (when the CEC line is directly 20 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver 25 now an ``error-inj`` file. 32 With ``cat error-inj`` you can see both the possible commands and the current 35 $ cat /sys/kernel/debug/cec/cec0/error-inj 38 # rx-clear clear all rx error injections 39 # tx-clear clear all tx error injections [all …]
|
/linux/drivers/usb/serial/ |
H A D | keyspan_usa49msg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 5 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 6 This file is available under a BSD-style copyright 19 Copyright (C) 1998-2000 InnoSys Incorporated. All Rights Reserved 21 This file is available under a BSD-style copyright 44 USB OUT (host -> USAxx, transmit) messages contain a 45 REQUEST_ACK indicator (set to 0xff to request an ACK at the 52 USB IN (USAxx -> host, receive) messages begin with a status 105 2000mar08 clone from usa26msg.h -> usa49msg.h 107 2000may03 change external clocking to match USA-49W hardware [all …]
|
/linux/tools/perf/util/ |
H A D | intel-tpebs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <subcmd/run-command.h> 10 #include "intel-tpebs.h" 27 #define PERF_DATA "-" 30 static pid_t tpebs_pid = -1; 60 record_argv[i++] = "-W"; in get_perf_record_args() 61 record_argv[i++] = "--synth=no"; in get_perf_record_args() 66 return -ECANCELED; in get_perf_record_args() 68 /* Use -C when cpumap_buf is not "-1" */ in get_perf_record_args() 69 if (strcmp(cpumap_buf, "-1")) { in get_perf_record_args() [all …]
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | m920x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 #include "dvb-usb.h" 47 always send the 7-bit slave I2C address as the 7 MSB, followed by 49 0x40: Send STOP condition. This should be set on the last byte of an 55 0x01: Respond with ACK, as opposed to a NACK. For a multi-byte read, 56 the master should send an ACK, that is pull SDA low during the 9th 60 What any other bits might mean, or how to get the slave's ACK/NACK
|