Lines Matching refs:chip_select_num
117 u8 chip_select_num; member
167 if (likely(chip->chip_select_num < MAX_CTRL_CS)) in bfin_spi_cs_active()
176 if (likely(chip->chip_select_num < MAX_CTRL_CS)) in bfin_spi_cs_deactive()
190 if (chip->chip_select_num < MAX_CTRL_CS) in bfin_spi_cs_enable()
197 if (chip->chip_select_num < MAX_CTRL_CS) in bfin_spi_cs_disable()
1039 chip->chip_select_num = spi->chip_select; in bfin_spi_setup()
1040 if (chip->chip_select_num < MAX_CTRL_CS) { in bfin_spi_setup()
1048 chip->cs_gpio = chip->chip_select_num - MAX_CTRL_CS; in bfin_spi_setup()
1090 if (chip->chip_select_num >= MAX_CTRL_CS) { in bfin_spi_setup()
1109 dev_dbg(&spi->dev, "chip select number is %d\n", chip->chip_select_num); in bfin_spi_setup()
1110 if (chip->chip_select_num < MAX_CTRL_CS) { in bfin_spi_setup()
1112 [chip->chip_select_num-1], spi->modalias); in bfin_spi_setup()
1125 if (chip->chip_select_num >= MAX_CTRL_CS) in bfin_spi_setup()
1129 [chip->chip_select_num - 1]); in bfin_spi_setup()
1156 if (chip->chip_select_num < MAX_CTRL_CS) { in bfin_spi_cleanup()
1158 [chip->chip_select_num-1]); in bfin_spi_cleanup()