Lines Matching refs:feat
92 unsigned feat; member
135 if (dpot->feat & F_RDACS_WONLY) in dpot_read_spi()
168 if (dpot->feat & F_SPI_16BIT) in dpot_read_spi()
170 else if (dpot->feat & F_SPI_24BIT) in dpot_read_spi()
233 if (dpot->feat & F_SPI) in dpot_read()
244 if (dpot->feat & F_RDACS_WONLY) in dpot_write_spi()
247 if (dpot->feat & F_AD_APPDATA) { in dpot_write_spi()
248 if (dpot->feat & F_SPI_8BIT) { in dpot_write_spi()
253 } else if (dpot->feat & F_SPI_16BIT) { in dpot_write_spi()
320 if (dpot->feat & F_SPI_16BIT) in dpot_write_spi()
322 else if (dpot->feat & F_SPI_24BIT) in dpot_write_spi()
411 if (dpot->feat & F_SPI) in dpot_write()
710 data->feat = DPOT_FEAT(devid); in ad_dpot_probe()
716 err = ad_dpot_add_files(dev, data->feat, i); in ad_dpot_probe()
720 if (data->feat & F_RDACS_WONLY) in ad_dpot_probe()
724 if (data->feat & F_CMD_INC) in ad_dpot_probe()
740 ad_dpot_remove_files(dev, data->feat, i); in ad_dpot_probe()
759 ad_dpot_remove_files(dev, data->feat, i); in ad_dpot_remove()