| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wsa@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition 28 scl-gpios: [all …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | i2c-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2c-gpio interface to platform code 11 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 12 * @udelay: signal toggle delay. SCL frequency is (500 / udelay) kHz 14 * SCL low for longer than this, the transfer will time out. 16 * isn't actively driven high when setting the output value high. 18 * pin is configured as an output. 19 * @sda_is_output_only: SDA output drivers can't be turned off. 20 * This is for clients that can only read SDA/SCL. 21 * @sda_has_no_pullup: SDA is used in a non-compliant way and has no pull-up. [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c-algo-bit.h> 16 #include <linux/platform_data/i2c-gpio.h> 23 struct gpio_desc *scl; member 36 * Toggle SDA by changing the output value of the pin. This is only 38 * high effectively turns off the output driver.) 44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 48 * Toggle SCL by changing the output value of the pin. This is used 49 * for pins that are configured as open drain and for output-only 57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() [all …]
|
| D | i2c-acorn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - PCF8583 real time clock & static RAM 12 #include <linux/i2c-algo-bit.h> 19 #define SCL 0x02 macro 23 * We must preserve all non-i2c output bits in IOC_CONTROL. 24 * Note also that we need to preserve the value of SCL and 32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl() 36 ones |= SCL; in ioc_setscl() 38 ones &= ~SCL; in ioc_setscl() 47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wolfram@the-dreams.de> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition 28 scl-gpios: [all …]
|
| D | i2c-s3c2410.txt | 6 - compatible: value should be either of the following. 7 (a) "samsung, s3c2410-i2c", for i2c compatible with s3c2410 i2c. 8 (b) "samsung, s3c2440-i2c", for i2c compatible with s3c2440 i2c. 9 (c) "samsung, s3c2440-hdmiphy-i2c", for s3c2440-like i2c used 11 (d) "samsung, exynos5-sata-phy-i2c", for s3c2440-like i2c used as 13 - reg: physical base address of the controller and length of memory mapped 15 - interrupts: interrupt number to the cpu. 16 - samsung,i2c-sda-delay: Delay (in ns) applied to data line (SDA) edges. 18 Required for all cases except "samsung,s3c2440-hdmiphy-i2c": 19 - Samsung GPIO variant (deprecated): [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/i2c-algo-bit.h> 17 #include <linux/platform_data/i2c-gpio.h> 23 struct gpio_desc *scl; member 36 * Toggle SDA by changing the output value of the pin. This is only 38 * high effectively turns off the output driver.) 44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val() 48 * Toggle SCL by changing the output value of the pin. This is used 49 * for pins that are configured as open drain and for output-only 57 gpiod_set_value_cansleep(priv->scl, state); in i2c_gpio_setscl_val() [all …]
|
| D | i2c-acorn.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * - PCF8583 real time clock & static RAM 12 #include <linux/i2c-algo-bit.h> 19 #define SCL 0x02 macro 23 * We must preserve all non-i2c output bits in IOC_CONTROL. 24 * Note also that we need to preserve the value of SCL and 32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl() 36 ones |= SCL; in ioc_setscl() 38 ones &= ~SCL; in ioc_setscl() 47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda() [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | i2c-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2c-gpio interface to platform code 11 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 12 * @udelay: signal toggle delay. SCL frequency is (500 / udelay) kHz 14 * SCL low for longer than this, the transfer will time out. 16 * isn't actively driven high when setting the output value high. 18 * pin is configured as an output. 19 * @scl_is_open_drain: SCL is set up as open drain. Same requirements 21 * @scl_is_output_only: SCL output drivers cannot be turned off.
|
| /kernel/linux/linux-6.6/net/netfilter/ipvs/ |
| D | ip_vs_proto_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 44 /* In the event of icmp, we're only guaranteed to have the first 8 in tcp_conn_schedule() 45 * bytes of the transport header, so we only check the rest of the in tcp_conn_schedule() 46 * TCP packet for non-ICMP packets in tcp_conn_schedule() 49 th = skb_header_pointer(skb, iph->len, sizeof(_tcph), &_tcph); in tcp_conn_schedule() 51 if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn)) in tcp_conn_schedule() 53 ports = &th->source; in tcp_conn_schedule() 57 skb, iph->len, sizeof(_ports), &_ports); in tcp_conn_schedule() 65 /* No !th->ack check to allow scheduling on SYN+ACK for Active FTP */ in tcp_conn_schedule() 68 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() [all …]
|
| D | ip_vs_proto_sctp.c | 1 // SPDX-License-Identifier: GPL-2.0 27 sh = skb_header_pointer(skb, iph->len, sizeof(_sctph), &_sctph); in sctp_conn_schedule() 29 sch = skb_header_pointer(skb, iph->len + sizeof(_sctph), in sctp_conn_schedule() 32 if (sch->type == SCTP_CID_ABORT || in sctp_conn_schedule() 34 sch->type == SCTP_CID_INIT)) in sctp_conn_schedule() 36 ports = &sh->source; in sctp_conn_schedule() 41 skb, iph->len, sizeof(_ports), &_ports); in sctp_conn_schedule() 50 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() 51 &iph->daddr, ports[1]); in sctp_conn_schedule() 53 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ipvs/ |
| D | ip_vs_proto_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 44 /* In the event of icmp, we're only guaranteed to have the first 8 in tcp_conn_schedule() 45 * bytes of the transport header, so we only check the rest of the in tcp_conn_schedule() 46 * TCP packet for non-ICMP packets in tcp_conn_schedule() 49 th = skb_header_pointer(skb, iph->len, sizeof(_tcph), &_tcph); in tcp_conn_schedule() 51 if (th->rst || !(sysctl_sloppy_tcp(ipvs) || th->syn)) in tcp_conn_schedule() 53 ports = &th->source; in tcp_conn_schedule() 57 skb, iph->len, sizeof(_ports), &_ports); in tcp_conn_schedule() 65 /* No !th->ack check to allow scheduling on SYN+ACK for Active FTP */ in tcp_conn_schedule() 68 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() [all …]
|
| D | ip_vs_proto_sctp.c | 1 // SPDX-License-Identifier: GPL-2.0 27 sh = skb_header_pointer(skb, iph->len, sizeof(_sctph), &_sctph); in sctp_conn_schedule() 29 sch = skb_header_pointer(skb, iph->len + sizeof(_sctph), in sctp_conn_schedule() 32 if (sch->type == SCTP_CID_ABORT || in sctp_conn_schedule() 34 sch->type == SCTP_CID_INIT)) in sctp_conn_schedule() 36 ports = &sh->source; in sctp_conn_schedule() 41 skb, iph->len, sizeof(_ports), &_ports); in sctp_conn_schedule() 50 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() 51 &iph->daddr, ports[1]); in sctp_conn_schedule() 53 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
| D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 19 * a point in time where the SCL or SDA may be changed. 22 * +-------------+-------------+-------------+-------------+ 23 * | SCL set LOW |SCL no change| SCL set HIGH|SCL no change| 26 * SCL == XXXX _____________ ____________ / 28 * I.e. the SCL may only be changed in section 1. and section 3. while 29 * the SDA may only be changed in section 2. and section 4. The table 37 * ---------------+---+---+---+---+ 39 * SCL | L | | H | | [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
| D | ddk750_swi2c.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * swi2c.c --- SM750/SM718 DDK 19 * a point in time where the SCL or SDA may be changed. 22 * +-------------+-------------+-------------+-------------+ 23 * | SCL set LOW |SCL no change| SCL set HIGH|SCL no change| 26 * SCL == XXXX _____________ ____________ / 28 * I.e. the SCL may only be changed in section 1. and section 3. while 29 * the SDA may only be changed in section 2. and section 4. The table 37 * ---------------+---+---+---+---+ 39 * SCL | L | | H | | [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | stm32mp15xx-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 21 * during TX anyway and that it only controls drive enable DE 24 rs485-rx-en-hog { 25 gpio-hog; 27 output-low; 28 line-name = "rs485-rx-en"; 33 gpio-line-names = "", "", "", "", 34 "", "", "DHCOM-B", "", [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | stm32mp15xx-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 17 stdout-path = "serial0:115200n8"; 33 * during TX anyway and that it only controls drive enable DE 36 rs485-rx-en { 37 gpio-hog; 39 output-low; 40 line-name = "rs485-rx-en"; 45 gpio-line-names = "", "", "", "", [all …]
|
| D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 14 stdout-path = "serial2:115200n8"; 27 power_button: power-button { 28 compatible = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&pwr_key_l>; 36 debounce-interval = <100>; 37 wakeup-source; [all …]
|
| D | rk3288-veyron-pinky.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-chromebook.dtsi" 10 #include "cros-ec-sbs.dtsi" 14 compatible = "google,veyron-pinky-rev2", "google,veyron-pinky", 17 /delete-node/backlight-regulator; 18 /delete-node/panel-regulator; 19 /delete-node/emmc-pwrseq; 20 /delete-node/vcc18-lcd; 24 /delete-property/power-supply; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/ |
| D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = "serial2:115200n8"; 31 power_button: power-button { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pwr_key_l>; 36 key-power { 40 debounce-interval = <100>; [all …]
|
| D | rk3288-veyron-pinky.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-chromebook.dtsi" 10 #include "../cros-ec-sbs.dtsi" 14 compatible = "google,veyron-pinky-rev2", "google,veyron-pinky", 17 /delete-node/backlight-regulator; 18 /delete-node/panel-regulator; 19 /delete-node/emmc-pwrseq; 20 /delete-node/vcc18-lcd; 24 /delete-property/power-supply; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
| /kernel/linux/linux-5.10/drivers/media/usb/cx231xx/ |
| D | cx231xx-avcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx231xx_avcore.c - driver for Conexant Cx23100/101/102 24 #include <media/v4l2-common.h> 25 #include <media/v4l2-ioctl.h> 27 #include "cx231xx-dif.h" 31 -: BLOCK ARRANGEMENT :- 32 I2S block ----------------------| 35 Analog Front End --> Direct IF -|-> Cx25840 --> Audio 38 |-> Cx25840 --> Video 73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/usb/cx231xx/ |
| D | cx231xx-avcore.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx231xx_avcore.c - driver for Conexant Cx23100/101/102 24 #include <media/v4l2-common.h> 25 #include <media/v4l2-ioctl.h> 27 #include "cx231xx-dif.h" 31 -: BLOCK ARRANGEMENT :- 32 I2S block ----------------------| 35 Analog Front End --> Direct IF -|-> Cx25840 --> Audio 38 |-> Cx25840 --> Video 73 dev_dbg(dev->dev, "verve_read_byte address0x07=0x%x\n", val); in initGPIO() [all …]
|