Home
last modified time | relevance | path

Searched refs:methods (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/sound/aoa/fabrics/
H A Dlayout.c644 if (gpio->methods && gpio->methods->get_##n) \
646 gpio->methods->get_##n(gpio); \
653 if (gpio->methods && gpio->methods->set_##n) \
654 gpio->methods->set_##n(gpio, \
736 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get()
740 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get()
860 v = ldev->gpio.methods->get_detect(&ldev->gpio, AOA_NOTIFY_HEADPHONE); in layout_notify()
864 ldev->gpio.methods in layout_notify()
[all...]
/kernel/linux/linux-6.6/sound/aoa/fabrics/
H A Dlayout.c644 if (gpio->methods && gpio->methods->get_##n) \
646 gpio->methods->get_##n(gpio); \
653 if (gpio->methods && gpio->methods->set_##n) \
654 gpio->methods->set_##n(gpio, \
736 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get()
740 v = ldev->gpio.methods->get_detect(&ldev->gpio, in detected_get()
860 v = ldev->gpio.methods->get_detect(&ldev->gpio, AOA_NOTIFY_HEADPHONE); in layout_notify()
864 ldev->gpio.methods in layout_notify()
[all...]
/kernel/linux/linux-5.10/sound/aoa/core/
H A Dgpio-feature.c181 static struct gpio_methods methods; variable
192 if (methods.set_master) in ftr_gpio_all_amps_off()
206 if (methods.set_master) in ftr_gpio_all_amps_restore()
249 methods.set_master = ftr_gpio_set_master; in ftr_gpio_init()
250 methods.get_master = ftr_gpio_get_master; in ftr_gpio_init()
408 static struct gpio_methods methods = { variable
424 struct gpio_methods *ftr_gpio_methods = &methods;
H A Dgpio-pmf.c235 static struct gpio_methods methods = { variable
251 struct gpio_methods *pmf_gpio_methods = &methods;
/kernel/linux/linux-6.6/sound/aoa/core/
H A Dgpio-feature.c181 static struct gpio_methods methods; variable
192 if (methods.set_master) in ftr_gpio_all_amps_off()
206 if (methods.set_master) in ftr_gpio_all_amps_restore()
249 methods.set_master = ftr_gpio_set_master; in ftr_gpio_init()
250 methods.get_master = ftr_gpio_get_master; in ftr_gpio_init()
408 static struct gpio_methods methods = { variable
424 struct gpio_methods *ftr_gpio_methods = &methods;
H A Dgpio-pmf.c235 static struct gpio_methods methods = { variable
251 struct gpio_methods *pmf_gpio_methods = &methods;
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-scmi.c35 struct smbus_methods_t *methods; member
164 method = smbus_cmi->methods->mt_sbr; in acpi_smbus_cmi_access()
168 method = smbus_cmi->methods->mt_sbw; in acpi_smbus_cmi_access()
308 if (!strcmp(name, smbus_cmi->methods->mt_info)) { in acpi_smbus_cmi_add_cap()
310 smbus_cmi->methods->mt_info, in acpi_smbus_cmi_add_cap()
314 smbus_cmi->methods->mt_info, status); in acpi_smbus_cmi_add_cap()
337 } else if (!strcmp(name, smbus_cmi->methods->mt_sbr)) in acpi_smbus_cmi_add_cap()
339 else if (!strcmp(name, smbus_cmi->methods->mt_sbw)) in acpi_smbus_cmi_add_cap()
383 smbus_cmi->methods = in acpi_smbus_cmi_add()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H A Di2c-scmi.c28 const struct smbus_methods_t *methods; member
157 method = smbus_cmi->methods->mt_sbr; in acpi_smbus_cmi_access()
161 method = smbus_cmi->methods->mt_sbw; in acpi_smbus_cmi_access()
301 if (!strcmp(name, smbus_cmi->methods->mt_info)) { in acpi_smbus_cmi_add_cap()
303 smbus_cmi->methods->mt_info, in acpi_smbus_cmi_add_cap()
307 smbus_cmi->methods->mt_info, status); in acpi_smbus_cmi_add_cap()
330 } else if (!strcmp(name, smbus_cmi->methods->mt_sbr)) in acpi_smbus_cmi_add_cap()
332 else if (!strcmp(name, smbus_cmi->methods->mt_sbw)) in acpi_smbus_cmi_add_cap()
367 smbus_cmi->methods = device_get_match_data(dev); in smbus_cmi_probe()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dspectre.h29 void spectre_v2_update_state(unsigned int state, unsigned int methods);
32 unsigned int methods) in spectre_v2_update_state()
31 spectre_v2_update_state(unsigned int state, unsigned int methods) spectre_v2_update_state() argument
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dspectre.h29 void spectre_v2_update_state(unsigned int state, unsigned int methods);
32 unsigned int methods) in spectre_v2_update_state()
31 spectre_v2_update_state(unsigned int state, unsigned int methods) spectre_v2_update_state() argument
/kernel/linux/linux-5.10/include/rdma/
H A Duverbs_named_ioctl.h56 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
60 * Declare global methods. These still have a unique object_id because we
61 * identify all uapi methods with a (object,method) tuple. However, they have
70 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
73 /* Used by drivers to declare a complete parsing tree for new methods
81 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
/kernel/linux/linux-6.6/include/rdma/
H A Duverbs_named_ioctl.h56 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
60 * Declare global methods. These still have a unique object_id because we
61 * identify all uapi methods with a (object,method) tuple. However, they have
70 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
73 /* Used by drivers to declare a complete parsing tree for new methods
81 .methods = &UVERBS_OBJECT_METHODS(_object_id) \
/kernel/linux/linux-5.10/sound/aoa/codecs/
H A Donyx.c778 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock()
781 onyx->codec.gpio->methods->all_amps_restore(onyx->codec.gpio); in onyx_switch_clock()
820 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
822 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_resume()
824 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
868 if (!onyx->codec.gpio || !onyx->codec.gpio->methods) { in onyx_init_codec()
873 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
875 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_init_codec()
877 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
H A Dtas.c675 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_reset_init()
677 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init()
679 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 1); in tas_reset_init()
681 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init()
683 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_reset_init()
721 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_switch_clock()
731 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_switch_clock()
801 if (!tas->codec.gpio || !tas->codec.gpio->methods) { in tas_init_codec()
/kernel/linux/linux-6.6/sound/aoa/codecs/
H A Donyx.c778 onyx->codec.gpio->methods->all_amps_off(onyx->codec.gpio); in onyx_switch_clock()
781 onyx->codec.gpio->methods->all_amps_restore(onyx->codec.gpio); in onyx_switch_clock()
820 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
822 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_resume()
824 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_resume()
868 if (!onyx->codec.gpio || !onyx->codec.gpio->methods) { in onyx_init_codec()
873 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
875 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 1); in onyx_init_codec()
877 onyx->codec.gpio->methods->set_hw_reset(onyx->codec.gpio, 0); in onyx_init_codec()
H A Dtas.c674 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_reset_init()
676 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init()
678 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 1); in tas_reset_init()
680 tas->codec.gpio->methods->set_hw_reset(tas->codec.gpio, 0); in tas_reset_init()
682 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_reset_init()
720 tas->codec.gpio->methods->all_amps_off(tas->codec.gpio); in tas_switch_clock()
730 tas->codec.gpio->methods->all_amps_restore(tas->codec.gpio); in tas_switch_clock()
800 if (!tas->codec.gpio || !tas->codec.gpio->methods) { in tas_init_codec()
/kernel/linux/linux-5.10/sound/aoa/
H A Daoa-gpio.h74 struct gpio_methods *methods; member
/kernel/linux/linux-6.6/sound/aoa/
H A Daoa-gpio.h74 struct gpio_methods *methods; member
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
H A Drkisp1-params.c69 rkisp1_write(params->rkisp1, arg->methods[0].method, in rkisp1_dpcc_config()
71 rkisp1_write(params->rkisp1, arg->methods[1].method, in rkisp1_dpcc_config()
73 rkisp1_write(params->rkisp1, arg->methods[2].method, in rkisp1_dpcc_config()
76 rkisp1_write(params->rkisp1, arg->methods[i].line_thresh, in rkisp1_dpcc_config()
78 rkisp1_write(params->rkisp1, arg->methods[i].line_mad_fac, in rkisp1_dpcc_config()
80 rkisp1_write(params->rkisp1, arg->methods[i].pg_fac, in rkisp1_dpcc_config()
82 rkisp1_write(params->rkisp1, arg->methods[i].rnd_thresh, in rkisp1_dpcc_config()
84 rkisp1_write(params->rkisp1, arg->methods[i].rg_fac, in rkisp1_dpcc_config()
/kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-params.c79 arg->methods[i].method & in rkisp1_dpcc_config()
82 arg->methods[i].line_thresh & in rkisp1_dpcc_config()
85 arg->methods[i].line_mad_fac & in rkisp1_dpcc_config()
88 arg->methods[i].pg_fac & in rkisp1_dpcc_config()
91 arg->methods[i].rnd_thresh & in rkisp1_dpcc_config()
94 arg->methods[i].rg_fac & in rkisp1_dpcc_config()
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Duverbs_uapi.c208 if (!obj->methods) in uapi_merge_obj_tree()
212 const struct uverbs_method_def *method = (*obj->methods)[i]; in uapi_merge_obj_tree()
684 * off method access. All methods that require the ib_dev or the module data
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Duverbs_uapi.c205 if (!obj->methods) in uapi_merge_obj_tree()
209 const struct uverbs_method_def *method = (*obj->methods)[i]; in uapi_merge_obj_tree()
681 * off method access. All methods that require the ib_dev or the module data
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/uapi/
H A Drkisp1-config.h258 * @output_mode: whether use hard coded methods
259 * @set_use: stage1 methods set
260 * @methods: methods config
268 struct rkisp1_cif_isp_dpcc_methods_config methods[RKISP1_CIF_ISP_DPCC_METHODS_MAX]; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Drkisp1-config.h291 * struct rkisp1_cif_isp_dpcc_methods_config - DPCC methods set configuration
293 * This structure stores the configuration of one set of methods for the DPCC
294 * algorithm. Multiple methods can be selected in each set (independently for
296 * the logical AND of all enabled methods. The remaining fields set thresholds
318 * Configuration used by Defect Pixel Cluster Correction. Three sets of methods
325 * @methods: Methods sets configuration
333 struct rkisp1_cif_isp_dpcc_methods_config methods[RKISP1_CIF_ISP_DPCC_METHODS_MAX]; member
/kernel/linux/linux-5.10/tools/perf/jvmti/
H A Dlibjvmti.c111 * c->methods is the stack of inlined method calls in get_line_numbers()
116 c->methods[0], in get_line_numbers()

Completed in 21 milliseconds

12