Home
last modified time | relevance | path

Searched refs:i3c (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/drivers/i3c/master/
Dast2600-i3c-master.c79 struct ast2600_i3c *i3c = to_ast2600_i3c(dw); in ast2600_i3c_init() local
84 rc = ast2600_i3c_pullup_to_reg(i3c->sda_pullup, &reg); in ast2600_i3c_init()
88 rc = regmap_write(i3c->global_regs, in ast2600_i3c_init()
89 AST2600_I3CG_REG0(i3c->global_idx), reg); in ast2600_i3c_init()
96 reg = AST2600_I3CG_REG1_INST_ID(i3c->global_idx); in ast2600_i3c_init()
97 rc = regmap_write(i3c->global_regs, in ast2600_i3c_init()
98 AST2600_I3CG_REG1(i3c->global_idx), reg); in ast2600_i3c_init()
103 static void ast2600_i3c_set_dat_ibi(struct dw_i3c_master *i3c, in ast2600_i3c_set_dat_ibi() argument
114 dev_warn_once(&i3c->base.dev, in ast2600_i3c_set_dat_ibi()
129 struct ast2600_i3c *i3c; in ast2600_i3c_probe() local
[all …]
DMakefile2 obj-$(CONFIG_CDNS_I3C_MASTER) += i3c-master-cdns.o
3 obj-$(CONFIG_DW_I3C_MASTER) += dw-i3c-master.o
4 obj-$(CONFIG_AST2600_I3C_MASTER) += ast2600-i3c-master.o
5 obj-$(CONFIG_SVC_I3C_MASTER) += svc-i3c-master.o
6 obj-$(CONFIG_MIPI_I3C_HCI) += mipi-i3c-hci/
DKconfig23 will be called dw-i3c-master.
37 will be called ast2600-i3c-master.
56 https://www.mipi.org/specifications/i3c-hci
59 called mipi-i3c-hci.
Ddw-i3c-master.h80 int (*init)(struct dw_i3c_master *i3c);
89 void (*set_dat_ibi)(struct dw_i3c_master *i3c,
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-i3c1 What: /sys/bus/i3c/devices/i3c-<bus-id>
3 Contact: linux-i3c@vger.kernel.org
8 What: /sys/bus/i3c/devices/i3c-<bus-id>/current_master
10 Contact: linux-i3c@vger.kernel.org
17 What: /sys/bus/i3c/devices/i3c-<bus-id>/mode
19 Contact: linux-i3c@vger.kernel.org
25 What: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency
27 Contact: linux-i3c@vger.kernel.org
32 What: /sys/bus/i3c/devices/i3c-<bus-id>/i2c_scl_frequency
34 Contact: linux-i3c@vger.kernel.org
[all …]
/linux-6.12.1/drivers/base/regmap/
Dregmap-i3c.c12 struct i3c_device *i3c = dev_to_i3cdev(dev); in regmap_i3c_write() local
21 return i3c_device_do_priv_xfers(i3c, xfers, 1); in regmap_i3c_write()
29 struct i3c_device *i3c = dev_to_i3cdev(dev); in regmap_i3c_read() local
40 return i3c_device_do_priv_xfers(i3c, xfers, 2); in regmap_i3c_read()
48 struct regmap *__devm_regmap_init_i3c(struct i3c_device *i3c, in __devm_regmap_init_i3c() argument
53 return __devm_regmap_init(&i3c->dev, &regmap_i3c, &i3c->dev, config, in __devm_regmap_init_i3c()
DMakefile21 obj-$(CONFIG_REGMAP_I3C) += regmap-i3c.o
/linux-6.12.1/drivers/net/mctp/
Dmctp-i3c.c73 struct i3c_device *i3c; member
128 rc = i3c_device_do_priv_xfers(mi->i3c, &xfer, 1); in mctp_i3c_read()
175 static void mctp_i3c_ibi_handler(struct i3c_device *i3c, in mctp_i3c_ibi_handler() argument
178 struct mctp_i3c_device *mi = i3cdev_get_drvdata(i3c); in mctp_i3c_ibi_handler()
193 dev_warn_once(i3cdev_to_dev(i3c), "IBI with missing MDB"); in mctp_i3c_ibi_handler()
210 i3c_device_get_info(mi->i3c, &info); in mctp_i3c_setup()
217 rc = i3c_device_request_ibi(mi->i3c, &ibi); in mctp_i3c_setup()
223 dev_warn(i3cdev_to_dev(mi->i3c), in mctp_i3c_setup()
227 dev_err(i3cdev_to_dev(mi->i3c), in mctp_i3c_setup()
232 rc = i3c_device_enable_ibi(mi->i3c); in mctp_i3c_setup()
[all …]
DMakefile3 obj-$(CONFIG_MCTP_TRANSPORT_I3C) += mctp-i3c.o
/linux-6.12.1/drivers/i3c/
DMakefile2 i3c-y := device.o master.o
3 obj-$(CONFIG_I3C) += i3c.o
DKconfig20 will be called i3c.
23 source "drivers/i3c/master/Kconfig"
Dmaster.c250 struct i3c_device *i3c = dev_to_i3cdev(dev); in modalias_show() local
254 i3c_device_get_info(i3c, &devinfo); in modalias_show()
432 INIT_LIST_HEAD(&i3cbus->devs.i3c); in i3c_bus_init()
540 ret = sprintf(buf, "%ld\n", i3cbus->scl_rate.i3c); in i3c_scl_frequency_show()
667 WARN_ON(!list_empty(&bus->devs.i2c) || !list_empty(&bus->devs.i3c)); in i3c_masterdev_release()
686 if (!i3cbus->scl_rate.i3c) in i3c_bus_set_mode()
687 i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE; in i3c_bus_set_mode()
691 if (!i3cbus->scl_rate.i3c) in i3c_bus_set_mode()
692 i3cbus->scl_rate.i3c = I3C_BUS_TYP_I3C_SCL_RATE; in i3c_bus_set_mode()
699 if (!i3cbus->scl_rate.i3c || in i3c_bus_set_mode()
[all …]
/linux-6.12.1/Documentation/driver-api/i3c/
Ddevice-driver-api.rst7 .. kernel-doc:: include/linux/i3c/device.h
9 .. kernel-doc:: drivers/i3c/device.c
Dmaster-driver-api.rst7 .. kernel-doc:: drivers/i3c/master.c
9 .. kernel-doc:: include/linux/i3c/master.h
/linux-6.12.1/drivers/i3c/master/mipi-i3c-hci/
DMakefile3 obj-$(CONFIG_MIPI_I3C_HCI) += mipi-i3c-hci.o
4 mipi-i3c-hci-y := core.o ext_caps.o pio.o dma.o \
Dcmd_v2.c70 if (bus->scl_rate.i3c >= 12000000) in get_i3c_rate_idx()
72 if (bus->scl_rate.i3c > 8000000) in get_i3c_rate_idx()
74 if (bus->scl_rate.i3c > 6000000) in get_i3c_rate_idx()
76 if (bus->scl_rate.i3c > 4000000) in get_i3c_rate_idx()
78 if (bus->scl_rate.i3c > 2000000) in get_i3c_rate_idx()
Dcmd_v1.c126 if (bus->scl_rate.i3c > 8000000) in get_i3c_mode()
128 if (bus->scl_rate.i3c > 6000000) in get_i3c_mode()
130 if (bus->scl_rate.i3c > 4000000) in get_i3c_mode()
132 if (bus->scl_rate.i3c > 2000000) in get_i3c_mode()
/linux-6.12.1/include/linux/i3c/
Dmaster.h360 unsigned long i3c; member
364 struct list_head i3c; member
521 struct list_head i3c; member
548 list_for_each_entry(dev, &(bus)->devs.i3c, common.node)
/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_i3c.c23 MODULE_DEVICE_TABLE(i3c, st_lsm6dsx_i3c_ids);
/linux-6.12.1/arch/arm64/boot/dts/intel/
Dsocfpga_agilex5.dtsi205 i3c0: i3c@10da0000 {
206 compatible = "snps,dw-i3c-master-1.00a";
215 i3c1: i3c@10da1000 {
216 compatible = "snps,dw-i3c-master-1.00a";
/linux-6.12.1/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-harma.dts644 "","i3c-cpu-mux0-oe-n",
645 "","i3c-cpu-mux0-select",
647 "","i3c-cpu-mux1-oe-n",
648 "","i3c-cpu-mux1-select",
/linux-6.12.1/Documentation/translations/zh_CN/driver-api/
Dindex.rst57 * i3c/index
/linux-6.12.1/Documentation/driver-api/
Dindex.rst61 i3c/index
/linux-6.12.1/drivers/
DMakefile116 obj-y += i2c/ i3c/ media/
/linux-6.12.1/include/linux/
Dregmap.h715 struct regmap *__devm_regmap_init_i3c(struct i3c_device *i3c,
1177 #define devm_regmap_init_i3c(i3c, config) \ argument
1179 i3c, config)

12