Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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.h189 union extcon_property_value *prop_val);
243 union extcon_property_value *prop_val) in extcon_get_property() argument
/OK3568_Linux_fs/kernel/arch/arm/mach-bcm/
H A Dbcm_kona_smc.c46 const __be32 *prop_val; in bcm_kona_smc_init() local
56 prop_val = of_get_address(node, 0, &prop_size, NULL); in bcm_kona_smc_init()
58 if (!prop_val) in bcm_kona_smc_init()
66 buffer_phys = be32_to_cpup(prop_val); in bcm_kona_smc_init()
/OK3568_Linux_fs/kernel/drivers/extcon/
H A Dextcon.c632 union extcon_property_value *prop_val) in extcon_get_property() argument
638 *prop_val = (union extcon_property_value){0}; in extcon_get_property()
675 *prop_val = cable->usb_propval[prop - EXTCON_PROP_USB_MIN]; in extcon_get_property()
678 *prop_val = cable->chg_propval[prop - EXTCON_PROP_CHG_MIN]; in extcon_get_property()
681 *prop_val = cable->jack_propval[prop - EXTCON_PROP_JACK_MIN]; in extcon_get_property()
684 *prop_val = cable->disp_propval[prop - EXTCON_PROP_DISP_MIN]; in extcon_get_property()
711 union extcon_property_value prop_val) in extcon_set_property() argument
742 cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; in extcon_set_property()
745 cable->chg_propval[prop - EXTCON_PROP_CHG_MIN] = prop_val; in extcon_set_property()
748 cable->jack_propval[prop - EXTCON_PROP_JACK_MIN] = prop_val; in extcon_set_property()
[all …]
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A Dcpwd.c518 const void *prop_val; in cpwd_probe() local
547 prop_val = of_get_property(options, "watchdog-enable?", NULL); in cpwd_probe()
548 p->enabled = (prop_val ? true : false); in cpwd_probe()
550 prop_val = of_get_property(options, "watchdog-reboot?", NULL); in cpwd_probe()
551 p->reboot = (prop_val ? true : false); in cpwd_probe()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c105 char **prop_val, size_t *prop_len) in get_property() argument
113 rc = read_entire_file(fd, prop_val, prop_len); in get_property()
/OK3568_Linux_fs/u-boot/drivers/core/
H A Dofnode.c259 const __be32 *prop_val; in ofnode_get_addr_index() local
264 prop_val = of_get_address(ofnode_to_np(node), index, &size, in ofnode_get_addr_index()
266 if (!prop_val) in ofnode_get_addr_index()
269 return of_read_number(prop_val, na); in ofnode_get_addr_index()
/OK3568_Linux_fs/kernel/drivers/media/usb/cpia2/
H A Dcpia2.h442 void cpia2_set_property_flip(struct camera_data *cam, int prop_val);
443 void cpia2_set_property_mirror(struct camera_data *cam, int prop_val);
H A Dcpia2_core.c1659 void cpia2_set_property_flip(struct camera_data *cam, int prop_val) in cpia2_set_property_flip() argument
1666 if (prop_val) in cpia2_set_property_flip()
1684 void cpia2_set_property_mirror(struct camera_data *cam, int prop_val) in cpia2_set_property_mirror() argument
1691 if (prop_val) in cpia2_set_property_mirror()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/linux/greybus/
H A Dgreybus_protocols.h592 __le32 prop_val; member
598 __le32 prop_val; member