Lines Matching refs:chip_info
769 struct pxa2xx_spi_chip *chip_info =
803 if (chip_info)
804 req_burst_size = chip_info->dma_burst_size;
1189 struct pxa2xx_spi_chip *chip_info)
1193 if (chip == NULL || chip_info == NULL)
1197 * different chip_info, release previously requested GPIO
1203 if (chip_info->cs_control) {
1204 chip->cs_control = chip_info->cs_control;
1208 if (gpio_is_valid(chip_info->gpio_cs)) {
1209 err = gpio_request(chip_info->gpio_cs, "SPI_CS");
1212 "GPIO%d\n", chip_info->gpio_cs);
1216 chip->gpio_cs = chip_info->gpio_cs;
1228 struct pxa2xx_spi_chip *chip_info = NULL;
1270 * if chip_info exists, use it */
1271 chip_info = spi->controller_data;
1273 /* chip_info isn't always needed */
1275 if (chip_info) {
1276 if (chip_info->timeout)
1277 chip->timeout = chip_info->timeout;
1278 if (chip_info->tx_threshold)
1279 tx_thres = chip_info->tx_threshold;
1280 if (chip_info->rx_threshold)
1281 rx_thres = chip_info->rx_threshold;
1284 if (chip_info->enable_loopback)
1291 /* set dma burst and threshold outside of chip_info path so that if
1292 * chip_info goes away after setting chip->enable_dma, the
1353 return setup_cs(spi, chip, chip_info);