Lines Matching refs:devnr
706 int devnr, i; in ad5755_parse_fw() local
748 devnr = 0; in ad5755_parse_fw()
750 if (devnr >= AD5755_NUM_CHANNELS) { in ad5755_parse_fw()
756 pdata->dac[devnr].mode = AD5755_MODE_CURRENT_4mA_20mA; in ad5755_parse_fw()
757 fwnode_property_read_u32(pp, "adi,mode", &pdata->dac[devnr].mode); in ad5755_parse_fw()
759 pdata->dac[devnr].ext_current_sense_resistor = in ad5755_parse_fw()
762 pdata->dac[devnr].enable_voltage_overrange = in ad5755_parse_fw()
766 pdata->dac[devnr].slew.enable = tmparray[0]; in ad5755_parse_fw()
768 pdata->dac[devnr].slew.rate = AD5755_SLEW_RATE_64k; in ad5755_parse_fw()
771 pdata->dac[devnr].slew.rate = in ad5755_parse_fw()
779 devnr); in ad5755_parse_fw()
781 pdata->dac[devnr].slew.step_size = AD5755_SLEW_STEP_SIZE_1; in ad5755_parse_fw()
784 pdata->dac[devnr].slew.step_size = in ad5755_parse_fw()
792 devnr); in ad5755_parse_fw()
794 pdata->dac[devnr].slew.enable = false; in ad5755_parse_fw()
795 pdata->dac[devnr].slew.rate = AD5755_SLEW_RATE_64k; in ad5755_parse_fw()
796 pdata->dac[devnr].slew.step_size = in ad5755_parse_fw()
799 devnr++; in ad5755_parse_fw()