Lines Matching full:gp
22 gpio_direction_input(p->sda.gp); in force_idle_bus()
23 gpio_direction_input(p->scl.gp); in force_idle_bus()
28 sda = gpio_get_value(p->sda.gp); in force_idle_bus()
29 scl = gpio_get_value(p->scl.gp); in force_idle_bus()
33 printf("%s: sda=%d scl=%d sda.gp=0x%x scl.gp=0x%x\n", __func__, in force_idle_bus()
34 sda, scl, p->sda.gp, p->scl.gp); in force_idle_bus()
37 gpio_direction_output(p->scl.gp, 0); in force_idle_bus()
39 gpio_direction_input(p->scl.gp); in force_idle_bus()
44 sda = gpio_get_value(p->sda.gp); in force_idle_bus()
45 scl = gpio_get_value(p->scl.gp); in force_idle_bus()
85 ret = gpio_request(p->sda.gp, name); in setup_i2c()
90 ret = gpio_request(p->scl.gp, name); in setup_i2c()
112 gpio_free(p->scl.gp); in setup_i2c()
114 gpio_free(p->sda.gp); in setup_i2c()