Lines Matching defs:gpio
42 int gpio;
54 gpio = getgpiopin(vars, "adm_eecs", 2);
55 ET_ERROR(("adm_attach: got %d as adm_eecs", gpio));
56 if (gpio == GPIO_PIN_NOTDEFINED) {
57 ET_ERROR(("adm_attach: adm_eecs gpio fail: GPIO 2 in use"));
60 adm->eecs = 1 << gpio;
62 gpio = getgpiopin(vars, "adm_eesk", 3);
63 ET_ERROR(("adm_attach: got %d as adm_eesk", gpio));
64 if (gpio == GPIO_PIN_NOTDEFINED) {
65 ET_ERROR(("adm_attach: adm_eesk gpio fail: GPIO 3 in use"));
68 adm->eesk = 1 << gpio;
70 gpio = getgpiopin(vars, "adm_eedi", 4);
71 ET_ERROR(("adm_attach: got %d as adm_eedi", gpio));
72 if (gpio == GPIO_PIN_NOTDEFINED) {
73 ET_ERROR(("adm_attach: adm_eedi gpio fail: GPIO 4 in use"));
76 adm->eedi = 1 << gpio;