Home
last modified time | relevance | path

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 Dboard-type-checker-fpb5 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 Dbletchley-host-state-monitor45 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 Di2c_core.c109 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 Dcubieboard.c82 i2c = I2C_BUS(qdev_get_child_bus(DEVICE(&a10->i2c0), "i2c")); in cubieboard_init()
H A Dbananapi_m2u.c115 i2c = I2C_BUS(qdev_get_child_bus(DEVICE(&r40->i2c0), "i2c")); in bpim2u_init()
H A Dnpcm7xx_boards.c136 return I2C_BUS(qdev_get_child_bus(DEVICE(&soc->smbus[num]), "i2c-bus")); in npcm7xx_i2c_get_bus()
/openbmc/qemu/hw/misc/
H A Di2c-echo.c136 state->bus = I2C_BUS(bus); in i2c_echo_realize()
/openbmc/qemu/include/hw/i2c/
H A Di2c.h67 OBJECT_DECLARE_SIMPLE_TYPE(I2CBus, I2C_BUS)
/openbmc/qemu/hw/display/
H A Dsii9022.c166 bus = I2C_BUS(qdev_get_parent_bus(dev)); in sii9022_realize()
/openbmc/qemu/hw/i2c/
H A Dcore.c64 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 Damigaone.c127 i2c_bus = I2C_BUS(qdev_get_child_bus(dev, "smbus")); in amigaone_init()
H A Dpegasos2.c205 i2c_bus = I2C_BUS(qdev_get_child_bus(DEVICE(dev), "i2c")); in pegasos2_init()
/openbmc/qemu/hw/mips/
H A Dfuloong2e.c308 smbus = I2C_BUS(qdev_get_child_bus(dev, "i2c")); in mips_fuloong2e_init()
H A Dmalta.c1252 smbus = I2C_BUS(qdev_get_child_bus(dev, "i2c")); in mips_malta_init()
/openbmc/u-boot/include/
H A Di2c.h663 #define I2C_BUS gd->cur_i2c_bus macro
/openbmc/qemu/hw/i386/
H A Dpc_q35.c313 pcms->smbus = I2C_BUS(qdev_get_child_bus(DEVICE(smb), "i2c")); in pc_q35_init()
H A Dpc_piix.c345 pcms->smbus = I2C_BUS(qdev_get_child_bus(DEVICE(piix4_pm), "i2c")); in pc_init1()