Home
last modified time | relevance | path

Searched refs:prop_val (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/board/freescale/ls1012aqds/
H A Dls1012aqds.c175 static int pfe_set_properties(void *set_blob, struct pfe_prop_val prop_val, in pfe_set_properties() argument
179 &prop_val.busid, PFE_PROP_LEN, 1); in pfe_set_properties()
181 &prop_val.phyid, PFE_PROP_LEN, 1); in pfe_set_properties()
183 &prop_val.mux_val, PFE_PROP_LEN, 1); in pfe_set_properties()
185 prop_val.phy_mode, strlen(prop_val.phy_mode) + 1, 1); in pfe_set_properties()
187 &prop_val.phy_mask, PFE_PROP_LEN, 1); in pfe_set_properties()
194 struct pfe_prop_val prop_val; in fdt_fsl_fixup_of_pfe() local
206 prop_val.busid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
208 prop_val.phyid = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
210 prop_val.mux_val = cpu_to_fdt32( in fdt_fsl_fixup_of_pfe()
[all …]
/openbmc/linux/drivers/video/backlight/
H A Dmt6370-backlight.c133 u8 prop_val; in mt6370_init_backlight_properties() local
148 &prop_val); in mt6370_init_backlight_properties()
150 prop_val = clamp_val(prop_val, in mt6370_init_backlight_properties()
153 prop_val = prop_val <= 1 ? 0 : in mt6370_init_backlight_properties()
154 prop_val <= 4 ? 1 : in mt6370_init_backlight_properties()
155 prop_val <= 16 ? 2 : 3; in mt6370_init_backlight_properties()
156 val |= prop_val; in mt6370_init_backlight_properties()
217 &prop_val); in mt6370_init_backlight_properties()
223 if (!prop_val || prop_val > MT6370_BL_MAX_CH) { in mt6370_init_backlight_properties()
226 prop_val); in mt6370_init_backlight_properties()
[all …]
/openbmc/linux/include/linux/
H A Dextcon-provider.h57 union extcon_property_value prop_val);
60 union extcon_property_value prop_val);
116 union extcon_property_value prop_val) in extcon_set_property() argument
123 union extcon_property_value prop_val) in extcon_set_property_sync() argument
H A Dextcon.h188 union extcon_property_value *prop_val);
242 union extcon_property_value *prop_val) in extcon_get_property() argument
/openbmc/linux/drivers/extcon/
H A Dextcon.c626 union extcon_property_value *prop_val) in extcon_get_property() argument
632 *prop_val = (union extcon_property_value){0}; in extcon_get_property()
669 *prop_val = cable->usb_propval[prop - EXTCON_PROP_USB_MIN]; in extcon_get_property()
672 *prop_val = cable->chg_propval[prop - EXTCON_PROP_CHG_MIN]; in extcon_get_property()
675 *prop_val = cable->jack_propval[prop - EXTCON_PROP_JACK_MIN]; in extcon_get_property()
678 *prop_val = cable->disp_propval[prop - EXTCON_PROP_DISP_MIN]; in extcon_get_property()
705 union extcon_property_value prop_val) in extcon_set_property() argument
736 cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; in extcon_set_property()
739 cable->chg_propval[prop - EXTCON_PROP_CHG_MIN] = prop_val; in extcon_set_property()
742 cable->jack_propval[prop - EXTCON_PROP_JACK_MIN] = prop_val; in extcon_set_property()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dcpwd.c517 const void *prop_val; in cpwd_probe() local
546 prop_val = of_get_property(options, "watchdog-enable?", NULL); in cpwd_probe()
547 p->enabled = (prop_val ? true : false); in cpwd_probe()
549 prop_val = of_get_property(options, "watchdog-reboot?", NULL); in cpwd_probe()
550 p->reboot = (prop_val ? true : false); in cpwd_probe()
/openbmc/linux/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c55 char **prop_val, size_t *prop_len) in get_property() argument
63 return read_file_alloc(path, prop_val, prop_len); in get_property()
/openbmc/u-boot/drivers/core/
H A Dofnode.c260 const __be32 *prop_val; in ofnode_get_addr_index() local
263 prop_val = of_get_address(ofnode_to_np(node), index, in ofnode_get_addr_index()
265 if (!prop_val) in ofnode_get_addr_index()
271 return of_translate_address(ofnode_to_np(node), prop_val); in ofnode_get_addr_index()
274 return of_read_number(prop_val, na); in ofnode_get_addr_index()
/openbmc/linux/sound/soc/codecs/
H A Dwcd938x.c3256 u32 prop_val = 0; in wcd938x_dt_parse_micbias_info() local
3259 rc = of_property_read_u32(np, "qcom,micbias1-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info()
3261 wcd->micb1_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info()
3265 rc = of_property_read_u32(np, "qcom,micbias2-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info()
3267 wcd->micb2_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info()
3271 rc = of_property_read_u32(np, "qcom,micbias3-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info()
3273 wcd->micb3_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info()
3277 rc = of_property_read_u32(np, "qcom,micbias4-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info()
3279 wcd->micb4_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info()
/openbmc/linux/drivers/staging/greybus/
H A Dpower_supply.c610 val = le32_to_cpu(resp.prop_val); in __gb_power_supply_property_update()
785 req.prop_val = cpu_to_le32((s32)val); in gb_power_supply_property_set()
/openbmc/linux/include/linux/greybus/
H A Dgreybus_protocols.h592 __le32 prop_val; member
598 __le32 prop_val; member