Home
last modified time | relevance | path

Searched refs:fwnode_property_read_u32 (Results 1 – 25 of 110) sorted by relevance

12345

/linux-6.1.9/drivers/soundwire/
Dmipi_disco.c59 fwnode_property_read_u32(link, in sdw_master_read_prop()
104 fwnode_property_read_u32(link, "mipi-sdw-default-frame-rate", in sdw_master_read_prop()
107 fwnode_property_read_u32(link, "mipi-sdw-default-frame-row-size", in sdw_master_read_prop()
110 fwnode_property_read_u32(link, "mipi-sdw-default-frame-col-size", in sdw_master_read_prop()
116 fwnode_property_read_u32(link, "mipi-sdw-command-error-threshold", in sdw_master_read_prop()
129 fwnode_property_read_u32(port, "mipi-sdw-port-max-wordlength", in sdw_slave_read_dp0()
132 fwnode_property_read_u32(port, "mipi-sdw-port-min-wordlength", in sdw_slave_read_dp0()
188 fwnode_property_read_u32(node, "mipi-sdw-port-max-wordlength", in sdw_slave_read_dpn()
190 fwnode_property_read_u32(node, "mipi-sdw-port-min-wordlength", in sdw_slave_read_dpn()
208 fwnode_property_read_u32(node, "mipi-sdw-data-port-type", in sdw_slave_read_dpn()
[all …]
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-fwnode.c198 if (!fwnode_property_read_u32(fwnode, "clock-lanes", &v)) { in v4l2_fwnode_endpoint_parse_csi2_bus()
275 if (!fwnode_property_read_u32(fwnode, "hsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
283 if (!fwnode_property_read_u32(fwnode, "vsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
291 if (!fwnode_property_read_u32(fwnode, "field-even-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
299 if (!fwnode_property_read_u32(fwnode, "pclk-sample", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
307 if (!fwnode_property_read_u32(fwnode, "data-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
324 if (!fwnode_property_read_u32(fwnode, "bus-width", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
329 if (!fwnode_property_read_u32(fwnode, "data-shift", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
334 if (!fwnode_property_read_u32(fwnode, "sync-on-green-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
342 if (!fwnode_property_read_u32(fwnode, "data-enable-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
[all …]
/linux-6.1.9/drivers/input/misc/
Diqs626a.c519 if (!fwnode_property_read_u32(ev_node, "linux,code", in iqs626_parse_events()
523 if (fwnode_property_read_u32(ev_node, in iqs626_parse_events()
545 if (!fwnode_property_read_u32(ev_node, "azoteq,hyst", &val)) { in iqs626_parse_events()
565 !fwnode_property_read_u32(ev_node, "azoteq,thresh", &val)) { in iqs626_parse_events()
646 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-target", &val)) { in iqs626_parse_ati_target()
659 !fwnode_property_read_u32(ch_node, "azoteq,ati-base", &val)) { in iqs626_parse_ati_target()
775 if (!fwnode_property_read_u32(ch_node, "azoteq,lta-update", &val)) { in iqs626_parse_trackpad()
787 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-trackpad", in iqs626_parse_trackpad()
800 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-np-cnt", in iqs626_parse_trackpad()
813 if (!fwnode_property_read_u32(ch_node, "azoteq,filt-str-lp-cnt", in iqs626_parse_trackpad()
[all …]
Diqs269a.c511 error = fwnode_property_read_u32(ch_node, "reg", &reg); in iqs269_parse_chan()
571 if (!fwnode_property_read_u32(ch_node, "azoteq,local-cap-size", &val)) { in iqs269_parse_chan()
596 if (!fwnode_property_read_u32(ch_node, "azoteq,proj-bias", &val)) { in iqs269_parse_chan()
608 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-mode", &val)) { in iqs269_parse_chan()
620 if (!fwnode_property_read_u32(ch_node, "azoteq,sense-freq", &val)) { in iqs269_parse_chan()
639 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-mode", &val)) { in iqs269_parse_chan()
648 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-base", &val)) { in iqs269_parse_chan()
657 if (!fwnode_property_read_u32(ch_node, "azoteq,ati-target", &val)) { in iqs269_parse_chan()
675 if (!fwnode_property_read_u32(ch_node, "azoteq,assoc-weight", &val)) { in iqs269_parse_chan()
692 if (!fwnode_property_read_u32(ev_node, "azoteq,thresh", &val)) { in iqs269_parse_chan()
[all …]
/linux-6.1.9/arch/powerpc/sysdev/
Dmpc5xxx_clocks.c22 ret = fwnode_property_read_u32(fwnode, "bus-frequency", &bus_freq); in mpc5xxx_fwnode_get_bus_frequency()
27 ret = fwnode_property_read_u32(parent, "bus-frequency", &bus_freq); in mpc5xxx_fwnode_get_bus_frequency()
/linux-6.1.9/sound/soc/codecs/
Dda7219-aad.c642 if (fwnode_property_read_u32(aad_np, "dlg,micbias-pulse-lvl", in da7219_aad_fw_to_pdata()
649 if (fwnode_property_read_u32(aad_np, "dlg,micbias-pulse-time", in da7219_aad_fw_to_pdata()
653 if (fwnode_property_read_u32(aad_np, "dlg,btn-cfg", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
658 if (fwnode_property_read_u32(aad_np, "dlg,mic-det-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
664 if (fwnode_property_read_u32(aad_np, "dlg,jack-ins-deb", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
676 if (fwnode_property_read_u32(aad_np, "dlg,jack-rem-deb", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
682 if (fwnode_property_read_u32(aad_np, "dlg,a-d-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
687 if (fwnode_property_read_u32(aad_np, "dlg,d-b-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
692 if (fwnode_property_read_u32(aad_np, "dlg,b-c-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
697 if (fwnode_property_read_u32(aad_np, "dlg,c-mic-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
[all …]
/linux-6.1.9/drivers/leds/
Dleds-ti-lmu-common.c110 ret = fwnode_property_read_u32(child, "ramp-up-us", in ti_lmu_common_get_ramp_params()
116 ret = fwnode_property_read_u32(child, "ramp-down-us", in ti_lmu_common_get_ramp_params()
133 ret = fwnode_property_read_u32(child, in ti_lmu_common_get_brt_res()
Dleds-is31fl319x.c382 ret = fwnode_property_read_u32(child, "led-max-microamp", &led->max_microamp); in is31fl319x_parse_child_fw()
421 ret = fwnode_property_read_u32(child, "reg", &reg); in is31fl319x_parse_fw()
450 ret = fwnode_property_read_u32(fwnode, "audio-gain-db", &is31->audio_gain_db); in is31fl319x_parse_fw()
/linux-6.1.9/drivers/input/keyboard/
Dqt1050.c355 if (fwnode_property_read_u32(child, "linux,code", in qt1050_parse_fw()
366 if (fwnode_property_read_u32(child, "reg", in qt1050_parse_fw()
377 if (fwnode_property_read_u32(child, in qt1050_parse_fw()
389 if (fwnode_property_read_u32(child, "microchip,average-samples", in qt1050_parse_fw()
399 if (fwnode_property_read_u32(child, "microchip,average-scaling", in qt1050_parse_fw()
410 if (fwnode_property_read_u32(child, "microchip,threshold", in qt1050_parse_fw()
Dgpio_keys_polled.c170 if (fwnode_property_read_u32(child, "linux,code", in gpio_keys_polled_get_devtree_pdata()
179 if (fwnode_property_read_u32(child, "linux,input-type", in gpio_keys_polled_get_devtree_pdata()
183 if (fwnode_property_read_u32(child, "linux,input-value", in gpio_keys_polled_get_devtree_pdata()
192 if (fwnode_property_read_u32(child, "debounce-interval", in gpio_keys_polled_get_devtree_pdata()
Dadc-keys.c84 if (fwnode_property_read_u32(child, "press-threshold-microvolt", in adc_keys_load_keymap()
92 if (fwnode_property_read_u32(child, "linux,code", in adc_keys_load_keymap()
/linux-6.1.9/drivers/input/joystick/
Dadc-joystick.c145 error = fwnode_property_read_u32(child, "reg", &i); in adc_joystick_set_axes()
157 error = fwnode_property_read_u32(child, "linux,code", in adc_joystick_set_axes()
171 fwnode_property_read_u32(child, "abs-fuzz", &axes[i].fuzz); in adc_joystick_set_axes()
172 fwnode_property_read_u32(child, "abs-flat", &axes[i].flat); in adc_joystick_set_axes()
/linux-6.1.9/drivers/power/supply/
Dpower_supply_core.c683 fwnode_property_read_u32(fwnode, "energy-full-design-microwatt-hours", in power_supply_get_battery_info()
685 fwnode_property_read_u32(fwnode, "charge-full-design-microamp-hours", in power_supply_get_battery_info()
687 fwnode_property_read_u32(fwnode, "voltage-min-design-microvolt", in power_supply_get_battery_info()
689 fwnode_property_read_u32(fwnode, "voltage-max-design-microvolt", in power_supply_get_battery_info()
691 fwnode_property_read_u32(fwnode, "trickle-charge-current-microamp", in power_supply_get_battery_info()
693 fwnode_property_read_u32(fwnode, "precharge-current-microamp", in power_supply_get_battery_info()
695 fwnode_property_read_u32(fwnode, "precharge-upper-limit-microvolt", in power_supply_get_battery_info()
697 fwnode_property_read_u32(fwnode, "charge-term-current-microamp", in power_supply_get_battery_info()
699 fwnode_property_read_u32(fwnode, "re-charge-voltage-microvolt", in power_supply_get_battery_info()
701 fwnode_property_read_u32(fwnode, "over-voltage-threshold-microvolt", in power_supply_get_battery_info()
[all …]
/linux-6.1.9/drivers/leds/flash/
Dleds-as3645a.c491 fwnode_property_read_u32(child, "reg", &id); in as3645a_parse_node()
514 rval = fwnode_property_read_u32(flash->flash_node, "flash-timeout-us", in as3645a_parse_node()
522 rval = fwnode_property_read_u32(flash->flash_node, "flash-max-microamp", in as3645a_parse_node()
530 rval = fwnode_property_read_u32(flash->flash_node, "led-max-microamp", in as3645a_parse_node()
538 fwnode_property_read_u32(flash->flash_node, "voltage-reference", in as3645a_parse_node()
541 fwnode_property_read_u32(flash->flash_node, "ams,input-max-microamp", in as3645a_parse_node()
553 rval = fwnode_property_read_u32(flash->indicator_node, in as3645a_parse_node()
Dleds-mt6360.c638 ret = fwnode_property_read_u32(child, "reg", &reg); in mt6360_init_isnk_properties()
643 ret = fwnode_property_read_u32(child, "color", &color); in mt6360_init_isnk_properties()
678 ret = fwnode_property_read_u32(init_data->fwnode, "led-max-microamp", in mt6360_init_isnk_properties()
705 ret = fwnode_property_read_u32(init_data->fwnode, "led-max-microamp", in mt6360_init_flash_properties()
720 ret = fwnode_property_read_u32(init_data->fwnode, "flash-max-microamp", in mt6360_init_flash_properties()
743 ret = fwnode_property_read_u32(init_data->fwnode, in mt6360_init_flash_properties()
829 ret = fwnode_property_read_u32(child, "color", &led_color); in mt6360_led_probe()
837 ret = fwnode_property_read_u32(child, "reg", &reg); in mt6360_led_probe()
Dleds-lm3601x.c369 ret = fwnode_property_read_u32(child, "reg", &led->led_mode); in lm3601x_parse_node()
382 ret = fwnode_property_read_u32(child, "led-max-microamp", in lm3601x_parse_node()
390 ret = fwnode_property_read_u32(child, "flash-max-microamp", in lm3601x_parse_node()
398 ret = fwnode_property_read_u32(child, "flash-max-timeout-us", in lm3601x_parse_node()
Dleds-rt8515.c242 fwnode_property_read_u32(rt->dev->fwnode, resistance, &res); in rt8515_determine_max_intensity()
243 ret = fwnode_property_read_u32(led, max_ua_prop, &ua); in rt8515_determine_max_intensity()
324 ret = fwnode_property_read_u32(child, "flash-max-timeout-us", in rt8515_probe()
Dleds-rt4505.c299 ret = fwnode_property_read_u32(child, "led-max-microamp", &val); in rt4505_init_flash_properties()
312 ret = fwnode_property_read_u32(child, "flash-max-microamp", &val); in rt4505_init_flash_properties()
324 ret = fwnode_property_read_u32(child, "flash-max-timeout-us", &val); in rt4505_init_flash_properties()
/linux-6.1.9/drivers/iio/temperature/
Dltc2983.c625 ret = fwnode_property_read_u32(child, "adi,sensor-oc-current-microamp", &oc_current); in ltc2983_thermocouple_new()
665 ret = fwnode_property_read_u32(ref, "reg", &thermo->cold_junction_chan); in ltc2983_thermocouple_new()
721 ret = fwnode_property_read_u32(ref, "reg", &rtd->r_sense_chan); in ltc2983_rtd_new()
727 ret = fwnode_property_read_u32(child, "adi,number-of-wires", &n_wires); in ltc2983_rtd_new()
824 ret = fwnode_property_read_u32(child, "adi,excitation-current-microamp", in ltc2983_rtd_new()
864 fwnode_property_read_u32(child, "adi,rtd-curve", &rtd->rtd_curve); in ltc2983_rtd_new()
893 ret = fwnode_property_read_u32(ref, "reg", &thermistor->r_sense_chan); in ltc2983_thermistor_new()
945 ret = fwnode_property_read_u32(child, "adi,excitation-current-nanoamp", in ltc2983_thermistor_new()
1050 ret = fwnode_property_read_u32(child, "adi,excitation-current-microamp", in ltc2983_diode_new()
1074 fwnode_property_read_u32(child, "adi,ideal-factor-value", &temp); in ltc2983_diode_new()
[all …]
/linux-6.1.9/drivers/net/mdio/
Dfwnode_mdio.c85 fwnode_property_read_u32(child, "reset-assert-us", in fwnode_mdiobus_phy_device_register()
87 fwnode_property_read_u32(child, "reset-deassert-us", in fwnode_mdiobus_phy_device_register()
/linux-6.1.9/drivers/leds/rgb/
Dleds-pwm-multicolor.c85 ret = fwnode_property_read_u32(fwnode, "color", &color); in iterate_subleds()
138 fwnode_property_read_u32(mcnode, "max-brightness", in led_pwm_mc_probe()
/linux-6.1.9/drivers/media/i2c/
Ddw9768.c433 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-mode", in dw9768_probe()
437 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,clock-presc", in dw9768_probe()
441 fwnode_property_read_u32(dev_fwnode(dev), "dongwoon,aac-timing", in dw9768_probe()
/linux-6.1.9/drivers/hwmon/
Dgsc-hwmon.c287 if (fwnode_property_read_u32(child, "reg", &ch->reg)) { in gsc_hwmon_get_devtree_pdata()
292 if (fwnode_property_read_u32(child, "gw,mode", &ch->mode)) { in gsc_hwmon_get_devtree_pdata()
303 if (!fwnode_property_read_u32(child, in gsc_hwmon_get_devtree_pdata()
/linux-6.1.9/drivers/base/test/
Dproperty-entry-test.c70 error = fwnode_property_read_u32(node, "prop-u32", &val_u32); in pe_test_uints()
84 error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32); in pe_test_uints()
191 error = fwnode_property_read_u32(node, "prop-u32", &val_u32); in pe_test_uint_arrays()
210 error = fwnode_property_read_u32(node, "no-prop-u32", &val_u32); in pe_test_uint_arrays()
/linux-6.1.9/drivers/iio/dac/
Dad3552r.c821 err = fwnode_property_read_u32(gain_child, "adi,gain-scaling-p", &val); in ad3552r_configure_custom_gain()
829 err = fwnode_property_read_u32(gain_child, "adi,gain-scaling-n", &val); in ad3552r_configure_custom_gain()
837 err = fwnode_property_read_u32(gain_child, "adi,rfb-ohms", &val); in ad3552r_configure_custom_gain()
844 err = fwnode_property_read_u32(gain_child, "adi,gain-offset", &val); in ad3552r_configure_custom_gain()
953 err = fwnode_property_read_u32(child, "reg", &ch); in ad3552r_configure_device()

12345