Searched refs:i2c (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.0-release/usr.sbin/i2c/
H A DMakefile3 PROG= i2c
4 MAN= i2c.8
/freebsd-10.0-release/sys/dev/drm2/radeon/
H A Dradeon_i2c.c92 /* bit banging i2c */
96 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
97 struct radeon_device *rdev = i2c->dev->dev_private;
98 struct radeon_i2c_bus_rec *rec = &i2c->rec;
101 /* RV410 appears to have a bug where the hw i2c in reset
102 * holds the i2c port in a bad state - switch hw i2c away before
164 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
165 struct radeon_device *rdev = i2c->dev->dev_private;
166 struct radeon_i2c_bus_rec *rec = &i2c
181 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
196 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
210 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
223 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
244 struct radeon_i2c_chan *i2c; local
402 r100_hw_i2c_xfer(struct radeon_i2c_chan *i2c, struct iic_msg *msgs, int num) argument
654 r500_hw_i2c_xfer(struct radeon_i2c_chan *i2c, struct iic_msg *msgs, int num) argument
889 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
973 struct radeon_i2c_chan *i2c; local
1037 struct radeon_i2c_chan *i2c; local
1173 struct radeon_i2c_chan *i2c; local
1200 radeon_i2c_destroy(struct radeon_i2c_chan *i2c) argument
[all...]
H A Datombios_i2c.c62 DRM_ERROR("hw i2c: tried to write too many bytes (%d vs 2)\n", num);
92 struct radeon_i2c_chan *i2c = device_get_softc(dev); local
100 ret = radeon_process_i2c_ch(i2c,
126 ret = radeon_process_i2c_ch(i2c,
149 struct radeon_i2c_chan *i2c; local
152 i2c = device_get_softc(dev);
153 device_set_desc(dev, i2c->name);
H A Dradeon_combios.c483 struct radeon_i2c_bus_rec i2c; local
556 i2c.mask_clk_reg = RADEON_GPIOPAD_MASK;
557 i2c.mask_data_reg = RADEON_GPIOPAD_MASK;
558 i2c.a_clk_reg = RADEON_GPIOPAD_A;
559 i2c.a_data_reg = RADEON_GPIOPAD_A;
560 i2c.en_clk_reg = RADEON_GPIOPAD_EN;
561 i2c.en_data_reg = RADEON_GPIOPAD_EN;
562 i2c.y_clk_reg = RADEON_GPIOPAD_Y;
563 i2c.y_data_reg = RADEON_GPIOPAD_Y;
565 i2c
709 struct radeon_i2c_bus_rec i2c; local
737 struct radeon_i2c_bus_rec i2c; local
[all...]
H A Dradeon_atombios.c88 struct radeon_i2c_bus_rec i2c; local
90 memset(&i2c, 0, sizeof(struct radeon_i2c_bus_rec));
92 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4;
93 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4;
94 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4;
95 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4;
96 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4;
97 i2c.y_data_reg = le16_to_cpu(gpio->usDataY_RegisterIndex) * 4;
98 i2c.a_clk_reg = le16_to_cpu(gpio->usClkA_RegisterIndex) * 4;
99 i2c
134 struct radeon_i2c_bus_rec i2c; local
168 struct radeon_i2c_bus_rec i2c; local
[all...]
/freebsd-10.0-release/sys/boot/fdt/dts/
H A Dbeaglebone-black.dts53 "I2C0_SDA", "I2C0_SDA","i2c",
54 "I2C0_SCL", "I2C0_SCL","i2c",
141 i2c@44e0b000 {
H A Dbeaglebone.dts52 "I2C0_SDA", "I2C0_SDA","i2c",
53 "I2C0_SCL", "I2C0_SCL","i2c",
133 i2c@44e0b000 {
H A Ddigi-ccwmx53.dts98 i2c@63fc4000 {
101 i2c@63fc8000 {
H A Defikamx.dts97 i2c@83fc4000 {
100 i2c@83fc8000 {
H A Dpandaboard.dts156 I2C1: i2c@x48070000 {
157 compatible = "ti,i2c";
161 i2c-device-id = <1>;
H A Dam335x.dtsi202 i2c0: i2c@44e0b000 {
205 compatible = "ti,i2c";
209 i2c-device-id = <0>;
H A Dimx51x.dtsi454 i2c@83fc4000 {
457 compatible = "fsl,imx51-i2c", "fsl,imx1-i2c", "fsl,imx-i2c";
464 i2c@83fc8000 {
467 compatible = "fsl,imx51-i2c", "fsl,imx1-i2c", "fsl,imx-i2c";
H A Dimx53x.dtsi546 i2c@63fc4000 {
549 compatible = "fsl,imx53-i2c", "fsl,imx1-i2c", "fsl,imx-i2c";
557 i2c@63fc8000 {
560 compatible = "fsl,imx53-i2c", "fsl,imx1-i2c", "fsl,imx-i2c";
H A Dp1020rdb.dts220 i2c@3000 {
224 compatible = "fsl-i2c";
235 i2c@3100 {
239 compatible = "fsl-i2c";
H A Dp2041rdb.dts216 i2c@118000 {
231 i2c@118100 {
H A Dp3041ds.dts217 i2c@118100 {
228 i2c@119100 {
H A Dp5020ds.dts213 i2c@118100 {
224 i2c@119100 {
H A Dp2041si.dtsi689 i2c@118000 {
693 compatible = "fsl-i2c";
699 i2c@118100 {
703 compatible = "fsl-i2c";
709 i2c@119000 {
713 compatible = "fsl-i2c";
719 i2c@119100 {
723 compatible = "fsl-i2c";
H A Dp3041si.dtsi690 i2c@118000 {
694 compatible = "fsl-i2c";
700 i2c@118100 {
704 compatible = "fsl-i2c";
710 i2c@119000 {
714 compatible = "fsl-i2c";
720 i2c@119100 {
724 compatible = "fsl-i2c";
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-twsi.c55 #include <linux/i2c.h>
92 struct octeon_i2c *i2c; local
97 i2c = container_of(adapter, struct octeon_i2c, adap);
98 return &i2c[twsi_id].adap;
/freebsd-10.0-release/sys/modules/
H A DMakefile503 _i2c= i2c
686 _i2c= i2c
857 _i2c= i2c
/freebsd-10.0-release/sys/arm/freescale/imx/
H A Di2c.c136 DRIVER_MODULE(i2c, simplebus, i2c_driver, i2c_devclass, 0, 0);
137 DRIVER_MODULE(iicbus, i2c, iicbus_driver, iicbus_devclass, 0, 0);
227 if (!ofw_bus_is_compatible(dev, "fsl,imx-i2c"))
/freebsd-10.0-release/sys/powerpc/mpc85xx/
H A Di2c.c118 "i2c",
124 DRIVER_MODULE(i2c, simplebus, i2c_driver, i2c_devclass, 0, 0);
125 DRIVER_MODULE(iicbus, i2c, iicbus_driver, iicbus_devclass, 0, 0);
190 if (!ofw_bus_is_compatible(dev, "fsl-i2c"))
/freebsd-10.0-release/usr.sbin/
H A DMakefile35 i2c \
/freebsd-10.0-release/sys/dev/drm2/i915/
H A Dintel_sdvo.c74 device_t i2c; member in struct:intel_sdvo
283 if ((ret = iicbus_transfer(intel_sdvo->i2c, msgs, 2)) == 0)
286 DRM_DEBUG_KMS("i2c transfer returned %d\n", ret);
483 ret = iicbus_transfer(intel_sdvo->i2c, msgs, i+3);
569 /* This must be the immediately preceding write before the i2c xfer */
1563 intel_ddc_get_modes(connector, intel_sdvo->i2c);
1947 sdvo->i2c = dev_priv->gmbus[pin];
1948 intel_gmbus_set_speed(sdvo->i2c, GMBUS_RATE_1MHZ);
1949 intel_gmbus_force_bit(sdvo->i2c, true);
1951 sdvo->i2c
[all...]

Completed in 1140 milliseconds

12