Lines Matching full:burnout
656 * num_channels = single_ended_input + differential_input + temperature + burnout
662 * num_channels = P^R(Number_of_single_ended_channels, 2) + 2 (temperature + burnout channels)
887 enum mcp3564_burnout burnout; in mcp3564_write_raw() local
895 for (burnout = 0; burnout < MCP3564_MAX_BURNOUT_IDX; burnout++) in mcp3564_write_raw()
896 if (val == mcp3564_burnout_avail[burnout][0] && in mcp3564_write_raw()
897 val2 == mcp3564_burnout_avail[burnout][1]) in mcp3564_write_raw()
900 if (burnout == MCP3564_MAX_BURNOUT_IDX) in mcp3564_write_raw()
903 if (burnout == adc->burnout_mode) in mcp3564_write_raw()
909 FIELD_PREP(MCP3564_CONFIG0_CS_SEL_MASK, burnout)); in mcp3564_write_raw()
912 dev_err(&indio_dev->dev, "Failed to configure burnout current\n"); in mcp3564_write_raw()
914 adc->burnout_mode = burnout; in mcp3564_write_raw()
1013 /* Reserve space for burnout and temperature channel */ in mcp3564_parse_fw_children()
1066 /* Add burnout current channel */ in mcp3564_parse_fw_children()