Home
last modified time | relevance | path

Searched +defs:val +defs:props (Results 1 – 25 of 105) sorted by relevance

12345

/linux-6.14.4/drivers/leds/
Dleds-expresswire.c16 void expresswire_power_off(struct expresswire_common_props *props) in expresswire_power_off()
23 void expresswire_enable(struct expresswire_common_props *props) in expresswire_enable()
33 void expresswire_start(struct expresswire_common_props *props) in expresswire_start()
40 void expresswire_end(struct expresswire_common_props *props) in expresswire_end()
49 void expresswire_set_bit(struct expresswire_common_props *props, bool bit) in expresswire_set_bit()
65 void expresswire_write_u8(struct expresswire_common_props *props, u8 val) in expresswire_write_u8()
/linux-6.14.4/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c69 int val = (nvif_rd32(device, NV40_PMC_BACKLIGHT) & in nv40_get_intensity() local
81 int val = bd->props.brightness; in nv40_set_intensity() local
98 struct backlight_properties *props, in nv40_backlight_init()
233 struct backlight_properties *props, in nv50_backlight_init()
297 struct backlight_properties props = {0}; in nouveau_backlight_init() local
/linux-6.14.4/drivers/media/v4l2-core/
Dv4l2-fwnode.c811 struct v4l2_fwnode_device_properties *props) in v4l2_fwnode_device_parse()
814 u32 val; in v4l2_fwnode_device_parse() local
1060 const char * const *props, in v4l2_fwnode_reference_get_int_prop()
1085 u32 val; in v4l2_fwnode_reference_get_int_prop() local
1115 const char * const *props; member
1151 const char * const *props = p->props; in v4l2_fwnode_reference_parse_int_props() local
1221 static const struct v4l2_fwnode_int_props props[] = { in v4l2_async_nf_parse_fwnode_sensor() local
/linux-6.14.4/drivers/acpi/x86/
Dapple.c31 union acpi_object *props, *newprops; in acpi_extract_apple_properties() local
70 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() local
108 union acpi_object *val = &props->package.elements[i * 2 + 1]; in acpi_extract_apple_properties() local
/linux-6.14.4/drivers/input/touchscreen/
Dmms114.c68 struct touchscreen_properties props; member
91 unsigned int len, u8 *val) in __mms114_read_reg()
126 u8 val; in mms114_read_reg() local
137 unsigned int val) in mms114_write_reg()
274 int val; in mms114_set_active() local
337 const struct touchscreen_properties *props = &data->props; in mms114_setup_regs() local
338 int val; in mms114_setup_regs() local
452 struct touchscreen_properties *props = &data->props; in mms114_parse_legacy_bindings() local
/linux-6.14.4/drivers/gpio/
Dgpio-aspeed.c62 const struct aspeed_bank_props *props; member
335 static inline bool is_bank_props_sentinel(const struct aspeed_bank_props *props) in is_bank_props_sentinel()
343 const struct aspeed_bank_props *props = gpio->config->props; in find_bank_props() local
356 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); in have_gpio() local
366 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); in have_input() local
376 const struct aspeed_bank_props *props = find_bank_props(gpio, offset); in have_output() local
417 int val) in __aspeed_gpio_set()
427 int val) in aspeed_gpio_set()
465 unsigned int offset, int val) in aspeed_gpio_dir_out()
491 u32 val; in aspeed_gpio_get_direction() local
[all …]
/linux-6.14.4/drivers/base/
Dswnode.c141 static const void *property_entry_find(const struct property_entry *props, in property_entry_find()
159 property_entry_count_elems_of_size(const struct property_entry *props, in property_entry_count_elems_of_size()
171 static int property_entry_read_int_array(const struct property_entry *props, in property_entry_read_int_array()
173 unsigned int elem_size, void *val, in property_entry_read_int_array()
196 static int property_entry_read_string_array(const struct property_entry *props, in property_entry_read_string_array()
403 unsigned int elem_size, void *val, in software_node_read_int_array()
414 const char **val, size_t nval) in software_node_read_string_array()
736 struct property_entry *props; in software_node_alloc() local
/linux-6.14.4/sound/soc/generic/
Dsimple-card-utils.c21 int val = -EINVAL; in simple_util_get_sample_fmt() local
25 u32 val; in simple_util_get_sample_fmt() member
48 int val; in simple_fixup_sample_fmt() local
247 u32 val; in simple_util_parse_clk() local
298 struct simple_dai_props *props = runtime_simple_priv_to_props(priv, rtd); in simple_util_startup() local
359 struct simple_dai_props *props = runtime_simple_priv_to_props(priv, rtd); in simple_util_shutdown() local
448 struct simple_dai_props *props = runtime_simple_priv_to_props(priv, rtd); in simple_util_hw_params() local
630 struct simple_dai_props *props = runtime_simple_priv_to_props(priv, rtd); in simple_util_dai_init() local
1161 u32 val[SND_SOC_TRIGGER_SIZE]; in __graph_util_parse_trigger_order() local
/linux-6.14.4/drivers/acpi/
Dproperty.c350 struct acpi_device_properties *props; in acpi_data_add_props() local
404 struct acpi_device_properties *props; in acpi_data_add_buffer_props() local
602 struct acpi_device_properties *props, *tmp; in acpi_free_device_properties() local
665 const struct acpi_device_properties *props; in acpi_data_get_property() local
1046 enum dev_prop_type proptype, void *val) in acpi_data_prop_read_single()
1093 #define acpi_copy_property_array_uint(items, val, nval) \ argument
1125 char **val, size_t nval) in acpi_copy_property_array_string()
1141 void *val, size_t nval) in acpi_data_prop_read()
1240 void *val, size_t nval) in acpi_node_prop_read()
1434 unsigned int val) in acpi_graph_get_child_prop_value()
[all …]
/linux-6.14.4/drivers/platform/x86/
Dnvidia-wmi-ec-backlight.c32 …otify(struct wmi_device *w, enum wmi_brightness_method id, enum wmi_brightness_mode mode, u32 *val) in wmi_brightness_notify()
93 struct backlight_properties props = {}; in nvidia_wmi_ec_backlight_probe() local
/linux-6.14.4/drivers/video/backlight/
Dmt6370-backlight.c130 struct backlight_properties *props) in mt6370_init_backlight_properties()
135 unsigned int mask, val; in mt6370_init_backlight_properties() local
277 struct backlight_properties props = { in mt6370_bl_probe() local
Dktz8866.c60 unsigned int val) in ktz8866_write()
66 unsigned int mask, unsigned int val) in ktz8866_update_bits()
98 unsigned int val = 0; in ktz8866_init() local
130 struct backlight_properties props; in ktz8866_probe() local
Dda903x_bl.c44 uint8_t val; in da903x_backlight_set() local
101 struct backlight_properties props; in da903x_backlight_probe() local
Dmax8925_bl.c94 u32 val; in max8925_backlight_dt_init() local
125 struct backlight_properties props; in max8925_backlight_probe() local
Daat2870_bl.c31 int val; in aat2870_brightness() local
102 struct backlight_properties props; in aat2870_bl_probe() local
Dlp8788_bl.c41 u8 val; in lp8788_backlight_configure() local
79 struct backlight_properties props; in lp8788_backlight_register() local
Dlm3533_bl.c48 u8 val; in lm3533_bl_get_brightness() local
85 u8 val; in show_als_en() local
107 u8 val; in store_als_en() local
133 u8 val; in show_linear() local
159 u8 val; in store_linear() local
185 u8 val; in show_pwm() local
200 u8 val; in store_pwm() local
267 struct backlight_properties props; in lm3533_bl_probe() local
/linux-6.14.4/drivers/power/supply/
Dwm97xx_battery.c48 union power_supply_propval *val) in wm97xx_bat_get_property()
159 int props = 1; /* POWER_SUPPLY_PROP_PRESENT */ in wm97xx_bat_probe() local
Dpower_supply_hwmon.c14 unsigned long *props; member
222 u32 attr, int channel, long *val) in power_supply_hwmon_read()
271 u32 attr, int channel, long val) in power_supply_hwmon_write()
/linux-6.14.4/drivers/reset/
Dreset-microchip-sparx5.c29 const struct reset_props *props; member
40 u32 val; in sparx5_switch_reset() local
/linux-6.14.4/drivers/regulator/
Dbd71828-regulator.c22 unsigned int val; member
113 static const char * const props[] = { "rohm,dvs-run-voltage", in ldo6_parse_dt() local
Drtmv20-regulator.c132 unsigned int val; in rtmv20_lsw_get_current_limit() local
169 unsigned int val; in rtmv20_irq_handler() local
190 static u32 clamp_to_selector(u32 val, u32 min, u32 max, u32 step) in clamp_to_selector()
207 } props[] = { in rtmv20_properties_init() local
280 unsigned int val; in rtmv20_check_chip_exist() local
Drpi-panel-attiny-regulator.c81 static int attiny_set_port_state(struct attiny_lcd *state, int reg, u8 val) in attiny_set_port_state()
214 static void attiny_gpio_set(struct gpio_chip *gc, unsigned int off, int val) in attiny_gpio_set()
286 struct backlight_properties props = { }; in attiny_i2c_probe() local
/linux-6.14.4/drivers/spi/
Dspi-cs42l43.c72 u32 val = 0; in cs42l43_spi_tx() local
109 u32 val; in cs42l43_spi_rx() local
291 struct property_entry *props = NULL; in cs42l43_create_bridge_amp() local
/linux-6.14.4/drivers/i2c/muxes/
Di2c-demux-pinctrl.c192 unsigned int val; in current_master_store() local
212 struct property *props; in i2c_demux_pinctrl_probe() local

12345