Home
last modified time | relevance | path

Searched refs:sda (Results 1 – 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/hwmon/
Demc1403.c38 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_show() local
43 retval = regmap_read(data->regmap, sda->index, &val); in temp_show()
52 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_show() local
57 retval = regmap_read(data->regmap, sda->nr, &val); in bit_show()
60 return sprintf(buf, "%d\n", !!(val & sda->index)); in bit_show()
66 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in temp_store() local
73 retval = regmap_write(data->regmap, sda->index, in temp_store()
83 struct sensor_device_attribute_2 *sda = to_sensor_dev_attr_2(attr); in bit_store() local
91 retval = regmap_update_bits(data->regmap, sda->nr, sda->index, in bit_store()
92 val ? sda->index : 0); in bit_store()
[all …]
Dtmp103.c57 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in tmp103_temp_show() local
62 ret = regmap_read(regmap, sda->index, &regval); in tmp103_temp_show()
73 struct sensor_device_attribute *sda = to_sensor_dev_attr(attr); in tmp103_temp_store() local
82 ret = regmap_write(regmap, sda->index, tmp103_mc_to_reg(val)); in tmp103_temp_store()
Dasc7621.c97 container_of(_sda, struct asc7621_param, sda)
105 struct sensor_device_attribute sda; member
150 struct sensor_device_attribute *sda = to_sensor_dev_attr(a); \
152 struct asc7621_param *param = to_asc7621_param(sda)
155 struct sensor_device_attribute *sda = to_sensor_dev_attr(a); \
158 struct asc7621_param *param = to_asc7621_param(sda)
299 u8 nr = sda->index; in show_in10()
316 u8 nr = sda->index; in show_in8()
328 u8 nr = sda->index; in store_in8()
800 {.sda = SENSOR_ATTR(name, S_IRUGO, show_##r, NULL, n), \
[all …]
/kernel/linux/linux-5.10/arch/arc/boot/dts/
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>;
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>;
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
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
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::
/kernel/linux/linux-5.10/drivers/i2c/algos/
Di2c-algo-bit.c233 int scl, sda, ret; in test_bus() local
244 sda = getsda(adap); in test_bus()
246 if (!scl || !sda) { in test_bus()
249 name, scl, sda); in test_bus()
254 sda = getsda(adap); in test_bus()
256 if (sda) { in test_bus()
268 sda = getsda(adap); in test_bus()
270 if (!sda) { in test_bus()
282 sda = getsda(adap); in test_bus()
288 if (!sda) { in test_bus()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
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()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-gpio.c22 struct gpio_desc *sda; member
44 gpiod_set_value_cansleep(priv->sda, state); in i2c_gpio_setsda_val()
64 return gpiod_get_value_cansleep(priv->sda); in i2c_gpio_getsda()
104 WIRE_ATTRIBUTE(sda);
399 priv->sda = i2c_gpio_get_desc(dev, "sda", 0, gflags); in i2c_gpio_probe()
400 if (IS_ERR(priv->sda)) in i2c_gpio_probe()
401 return PTR_ERR(priv->sda); in i2c_gpio_probe()
411 if (gpiod_cansleep(priv->sda) || gpiod_cansleep(priv->scl)) in i2c_gpio_probe()
461 desc_to_gpio(priv->sda), desc_to_gpio(priv->scl), in i2c_gpio_probe()
Di2c-ibm_iic.c242 u8 mask, v, sda; in iic_smbus_quick() local
265 sda = 0; in iic_smbus_quick()
271 out_8(&iic->directcntl, sda); in iic_smbus_quick()
273 sda = (v & mask) ? DIRCNTL_SDAC : 0; in iic_smbus_quick()
274 out_8(&iic->directcntl, sda); in iic_smbus_quick()
277 out_8(&iic->directcntl, DIRCNTL_SCC | sda); in iic_smbus_quick()
284 out_8(&iic->directcntl, sda); in iic_smbus_quick()
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dw996Xcf.c193 int sda; in w9968cf_smbus_write_byte() local
196 sda = (v & 0x80) ? 2 : 0; in w9968cf_smbus_write_byte()
199 w9968cf_write_sb(sd, 0x10 | sda); in w9968cf_smbus_write_byte()
201 w9968cf_write_sb(sd, 0x11 | sda); in w9968cf_smbus_write_byte()
203 w9968cf_write_sb(sd, 0x10 | sda); in w9968cf_smbus_write_byte()
235 int sda; in w9968cf_smbus_read_ack() local
240 sda = w9968cf_read_sb(sd); in w9968cf_smbus_read_ack()
242 if (sda >= 0 && (sda & 0x08)) { in w9968cf_smbus_read_ack()
/kernel/linux/linux-5.10/kernel/rcu/
Dsrcutree.c137 sdp = per_cpu_ptr(ssp->sda, cpu); in init_srcu_struct_nodes()
182 ssp->sda = alloc_percpu(struct srcu_data); in init_srcu_struct_fields()
183 if (!ssp->sda) in init_srcu_struct_fields()
258 struct srcu_data *cpuc = per_cpu_ptr(ssp->sda, cpu); in srcu_readers_lock_idx()
275 struct srcu_data *cpuc = per_cpu_ptr(ssp->sda, cpu); in srcu_readers_unlock_idx()
344 struct srcu_data *cpuc = per_cpu_ptr(ssp->sda, cpu); in srcu_readers_active()
385 struct srcu_data *sdp = per_cpu_ptr(ssp->sda, cpu); in cleanup_srcu_struct()
398 free_percpu(ssp->sda); in cleanup_srcu_struct()
399 ssp->sda = NULL; in cleanup_srcu_struct()
413 this_cpu_inc(ssp->sda->srcu_lock_count[idx]); in __srcu_read_lock()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
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)
Dmarvell,armada-370-pinctrl.txt19 mpp3 3 gpio, i2c0(sda), uart0(rxd)
29 mpp12 12 gpio, ge0(rxd1), i2c1(sda), sd0(d0), spi1(cs0),
50 mpp29 29 gpio, ge0(rxd6), ge1(rxctl), i2c1(sda)
75 mpp51 51 gpio, dev(ad12), i2c1(sda), sd0(d2), spi1(mosi)
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/
Di2c-at91.txt27 - i2c-sda-hold-time-ns: TWD hold time, only available for:
32 - sda-gpios: specify the gpio related to SDA pin
71 i2c-sda-hold-time-ns = <336>;
75 sda-gpios = <&pioA 30 GPIO_ACTIVE_HIGH>;
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega10_processpptables.c379 static void get_scl_sda_value(uint8_t line, uint8_t *scl, uint8_t* sda) in get_scl_sda_value() argument
384 *sda = Vega10_I2C_DDC1DATA; in get_scl_sda_value()
388 *sda = Vega10_I2C_DDC2DATA; in get_scl_sda_value()
392 *sda = Vega10_I2C_DDC3DATA; in get_scl_sda_value()
396 *sda = Vega10_I2C_DDC4DATA; in get_scl_sda_value()
400 *sda = Vega10_I2C_DDC5DATA; in get_scl_sda_value()
404 *sda = Vega10_I2C_DDC6DATA; in get_scl_sda_value()
408 *sda = Vega10_I2C_SDA; in get_scl_sda_value()
412 *sda = Vega10_I2C_DDCVGADATA; in get_scl_sda_value()
416 *sda = 0; in get_scl_sda_value()
[all …]
/kernel/linux/linux-5.10/Documentation/block/
Dswitching-sched.rst31 # cat /sys/block/sda/queue/scheduler
33 # echo none >/sys/block/sda/queue/scheduler
34 # cat /sys/block/sda/queue/scheduler
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dkirkwood-km_common.dtsi13 pmx_i2c_gpio_sda: pmx-gpio-sda {
30 gpios = < &gpio0 8 GPIO_ACTIVE_HIGH /* sda */
Dexynos5250-spring.dts105 samsung,i2c-sda-delay = <100>;
333 samsung,i2c-sda-delay = <100>;
364 samsung,i2c-sda-delay = <100>;
370 samsung,i2c-sda-delay = <100>;
376 samsung,i2c-sda-delay = <100>;
392 samsung,i2c-sda-delay = <100>;
398 samsung,i2c-sda-delay = <100>;
410 samsung,i2c-sda-delay = <100>;
Dstihxxx-b2120.dtsi91 st,i2c-min-sda-pulse-width-us = <5>;
98 st,i2c-min-sda-pulse-width-us = <5>;
128 st,i2c-min-sda-pulse-width-us = <5>;
Dexynos5250-smdk5250.dts125 samsung,i2c-sda-delay = <100>;
285 samsung,i2c-sda-delay = <100>;
314 samsung,i2c-sda-delay = <100>;
321 samsung,i2c-sda-delay = <100>;
327 samsung,i2c-sda-delay = <100>;
Dexynos5250-snow-common.dtsi289 samsung,i2c-sda-delay = <100>;
439 samsung,i2c-sda-delay = <100>;
462 samsung,i2c-sda-delay = <100>;
468 samsung,i2c-sda-delay = <100>;
474 samsung,i2c-sda-delay = <100>;
480 samsung,i2c-sda-delay = <100>;
486 samsung,i2c-sda-delay = <100>;
522 samsung,i2c-sda-delay = <100>;
/kernel/linux/linux-5.10/include/linux/
Dsrcutree.h76 struct srcu_data __percpu *sda; /* Per-CPU srcu_data array. */ member
97 .sda = &pcpu_name, \
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/marvell/
Dcp110-system-controller.txt91 mpp0 0 gpio, dev(ale1), au(i2smclk), ge0(rxd3), tdm(pclk), ptp(pulse), mss_i2c(sda), uart0(rxd), sa…
94 mpp3 3 gpio, dev(ad14), au(i2slrclk), ge0(rxd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda
120 …(mosi), mss_gpio6, ge0(rxd1), spi0(csn6), pcie1(clkreq), ptp(clk), mss_i2c(sda), sata0(present_act…
126 mpp35 35 gpio, sata1(present_act), i2c1(sda), mss_spi(clk), tdm(pclk), au(i2sdo_spdifo), sdio(card_…
129 mpp38 38 gpio, uart2(txd), i2c0(sda), ptp(pulse), tdm(rstn), mss_i2c(sda), sata0(present_act), ge(m…
131 mpp40 40 gpio, sdio(pwr11), synce1(clk), mss_i2c(sda), au(i2sdo_spdifo), ptp(pclk_out), spi0(clk), …
141 mpp50 50 gpio, ge1(rxclk), mss_i2c(sda), spi1(csn0), uart2(txd), uart0(rxd), xg(mdio), sdio(pwr11)
148 mpp57 57 gpio, mss_i2c(sda), ptp(pclk_out), tdm(intn), au(i2sbclk), spi0(mosi), uart1(txd), sata0(p…

1234567