Lines Matching full:slew
139 * @dac.slew.enable: Whether to enable digital slew.
140 * @dac.slew.rate: Slew rate of the digital slew.
141 * @dac.slew.step_size: Slew step size of the digital slew.
157 } slew; member
609 val = pdata->dac[i].slew.step_size << in ad5755_setup_pdata()
611 val |= pdata->dac[i].slew.rate << in ad5755_setup_pdata()
613 if (pdata->dac[i].slew.enable) in ad5755_setup_pdata()
680 .slew = { \
765 if (!fwnode_property_read_u32_array(pp, "adi,slew", tmparray, 3)) { 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()
778 "channel %d slew rate out of range selecting 64kHz\n", 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()
791 "channel %d slew step size out of range selecting 1 LSB\n", 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()