Lines Matching refs:cs_pin
35 gpio_pin_e cs_pin[CHIP_SELECT_COUNT]; member
55 pin = config->cs_pin[i]; in spi_b91_hw_cs_disable()
74 pspi_csn_pin_def_e cs_pin = 0; in spi_b91_config_cs() local
95 cs_pin = b91_config->cs_pin[cs_id]; in spi_b91_config_cs()
98 if ((cs_pin == 0) && (cs_id == config->slave)) { in spi_b91_config_cs()
104 if ((cs_pin != 0) && (cs_id != config->slave)) { in spi_b91_config_cs()
106 pspi_cs_pin_dis(cs_pin); in spi_b91_config_cs()
108 hspi_cs_pin_dis(cs_pin); in spi_b91_config_cs()
113 if ((cs_pin != 0) && (cs_id == config->slave)) { in spi_b91_config_cs()
115 pspi_set_pin_mux(cs_pin); in spi_b91_config_cs()
116 pspi_cs_pin_en(cs_pin); in spi_b91_config_cs()
118 hspi_set_pin_mux(cs_pin); in spi_b91_config_cs()
119 hspi_cs_pin_en(cs_pin); in spi_b91_config_cs()
480 .cs_pin[0] = DT_INST_STRING_TOKEN(inst, cs0_pin), \
481 .cs_pin[1] = DT_INST_STRING_TOKEN(inst, cs1_pin), \
482 .cs_pin[2] = DT_INST_STRING_TOKEN(inst, cs2_pin), \