Home
last modified time | relevance | path

Searched refs:pmac_i2c_bus (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/powerpc/include/asm/
Dpmac_low_i2c.h44 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.1.9/arch/powerpc/platforms/powermac/
Dlow_i2c.c74 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 …]
Dsmp.c500 static struct pmac_i2c_bus *pmac_tb_clock_chip_host;
/linux-6.1.9/drivers/i2c/busses/
Di2c-powermac.c36 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()
202 struct pmac_i2c_bus *bus, in i2c_powermac_get_addr()
246 struct pmac_i2c_bus *bus, in i2c_powermac_add_missing()
309 struct pmac_i2c_bus *bus) in i2c_powermac_register_devices()
376 struct pmac_i2c_bus *bus = dev_get_platdata(&dev->dev); in i2c_powermac_probe()