Lines Matching refs:brcmstb_i2c_dev
154 struct brcmstb_i2c_dev { struct
180 static inline int brcmstb_i2c_get_xfersz(struct brcmstb_i2c_dev *dev) in brcmstb_i2c_get_xfersz() argument
185 static inline int brcmstb_i2c_get_data_regsz(struct brcmstb_i2c_dev *dev) in brcmstb_i2c_get_data_regsz()
190 static void brcmstb_i2c_enable_disable_irq(struct brcmstb_i2c_dev *dev, in brcmstb_i2c_enable_disable_irq()
207 struct brcmstb_i2c_dev *dev = devid; in brcmstb_i2c_isr()
225 static int brcmstb_i2c_wait_if_busy(struct brcmstb_i2c_dev *dev) in brcmstb_i2c_wait_if_busy()
238 static int brcmstb_i2c_wait_for_completion(struct brcmstb_i2c_dev *dev) in brcmstb_i2c_wait_for_completion()
269 static void brcmstb_set_i2c_start_stop(struct brcmstb_i2c_dev *dev, in brcmstb_set_i2c_start_stop()
278 static int brcmstb_send_i2c_cmd(struct brcmstb_i2c_dev *dev, in brcmstb_send_i2c_cmd()
323 static int brcmstb_i2c_xfer_bsc_data(struct brcmstb_i2c_dev *dev, in brcmstb_i2c_xfer_bsc_data()
397 static int brcmstb_i2c_write_data_byte(struct brcmstb_i2c_dev *dev, in brcmstb_i2c_write_data_byte()
409 static int brcmstb_i2c_do_addr(struct brcmstb_i2c_dev *dev, in brcmstb_i2c_do_addr()
447 struct brcmstb_i2c_dev *dev = i2c_get_adapdata(adapter); in brcmstb_i2c_xfer()
534 static void brcmstb_i2c_set_bus_speed(struct brcmstb_i2c_dev *dev) in brcmstb_i2c_set_bus_speed()
559 static void brcmstb_i2c_set_bsc_reg_defaults(struct brcmstb_i2c_dev *dev) in brcmstb_i2c_set_bsc_reg_defaults()
575 static int bcm2711_release_bsc(struct brcmstb_i2c_dev *dev) in bcm2711_release_bsc()
597 struct brcmstb_i2c_dev *dev; in brcmstb_i2c_probe()
688 struct brcmstb_i2c_dev *dev = platform_get_drvdata(pdev); in brcmstb_i2c_remove()
695 struct brcmstb_i2c_dev *i2c_dev = dev_get_drvdata(dev); in brcmstb_i2c_suspend()
703 struct brcmstb_i2c_dev *i2c_dev = dev_get_drvdata(dev); in brcmstb_i2c_resume()