Lines Matching refs:cs_pin
35 gpio_pin_e cs_pin[CHIP_SELECT_COUNT]; member
56 pin = config->cs_pin[i]; in spi_b91_hw_cs_disable()
75 pspi_csn_pin_def_e cs_pin = 0; in spi_b91_config_cs() local
96 cs_pin = b91_config->cs_pin[cs_id]; in spi_b91_config_cs()
99 if ((cs_pin == 0) && (cs_id == config->slave)) { in spi_b91_config_cs()
105 if ((cs_pin != 0) && (cs_id != config->slave)) { in spi_b91_config_cs()
107 pspi_cs_pin_dis(cs_pin); in spi_b91_config_cs()
109 hspi_cs_pin_dis(cs_pin); in spi_b91_config_cs()
114 if ((cs_pin != 0) && (cs_id == config->slave)) { in spi_b91_config_cs()
116 pspi_set_pin_mux(cs_pin); in spi_b91_config_cs()
117 pspi_cs_pin_en(cs_pin); in spi_b91_config_cs()
119 hspi_set_pin_mux(cs_pin); in spi_b91_config_cs()
120 hspi_cs_pin_en(cs_pin); in spi_b91_config_cs()
465 .cs_pin[0] = DT_STRING_TOKEN(DT_DRV_INST(inst), cs0_pin), \
466 .cs_pin[1] = DT_STRING_TOKEN(DT_DRV_INST(inst), cs1_pin), \
467 .cs_pin[2] = DT_STRING_TOKEN(DT_DRV_INST(inst), cs2_pin), \