Searched refs:pmac_i2c_bus (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/arch/powerpc/include/asm/ |
D | pmac_low_i2c.h | 44 struct pmac_i2c_bus; 55 extern struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node); 64 extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus); 65 extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus); 66 extern int pmac_i2c_get_type(struct pmac_i2c_bus *bus); 67 extern int pmac_i2c_get_flags(struct pmac_i2c_bus *bus); 68 extern int pmac_i2c_get_channel(struct pmac_i2c_bus *bus); 71 extern struct i2c_adapter *pmac_i2c_get_adapter(struct pmac_i2c_bus *bus); 72 extern struct pmac_i2c_bus *pmac_i2c_adapter_to_bus(struct i2c_adapter *adapter); 87 extern int pmac_i2c_open(struct pmac_i2c_bus *bus, int polled); [all …]
|
/linux-6.6.21/arch/powerpc/platforms/powermac/ |
D | low_i2c.c | 74 struct pmac_i2c_bus struct 92 int (*open)(struct pmac_i2c_bus *bus); argument 93 void (*close)(struct pmac_i2c_bus *bus); argument 94 int (*xfer)(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, argument 383 static int kw_i2c_open(struct pmac_i2c_bus *bus) in kw_i2c_open() 390 static void kw_i2c_close(struct pmac_i2c_bus *bus) in kw_i2c_close() 396 static int kw_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in kw_i2c_xfer() 569 struct pmac_i2c_bus *bus; in kw_i2c_add() 571 bus = kzalloc(sizeof(struct pmac_i2c_bus), GFP_KERNEL); in kw_i2c_add() 673 static int pmu_i2c_xfer(struct pmac_i2c_bus *bus, u8 addrdir, int subsize, in pmu_i2c_xfer() [all …]
|
D | smp.c | 500 static struct pmac_i2c_bus *pmac_tb_clock_chip_host;
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-powermac.c | 36 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_smbus_xfer() 138 struct pmac_i2c_bus *bus = i2c_get_adapdata(adap); in i2c_powermac_master_xfer() 200 struct pmac_i2c_bus *bus, in i2c_powermac_get_addr() 244 struct pmac_i2c_bus *bus, in i2c_powermac_add_missing() 307 struct pmac_i2c_bus *bus) in i2c_powermac_register_devices() 374 struct pmac_i2c_bus *bus = dev_get_platdata(&dev->dev); in i2c_powermac_probe()
|