Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/drivers/media/v4l2-core/
Dv4l2-fwnode.c205 if (!fwnode_property_read_u32(fwnode, "clock-lanes", &v)) { in v4l2_fwnode_endpoint_parse_csi2_bus()
284 if (!fwnode_property_read_u32(fwnode, "hsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
292 if (!fwnode_property_read_u32(fwnode, "vsync-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
300 if (!fwnode_property_read_u32(fwnode, "field-even-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
308 if (!fwnode_property_read_u32(fwnode, "pclk-sample", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
316 if (!fwnode_property_read_u32(fwnode, "data-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
333 if (!fwnode_property_read_u32(fwnode, "bus-width", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
338 if (!fwnode_property_read_u32(fwnode, "data-shift", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
343 if (!fwnode_property_read_u32(fwnode, "sync-on-green-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
351 if (!fwnode_property_read_u32(fwnode, "data-enable-active", &v)) { in v4l2_fwnode_endpoint_parse_parallel_bus()
[all …]
/Linux-v5.4/sound/soc/codecs/
Dda7219-aad.c634 if (fwnode_property_read_u32(aad_np, "dlg,micbias-pulse-lvl", in da7219_aad_fw_to_pdata()
641 if (fwnode_property_read_u32(aad_np, "dlg,micbias-pulse-time", in da7219_aad_fw_to_pdata()
645 if (fwnode_property_read_u32(aad_np, "dlg,btn-cfg", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
650 if (fwnode_property_read_u32(aad_np, "dlg,mic-det-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
656 if (fwnode_property_read_u32(aad_np, "dlg,jack-ins-deb", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
668 if (fwnode_property_read_u32(aad_np, "dlg,jack-rem-deb", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
674 if (fwnode_property_read_u32(aad_np, "dlg,a-d-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
679 if (fwnode_property_read_u32(aad_np, "dlg,d-b-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
684 if (fwnode_property_read_u32(aad_np, "dlg,b-c-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
689 if (fwnode_property_read_u32(aad_np, "dlg,c-mic-btn-thr", &fw_val32) >= 0) in da7219_aad_fw_to_pdata()
[all …]
/Linux-v5.4/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-as3645a.c491 fwnode_property_read_u32(child, "reg", &id); in as3645a_parse_node()
513 rval = fwnode_property_read_u32(flash->flash_node, "flash-timeout-us", in as3645a_parse_node()
521 rval = fwnode_property_read_u32(flash->flash_node, "flash-max-microamp", in as3645a_parse_node()
529 rval = fwnode_property_read_u32(flash->flash_node, "led-max-microamp", in as3645a_parse_node()
537 fwnode_property_read_u32(flash->flash_node, "voltage-reference", in as3645a_parse_node()
540 fwnode_property_read_u32(flash->flash_node, "ams,input-max-microamp", in as3645a_parse_node()
551 rval = fwnode_property_read_u32(flash->indicator_node, in as3645a_parse_node()
Dleds-lm3601x.c370 ret = fwnode_property_read_u32(child, "reg", &led->led_mode); in lm3601x_parse_node()
383 ret = fwnode_property_read_u32(child, "led-max-microamp", in lm3601x_parse_node()
391 ret = fwnode_property_read_u32(child, "flash-max-microamp", in lm3601x_parse_node()
399 ret = fwnode_property_read_u32(child, "flash-max-timeout-us", in lm3601x_parse_node()
Dled-core.c385 ret = fwnode_property_read_u32(fwnode, "color", &props->color); in led_parse_fwnode_props()
408 ret = fwnode_property_read_u32(fwnode, "function-enumerator", in led_parse_fwnode_props()
Dleds-max77650.c89 rv = fwnode_property_read_u32(child, "reg", &reg); in max77650_led_probe()
Dleds-lm3532.c582 ret = fwnode_property_read_u32(child, "reg", &control_bank); in lm3532_parse_node()
596 ret = fwnode_property_read_u32(child, "ti,led-mode", in lm3532_parse_node()
605 fwnode_property_read_u32(child, "led-max-microamp", in lm3532_parse_node()
Dleds-pca955x.c389 res = fwnode_property_read_u32(child, "reg", &reg); in pca955x_get_pdata()
401 fwnode_property_read_u32(child, "type", &pdata->leds[reg].type); in pca955x_get_pdata()
Dleds-pwm.c143 fwnode_property_read_u32(fwnode, "max-brightness", in led_pwm_create_fwnode()
Dleds-lm3697.c217 ret = fwnode_property_read_u32(child, "reg", &control_bank); in lm3697_probe_dt()
Dleds-lm3692x.c350 ret = fwnode_property_read_u32(child, "reg", &led->led_enable); in lm3692x_probe_dt()
Dleds-pca963x.c300 res = fwnode_property_read_u32(child, "reg", &reg); in pca963x_get_pdata()
/Linux-v5.4/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.c171 if (fwnode_property_read_u32(child, "linux,code", in gpio_keys_polled_get_devtree_pdata()
180 if (fwnode_property_read_u32(child, "linux,input-type", in gpio_keys_polled_get_devtree_pdata()
184 if (fwnode_property_read_u32(child, "linux,input-value", in gpio_keys_polled_get_devtree_pdata()
193 if (fwnode_property_read_u32(child, "debounce-interval", in gpio_keys_polled_get_devtree_pdata()
Dadc-keys.c85 if (fwnode_property_read_u32(child, "press-threshold-microvolt", in adc_keys_load_keymap()
93 if (fwnode_property_read_u32(child, "linux,code", in adc_keys_load_keymap()
Dgpio_keys.c724 if (fwnode_property_read_u32(child, "linux,code", in gpio_keys_get_devtree_pdata()
733 if (fwnode_property_read_u32(child, "linux,input-type", in gpio_keys_get_devtree_pdata()
742 fwnode_property_read_u32(child, "wakeup-event-action", in gpio_keys_get_devtree_pdata()
748 if (fwnode_property_read_u32(child, "debounce-interval", in gpio_keys_get_devtree_pdata()
/Linux-v5.4/drivers/video/backlight/
Dlm3630a_bl.c409 ret = fwnode_property_read_u32(node, "reg", &bank); in lm3630a_parse_bank()
455 ret = fwnode_property_read_u32(node, "default-brightness", in lm3630a_parse_bank()
464 ret = fwnode_property_read_u32(node, "max-brightness", &val); in lm3630a_parse_bank()
/Linux-v5.4/drivers/acpi/
Dproperty.c1207 if (fwnode_property_read_u32(child, prop_name, &nr)) in acpi_graph_get_child_prop_value()
1333 if (fwnode_property_read_u32(port_fwnode, "reg", &endpoint->port)) in acpi_fwnode_graph_parse_endpoint()
1334 fwnode_property_read_u32(port_fwnode, "port", &endpoint->port); in acpi_fwnode_graph_parse_endpoint()
1335 if (fwnode_property_read_u32(fwnode, "reg", &endpoint->id)) in acpi_fwnode_graph_parse_endpoint()
1336 fwnode_property_read_u32(fwnode, "endpoint", &endpoint->id); in acpi_fwnode_graph_parse_endpoint()
/Linux-v5.4/drivers/iio/dac/
Dad5592r-base.c525 ret = fwnode_property_read_u32(child, "reg", &reg); in ad5592r_alloc_channels()
529 ret = fwnode_property_read_u32(child, "adi,mode", &tmp); in ad5592r_alloc_channels()
533 fwnode_property_read_u32(child, "adi,off-state", &tmp); in ad5592r_alloc_channels()
/Linux-v5.4/drivers/staging/media/imx/
Dimx-media-of.c175 fwnode_property_read_u32(fwnode, "reg", &link.remote_port); in imx_media_create_csi_of_links()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c671 ret = fwnode_property_read_u32(fwnode, "phy-addr", &addr); in hns_mac_phy_parse_addr()
880 ret = fwnode_property_read_u32(mac_cb->fw_port, in hns_mac_get_info()
889 ret = fwnode_property_read_u32(mac_cb->fw_port, in hns_mac_get_info()
1067 ret = fwnode_property_read_u32(child, "reg", &port_id); in hns_mac_init()
/Linux-v5.4/drivers/gpio/
Dgpio-dwapb.c588 if (fwnode_property_read_u32(fwnode, "reg", &pp->idx) || in dwapb_gpio_get_pdata()
596 if (fwnode_property_read_u32(fwnode, "snps,nr-gpios", in dwapb_gpio_get_pdata()
/Linux-v5.4/include/linux/
Dproperty.h186 static inline int fwnode_property_read_u32(const struct fwnode_handle *fwnode, in fwnode_property_read_u32() function

12