Searched refs:I2C_BUS (Results 1 – 17 of 17) sorted by relevance
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/board-type-checker/files/ |
H A D | board-type-checker-fpb | 5 local I2C_BUS=$1 8 MFR_ID=$(i2ctransfer -y -f "${I2C_BUS}" w1@"${DEV_ADDR}" 0xfe r2) 13 DEV_ID=$(i2ctransfer -y -f "${I2C_BUS}" w1@"${DEV_ADDR}" 0xff r2) 26 I2C_BUS=10 34 if is_valid_hdc1080 "$I2C_BUS" "$DEV_ADDR"; then
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/plat-svc/files/ |
H A D | bletchley-host-state-monitor | 45 local I2C_BUS 51 I2C_BUS=$((HOST_ID-1)) 52 P1_OUTPUT_REG=$(i2cget -f -y "$I2C_BUS" 0x76 0x03) 53 P1_CONFIG_REG=$(i2cget -f -y "$I2C_BUS" 0x76 0x07)
|
/openbmc/u-boot/drivers/i2c/ |
H A D | i2c_core.c | 109 struct i2c_bus_hose *i2c_bus_tmp = &i2c_bus[I2C_BUS]; in i2c_mux_set_all() 134 struct i2c_bus_hose *i2c_bus_tmp = &i2c_bus[I2C_BUS]; in i2c_mux_disconnect_all() 240 if ((bus == I2C_BUS) && (I2C_ADAP->init_done > 0)) in i2c_set_bus_num()
|
/openbmc/qemu/hw/arm/ |
H A D | cubieboard.c | 82 i2c = I2C_BUS(qdev_get_child_bus(DEVICE(&a10->i2c0), "i2c")); in cubieboard_init()
|
H A D | bananapi_m2u.c | 115 i2c = I2C_BUS(qdev_get_child_bus(DEVICE(&r40->i2c0), "i2c")); in bpim2u_init()
|
H A D | npcm7xx_boards.c | 136 return I2C_BUS(qdev_get_child_bus(DEVICE(&soc->smbus[num]), "i2c-bus")); in npcm7xx_i2c_get_bus()
|
/openbmc/qemu/hw/misc/ |
H A D | i2c-echo.c | 136 state->bus = I2C_BUS(bus); in i2c_echo_realize()
|
/openbmc/qemu/include/hw/i2c/ |
H A D | i2c.h | 67 OBJECT_DECLARE_SIMPLE_TYPE(I2CBus, I2C_BUS)
|
/openbmc/qemu/hw/display/ |
H A D | sii9022.c | 166 bus = I2C_BUS(qdev_get_parent_bus(dev)); in sii9022_realize()
|
/openbmc/qemu/hw/i2c/ |
H A D | core.c | 64 bus = I2C_BUS(qbus_new(TYPE_I2C_BUS, parent, name)); in i2c_init_bus() 347 bus = I2C_BUS(qdev_get_parent_bus(DEVICE(dev))); in i2c_slave_post_load()
|
/openbmc/qemu/hw/ppc/ |
H A D | amigaone.c | 127 i2c_bus = I2C_BUS(qdev_get_child_bus(dev, "smbus")); in amigaone_init()
|
H A D | pegasos2.c | 205 i2c_bus = I2C_BUS(qdev_get_child_bus(DEVICE(dev), "i2c")); in pegasos2_init()
|
/openbmc/qemu/hw/mips/ |
H A D | fuloong2e.c | 308 smbus = I2C_BUS(qdev_get_child_bus(dev, "i2c")); in mips_fuloong2e_init()
|
H A D | malta.c | 1252 smbus = I2C_BUS(qdev_get_child_bus(dev, "i2c")); in mips_malta_init()
|
/openbmc/u-boot/include/ |
H A D | i2c.h | 663 #define I2C_BUS gd->cur_i2c_bus macro
|
/openbmc/qemu/hw/i386/ |
H A D | pc_q35.c | 313 pcms->smbus = I2C_BUS(qdev_get_child_bus(DEVICE(smb), "i2c")); in pc_q35_init()
|
H A D | pc_piix.c | 345 pcms->smbus = I2C_BUS(qdev_get_child_bus(DEVICE(piix4_pm), "i2c")); in pc_init1()
|