Lines Matching refs:prog_val
179 u32 prog_val, num_entry, entry, sources[ARCXCNN_LEDEN_BITS]; in arcxcnn_parse_dt() local
190 ret = of_property_read_u32(node, "default-brightness", &prog_val); in arcxcnn_parse_dt()
192 lp->pdata->initial_brightness = prog_val; in arcxcnn_parse_dt()
194 ret = of_property_read_u32(node, "arc,led-config-0", &prog_val); in arcxcnn_parse_dt()
196 lp->pdata->led_config_0 = (u8)prog_val; in arcxcnn_parse_dt()
198 ret = of_property_read_u32(node, "arc,led-config-1", &prog_val); in arcxcnn_parse_dt()
200 lp->pdata->led_config_1 = (u8)prog_val; in arcxcnn_parse_dt()
202 ret = of_property_read_u32(node, "arc,dim-freq", &prog_val); in arcxcnn_parse_dt()
204 lp->pdata->dim_freq = (u8)prog_val; in arcxcnn_parse_dt()
206 ret = of_property_read_u32(node, "arc,comp-config", &prog_val); in arcxcnn_parse_dt()
208 lp->pdata->comp_config = (u8)prog_val; in arcxcnn_parse_dt()
210 ret = of_property_read_u32(node, "arc,filter-config", &prog_val); in arcxcnn_parse_dt()
212 lp->pdata->filter_config = (u8)prog_val; in arcxcnn_parse_dt()
214 ret = of_property_read_u32(node, "arc,trim-config", &prog_val); in arcxcnn_parse_dt()
216 lp->pdata->trim_config = (u8)prog_val; in arcxcnn_parse_dt()