Lines Matching defs:fsi_master_gpio
23 struct fsi_master_gpio {
40 #include <trace/events/fsi_master_gpio.h>
42 #define to_fsi_master_gpio(m) container_of(m, struct fsi_master_gpio, master)
49 static void clock_toggle(struct fsi_master_gpio *master, int count)
63 static int sda_clock_in(struct fsi_master_gpio *master)
82 static void sda_out(struct fsi_master_gpio *master, int value)
87 static void set_sda_input(struct fsi_master_gpio *master)
93 static void set_sda_output(struct fsi_master_gpio *master, int value)
99 static void clock_zeros(struct fsi_master_gpio *master, int count)
106 static void echo_delay(struct fsi_master_gpio *master)
112 static void serial_in(struct fsi_master_gpio *master, struct fsi_gpio_msg *msg,
129 static void serial_out(struct fsi_master_gpio *master,
185 static bool check_same_address(struct fsi_master_gpio *master, int id,
192 static bool check_relative_address(struct fsi_master_gpio *master, int id,
222 static void last_address_update(struct fsi_master_gpio *master,
234 static void build_ar_command(struct fsi_master_gpio *master,
334 static int read_one_response(struct fsi_master_gpio *master,
397 static int issue_term(struct fsi_master_gpio *master, uint8_t slave)
424 static int poll_for_response(struct fsi_master_gpio *master,
523 static int send_request(struct fsi_master_gpio *master,
539 static int fsi_master_gpio_xfer(struct fsi_master_gpio *master, uint8_t slave,
564 struct fsi_master_gpio *master = to_fsi_master_gpio(_master);
583 struct fsi_master_gpio *master = to_fsi_master_gpio(_master);
602 struct fsi_master_gpio *master = to_fsi_master_gpio(_master);
620 struct fsi_master_gpio *master = to_fsi_master_gpio(_master);
656 static void fsi_master_gpio_init(struct fsi_master_gpio *master)
672 static void fsi_master_gpio_init_external(struct fsi_master_gpio *master)
684 struct fsi_master_gpio *master = to_fsi_master_gpio(_master);
703 struct fsi_master_gpio *master = to_fsi_master_gpio(_master);
719 struct fsi_master_gpio *master = dev_get_drvdata(dev);
728 struct fsi_master_gpio *master = dev_get_drvdata(dev);
764 struct fsi_master_gpio *master = to_fsi_master_gpio(to_fsi_master(dev));
773 struct fsi_master_gpio *master;
872 struct fsi_master_gpio *master = platform_get_drvdata(pdev);