Home
last modified time | relevance | path

Searched full:sda (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-gpio.yaml20 sda-gpios:
22 gpio used for the sda signal, this should be flagged as
36 i2c-gpio,sda-output-only:
37 description: sda as output only
54 description: sda and scl gpio, alternative for {sda,scl}-gpios
56 i2c-gpio,sda-open-drain:
60 the GPIO line used for SDA into open drain mode, and that something is
70 i2c-gpio,sda-has-no-pullup:
72 description: sda is used in a non-compliant way and has no pull-up.
74 with i2c-gpio,sda-open-drain.
[all …]
H A Dsnps,designware-i2c.yaml54 ICPU_CFG:TWI_DELAY registers to setup the SDA hold time.
80 i2c-sda-hold-time-ns:
82 The property should contain the SDA hold time in nanoseconds. This option
92 i2c-sda-falling-time-ns:
94 The property should contain the SDA falling time in nanoseconds.
145 i2c-sda-hold-time-ns = <300>;
146 i2c-sda-falling-time-ns = <300>;
H A Dhisilicon,ascend910-i2c.yaml35 i2c-sda-falling-time-ns:
41 i2c-sda-hold-time-ns:
65 i2c-sda-falling-time-ns = <56>;
67 i2c-sda-hold-time-ns = <56>;
/linux/Documentation/i2c/
H A Dgpio-fault-injection.rst30 "sda"
33 By reading this file, you get the current state of SDA. By writing, you can
35 "echo 0 > sda" you force SDA low and thus, data cannot be transmitted. The bus
39 succeed because SDA is still pinned low until you manually release it again
40 with "echo 1 > sda". A test with an automatic release can be done with the
46 The following fault injectors create situations where SDA will be held low by a
48 there are I2C client devices which detect a stuck SDA on their side and release
50 device deglitching and monitoring the I2C bus. It could also detect a stuck SDA
61 transmitted. Because the device will ACK its presence, this results in SDA
62 being pulled low by the device while SCL is high. So, similar to the "sda" file
[all …]
/linux/drivers/i2c/busses/
H A Di2c-acorn.c20 #define SDA 0x01 macro
25 * SDA outputs as well (which may be different from the
32 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setscl()
47 u_int ioc_control = ioc_readb(IOC_CONTROL) & ~(SCL | SDA); in ioc_setsda()
51 ones |= SDA; in ioc_setsda()
53 ones &= ~SDA; in ioc_setsda()
67 return (ioc_readb(IOC_CONTROL) & SDA) != 0; in ioc_getsda()
87 force_ones = FORCE_ONES | SCL | SDA; in i2c_ioc_init()
H A Di2c-gpio.c34 struct gpio_desc *sda; member
52 * Toggle SDA by changing the output value of the pin. This is only
60 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val()
80 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
151 WIRE_ATTRIBUTE(sda);
186 /* ADDR (7 bit) + RD (1 bit) + Client ACK, keep SDA hi (1 bit) */ in fops_incomplete_addr_phase_set()
205 /* 0x00 (8 bit) + Client ACK, keep SDA hi (1 bit) */ in fops_incomplete_write_byte_set()
269 * has really started the transfer. Interrupt on falling SDA did only in fops_lose_arbitration_set()
321 debugfs_create_file_unsafe("sda", 0600, priv->adap.debugfs, priv, &fops_sda); in i2c_gpio_fault_injector_init()
339 device_property_read_bool(dev, "i2c-gpio,sda-open-drain"); in i2c_gpio_get_properties()
[all …]
/linux/drivers/media/usb/gspca/
H A Dw996Xcf.c178 w9968cf_write_sb(sd, 0x0011); /* SDE=1, SDA=0, SCL=1 */ in w9968cf_smbus_start()
179 w9968cf_write_sb(sd, 0x0010); /* SDE=1, SDA=0, SCL=0 */ in w9968cf_smbus_start()
184 w9968cf_write_sb(sd, 0x0010); /* SDE=1, SDA=0, SCL=0 */ in w9968cf_smbus_stop()
185 w9968cf_write_sb(sd, 0x0011); /* SDE=1, SDA=0, SCL=1 */ in w9968cf_smbus_stop()
186 w9968cf_write_sb(sd, 0x0013); /* SDE=1, SDA=1, SCL=1 */ in w9968cf_smbus_stop()
192 int sda; in w9968cf_smbus_write_byte() local
195 sda = (v & 0x80) ? 2 : 0; in w9968cf_smbus_write_byte()
197 /* SDE=1, SDA=sda, SCL=0 */ in w9968cf_smbus_write_byte()
198 w9968cf_write_sb(sd, 0x10 | sda); in w9968cf_smbus_write_byte()
199 /* SDE=1, SDA=sda, SCL=1 */ in w9968cf_smbus_write_byte()
[all …]
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_i2c.c77 /* set state on the li2c->sda pin */ in lsdc_gpio_i2c_set_sda()
78 return __lsdc_gpio_i2c_set(li2c, li2c->sda, state); in lsdc_gpio_i2c_set_sda()
91 /* read value from the li2c->sda pin */ in lsdc_gpio_i2c_get_sda()
92 return __lsdc_gpio_i2c_get(li2c, li2c->sda); in lsdc_gpio_i2c_get_sda()
134 li2c->sda = 0x01; /* pin 0 */ in lsdc_create_i2c_chan()
137 li2c->sda = 0x04; /* pin 2 */ in lsdc_create_i2c_chan()
175 drm_info(ddev, "%s(sda pin mask=%u, scl pin mask=%u) created\n", in lsdc_create_i2c_chan()
176 adapter->name, li2c->sda, li2c->scl); in lsdc_create_i2c_chan()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-ebs.rst42 Emulate 1 sector = 512 bytes logical block size on /dev/sda starting at
45 ebs /dev/sda 1024 1
47 Emulate 2 sector = 1KiB logical block size on /dev/sda starting at
49 This presumes 2KiB logical blocksize on /dev/sda or less to work:
51 ebs /dev/sda 128 2 4
H A Ddm-service-time.rst78 In case that 2 paths (sda and sdb) are used with repeat_count == 128
79 and sda has an average throughput 1GB/s and sdb has 4GB/s,
80 'relative_throughput' value may be '1' for sda and '4' for sdb::
92 Or '2' for sda and '8' for sdb would be also true::
/linux/arch/arc/boot/dts/
H A Dabilis_tb100_dvk.dts37 i2c-sda-hold-time-ns = <432>;
40 i2c-sda-hold-time-ns = <432>;
43 i2c-sda-hold-time-ns = <432>;
46 i2c-sda-hold-time-ns = <432>;
49 i2c-sda-hold-time-ns = <432>;
H A Dabilis_tb101_dvk.dts37 i2c-sda-hold-time-ns = <432>;
40 i2c-sda-hold-time-ns = <432>;
43 i2c-sda-hold-time-ns = <432>;
46 i2c-sda-hold-time-ns = <432>;
49 i2c-sda-hold-time-ns = <432>;
/linux/include/linux/platform_data/
H A Di2c-gpio.h15 * @sda_is_open_drain: SDA is configured as open drain, i.e. the pin
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.
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,armada-39x-pinctrl.txt21 mpp3 3 gpio, i2c0(sda)
34 mpp16 16 gpio, dram(deccerr), spi0(miso), pcie0(clkreq), i2c1(sda)
37 mpp19 19 gpio, sata1(prsnt) [1], ua0(cts), ua1(rxd), i2c2(sda)
46 mpp27 27 gpio, spi0(cs3), i2c1(sda), sd0(d7), dev(cs2), ge(txclkout)
59 mpp40 40 gpio, i2c1(sda), ua0(rts), sd0(d2), dev(ad6), ge(rxd3)
75 mpp53 53 gpio, sata1(prsnt) [1], sata0(prsnt) [1], tdm(rst) [2], audio(bclk) [2], sd0(d7), i2c3(sda)
81 mpp59 59 gpio, pcie0(rstout), i2c1(sda), spi1(cs0), sd0(d2)
H A Dcirrus,lochnagar.yaml108 i2c2-sda, i2c3-scl, i2c3-sda, i2c4-scl, i2c4-sda,
136 i2c2-scl, i2c2-sda, i2c3-scl, i2c3-sda, i2c4-scl,
137 i2c4-sda, spdif-aif, psia1, psia1-bclk, psia1-lrclk,
/linux/Documentation/admin-guide/laptops/
H A Ddisk-shock-protection.rst63 /dev/sda and stop all I/O operations for five seconds::
65 # echo 5000 > /sys/block/sda/device/unload_heads
69 # cat /sys/block/sda/device/unload_heads
101 instead of /dev/sda), then parking the heads of one drive (drive X)
118 # echo -1 > /sys/block/sda/device/unload_heads
120 will enable the feature for /dev/sda, and giving -2 instead of -1 will
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dbit.c108 i2c_bitw(struct nvkm_i2c_bus *bus, int sda) in i2c_bitw() argument
110 nvkm_i2c_drive_sda(bus, sda); in i2c_bitw()
125 int sda; in i2c_bitr() local
134 sda = nvkm_i2c_sense_sda(bus); in i2c_bitr()
138 return sda; in i2c_bitr()
/linux/Documentation/block/
H A Dswitching-sched.rst31 # cat /sys/block/sda/queue/scheduler
33 # echo none >/sys/block/sda/queue/scheduler
34 # cat /sys/block/sda/queue/scheduler
/linux/drivers/mfd/
H A Dintel-lpss-acpi.c41 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 230),
86 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 42),
87 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
102 PROPERTY_ENTRY_U32("i2c-sda-hold-time-ns", 207),
103 PROPERTY_ENTRY_U32("i2c-sda-falling-time-ns", 171),
/linux/kernel/rcu/
H A Dsrcutree.c99 sdp = per_cpu_ptr(ssp->sda, cpu); in init_srcu_struct_data()
186 sdp = per_cpu_ptr(ssp->sda, cpu); in init_srcu_struct_nodes()
202 * tells us that ->sda has already been wired up to srcu_data.
224 ssp->sda = alloc_percpu(struct srcu_data); in init_srcu_struct_fields()
225 ssp->srcu_ctrp = &ssp->sda->srcu_ctrs[0]; in init_srcu_struct_fields()
227 if (!ssp->sda) in init_srcu_struct_fields()
247 free_percpu(ssp->sda); in init_srcu_struct_fields()
248 ssp->sda = NULL; in init_srcu_struct_fields()
476 struct srcu_data *sdp = per_cpu_ptr(ssp->sda, cpu); in srcu_readers_lock_idx()
500 struct srcu_data *sdp = per_cpu_ptr(ssp->sda, cpu); in srcu_readers_unlock_idx()
[all …]
/linux/drivers/rtc/
H A Drtc-rs5c313.c71 #define SDA SCSPTR1_SPB1DT macro
107 /* SDA:Write Data */ in rs5c313_write_data()
108 scsptr1_data = (scsptr1_data & ~SDA) | in rs5c313_write_data()
112 scsptr1_data |= SDA_OEN; /* SDA:output enable */ in rs5c313_write_data()
123 scsptr1_data &= ~SDA_OEN; /* SDA:output disable */ in rs5c313_write_data()
134 /* SDA:Read Data */ in rs5c313_read_data()
135 data |= ((__raw_readb(SCSPTR1) & SDA) >> 2) << (7 - i); in rs5c313_read_data()
/linux/block/
H A Dholder.c46 * For example, if /dev/dm-0 maps to /dev/sda and disk for dm-0 is
49 * /sys/block/dm-0/slaves/sda --> /sys/block/sda
50 * /sys/block/sda/holders/dm-0 --> /sys/block/dm-0
/linux/arch/riscv/boot/dts/starfive/
H A Djh7110-common.dtsi177 i2c-sda-hold-time-ns = <300>;
178 i2c-sda-falling-time-ns = <510>;
186 i2c-sda-hold-time-ns = <300>;
187 i2c-sda-falling-time-ns = <510>;
196 i2c-sda-hold-time-ns = <300>;
197 i2c-sda-falling-time-ns = <510>;
245 i2c-sda-hold-time-ns = <300>;
246 i2c-sda-falling-time-ns = <510>;
H A Djh7100-common.dtsi316 i2c-sda-hold-time-ns = <300>;
317 i2c-sda-falling-time-ns = <500>;
336 i2c-sda-hold-time-ns = <300>;
337 i2c-sda-falling-time-ns = <100>;
346 i2c-sda-hold-time-ns = <300>;
347 i2c-sda-falling-time-ns = <500>;
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-spring.dts111 samsung,i2c-sda-delay = <100>;
339 samsung,i2c-sda-delay = <100>;
370 samsung,i2c-sda-delay = <100>;
376 samsung,i2c-sda-delay = <100>;
382 samsung,i2c-sda-delay = <100>;
398 samsung,i2c-sda-delay = <100>;
404 samsung,i2c-sda-delay = <100>;
416 samsung,i2c-sda-delay = <100>;

12345678910>>...15