Home
last modified time | relevance | path

Searched refs:functions (Results 1 – 25 of 178) sorted by relevance

12345678

/drivers/pinctrl/berlin/
Dberlin.c33 struct berlin_pinctrl_function *functions; member
122 return pctrl->functions[function].name; in berlin_pinmux_get_function_name()
132 *groups = pctrl->functions[function].groups; in berlin_pinmux_get_function_groups()
133 *num_groups = pctrl->functions[function].ngroups; in berlin_pinmux_get_function_groups()
143 struct berlin_desc_function *function = group->functions; in berlin_pinctrl_find_function_by_name()
161 struct berlin_pinctrl_function *func = pctrl->functions + function; in berlin_pinmux_set()
188 struct berlin_pinctrl_function *function = pctrl->functions; in berlin_pinctrl_add_function()
222 pctrl->functions = devm_kzalloc(&pdev->dev, in berlin_pinctrl_build_state()
223 max_functions * sizeof(*pctrl->functions), in berlin_pinctrl_build_state()
225 if (!pctrl->functions) in berlin_pinctrl_build_state()
[all …]
Dberlin.h26 struct berlin_desc_function *functions; member
46 .functions = (struct berlin_desc_function[]){ \
/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c30 struct radeon_atpx_functions functions; member
147 atpx->functions.power_cntl = true; in radeon_atpx_validate()
149 if (atpx->functions.px_params) { in radeon_atpx_validate()
174 atpx->functions.i2c_mux_cntl = true; in radeon_atpx_validate()
175 atpx->functions.disp_mux_cntl = true; in radeon_atpx_validate()
181 atpx->functions.disp_mux_cntl = true; in radeon_atpx_validate()
225 radeon_atpx_parse_functions(&atpx->functions, output.function_bits); in radeon_atpx_verify_interface()
248 if (atpx->functions.power_cntl) { in radeon_atpx_set_discrete_state()
284 if (atpx->functions.disp_mux_cntl) { in radeon_atpx_switch_disp_mux()
316 if (atpx->functions.i2c_mux_cntl) { in radeon_atpx_switch_i2c_mux()
[all …]
Dradeon_acpi.c227 radeon_atif_parse_functions(&atif->functions, output.function_bits); in radeon_atif_verify_interface()
512 radeon_atcs_parse_functions(&atcs->functions, output.function_bits); in radeon_atcs_verify_interface()
532 if (atcs->functions.pcie_perf_req && atcs->functions.pcie_dev_rdy) in radeon_acpi_is_pcie_performance_request_supported()
558 if (!atcs->functions.pcie_dev_rdy) in radeon_acpi_pcie_notify_device_ready()
598 if (!atcs->functions.pcie_perf_req) in radeon_acpi_pcie_performance_request()
753 if (atif->functions.sbios_requests && !atif->functions.system_params) { in radeon_acpi_init()
758 atif->functions.system_params = true; in radeon_acpi_init()
761 if (atif->functions.system_params) { in radeon_acpi_init()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c30 struct amdgpu_atpx_functions functions; member
148 atpx->functions.power_cntl = true; in amdgpu_atpx_validate()
150 if (atpx->functions.px_params) { in amdgpu_atpx_validate()
175 atpx->functions.i2c_mux_cntl = true; in amdgpu_atpx_validate()
176 atpx->functions.disp_mux_cntl = true; in amdgpu_atpx_validate()
182 atpx->functions.disp_mux_cntl = true; in amdgpu_atpx_validate()
226 amdgpu_atpx_parse_functions(&atpx->functions, output.function_bits); in amdgpu_atpx_verify_interface()
249 if (atpx->functions.power_cntl) { in amdgpu_atpx_set_discrete_state()
285 if (atpx->functions.disp_mux_cntl) { in amdgpu_atpx_switch_disp_mux()
317 if (atpx->functions.i2c_mux_cntl) { in amdgpu_atpx_switch_i2c_mux()
[all …]
Damdgpu_acpi.c227 amdgpu_atif_parse_functions(&atif->functions, output.function_bits); in amdgpu_atif_verify_interface()
507 amdgpu_atcs_parse_functions(&atcs->functions, output.function_bits); in amdgpu_atcs_verify_interface()
527 if (atcs->functions.pcie_perf_req && atcs->functions.pcie_dev_rdy) in amdgpu_acpi_is_pcie_performance_request_supported()
553 if (!atcs->functions.pcie_dev_rdy) in amdgpu_acpi_pcie_notify_device_ready()
596 if (!atcs->functions.pcie_perf_req) in amdgpu_acpi_pcie_performance_request()
734 if (atif->functions.sbios_requests && !atif->functions.system_params) { in amdgpu_acpi_init()
739 atif->functions.system_params = true; in amdgpu_acpi_init()
742 if (atif->functions.system_params) { in amdgpu_acpi_init()
/drivers/s390/crypto/
Dzcrypt_cex4.c79 if (ap_test_bit(&ap_dev->functions, AP_FUNC_ACCEL)) { in zcrypt_cex4_probe()
92 if (ap_test_bit(&ap_dev->functions, AP_FUNC_MEX4K) && in zcrypt_cex4_probe()
93 ap_test_bit(&ap_dev->functions, AP_FUNC_CRT4K)) { in zcrypt_cex4_probe()
107 } else if (ap_test_bit(&ap_dev->functions, AP_FUNC_COPRO)) { in zcrypt_cex4_probe()
125 } else if (ap_test_bit(&ap_dev->functions, AP_FUNC_EP11)) { in zcrypt_cex4_probe()
Dzcrypt_cex2a.c114 if (ap_test_bit(&ap_dev->functions, AP_FUNC_MEX4K) && in zcrypt_cex2a_probe()
115 ap_test_bit(&ap_dev->functions, AP_FUNC_CRT4K)) { in zcrypt_cex2a_probe()
/drivers/staging/wilc1000/
DTODO3 - remove OS wrapper functions
4 - remove custom debug and tracing functions
13 - replace SIOCDEVPRIVATE commands with generic API functions
/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c57 struct sunxi_pinctrl_function *func = pctl->functions; in sunxi_pinctrl_find_function_by_name()
82 struct sunxi_desc_function *func = pin->functions; in sunxi_pinctrl_desc_find_function_by_name()
107 struct sunxi_desc_function *func = pin->functions; in sunxi_pinctrl_desc_find_function_by_pin()
362 return pctl->functions[function].name; in sunxi_pmx_get_func_name()
372 *groups = pctl->functions[function].groups; in sunxi_pmx_get_func_groups()
373 *num_groups = pctl->functions[function].ngroups; in sunxi_pmx_get_func_groups()
403 struct sunxi_pinctrl_function *func = pctl->functions + function; in sunxi_pmx_set_mux()
767 struct sunxi_pinctrl_function *func = pctl->functions; in sunxi_pinctrl_add_function()
812 pctl->functions = devm_kzalloc(&pdev->dev, in sunxi_pinctrl_build_state()
813 pctl->desc->npins * sizeof(*pctl->functions), in sunxi_pinctrl_build_state()
[all …]
Dpinctrl-sunxi.h92 struct sunxi_desc_function *functions; member
122 struct sunxi_pinctrl_function *functions; member
135 .functions = (struct sunxi_desc_function[]){ \
/drivers/pinctrl/freescale/
Dpinctrl-mxs.c182 return d->soc->functions[function].name; in mxs_pinctrl_get_func_name()
192 *groups = d->soc->functions[group].groups; in mxs_pinctrl_get_func_groups()
193 *num_groups = d->soc->functions[group].ngroups; in mxs_pinctrl_get_func_groups()
437 soc->functions = devm_kzalloc(&pdev->dev, soc->nfunctions * in mxs_pinctrl_probe_dt()
438 sizeof(*soc->functions), GFP_KERNEL); in mxs_pinctrl_probe_dt()
439 if (!soc->functions) in mxs_pinctrl_probe_dt()
449 f = &soc->functions[idxf]; in mxs_pinctrl_probe_dt()
481 f = &soc->functions[idxf++]; in mxs_pinctrl_probe_dt()
502 f = &soc->functions[idxf++]; in mxs_pinctrl_probe_dt()
Dpinctrl-imx1-core.c320 info->functions[selector].name, info->groups[group].name); in imx1_pmx_set()
368 return info->functions[selector].name; in imx1_pmx_get_func_name()
378 *groups = info->functions[selector].groups; in imx1_pmx_get_groups()
379 *num_groups = info->functions[selector].num_groups; in imx1_pmx_get_groups()
523 func = &info->functions[index]; in imx1_pinctrl_parse_functions()
574 info->functions = devm_kzalloc(&pdev->dev, in imx1_pinctrl_parse_dt()
582 if (!info->functions || !info->groups) in imx1_pinctrl_parse_dt()
Dpinctrl-imx.c202 info->functions[selector].name, grp->name); in imx_pmx_set()
288 return info->functions[selector].name; in imx_pmx_get_func_name()
298 *groups = info->functions[selector].groups; in imx_pmx_get_groups()
299 *num_groups = info->functions[selector].num_groups; in imx_pmx_get_groups()
597 func = &info->functions[index]; in imx_pinctrl_parse_functions()
665 info->functions = devm_kzalloc(&pdev->dev, nfuncs * sizeof(struct imx_pmx_func), in imx_pinctrl_probe_dt()
667 if (!info->functions) in imx_pinctrl_probe_dt()
/drivers/staging/media/davinci_vpfe/
Ddavinci-vpfe-mc.txt49 IOCTLs and controls where possible and practical. Much of the functions provided
53 containing hardware-dependent functions.
65 VIDIOC_VPFE_RSZ_S_CONFIG are used to configure, enable and disable functions in
67 functions in the blocks they control. VIDIOC_VPFE_ISIF_S_RAW_PARAMS IOCTL
75 The detailed functions of the VPFE itself related to a given VPFE block is
/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c55 struct mvebu_pinctrl_function *functions; member
134 if (strcmp(name, pctl->functions[n].name) == 0) in mvebu_pinctrl_find_function_by_name()
135 return &pctl->functions[n]; in mvebu_pinctrl_find_function_by_name()
248 return pctl->functions[fid].name; in mvebu_pinmux_get_func_name()
257 *groups = pctl->functions[fid].groups; in mvebu_pinmux_get_groups()
258 *num_groups = pctl->functions[fid].num_groups; in mvebu_pinmux_get_groups()
266 struct mvebu_pinctrl_function *func = &pctl->functions[fid]; in mvebu_pinmux_set()
512 pctl->functions = funcs; in mvebu_pinctrl_build_functions()
/drivers/pinctrl/intel/
Dpinctrl-broxton.c185 .functions = bxt_north_functions,
302 .functions = bxt_northwest_functions,
409 .functions = bxt_west_functions,
485 .functions = bxt_southwest_functions,
663 .functions = apl_north_functions,
783 .functions = apl_northwest_functions,
893 .functions = apl_west_functions,
985 .functions = apl_southwest_functions,
/drivers/staging/speakup/
DTODO19 Some places are currently using in_atomic() because speakup functions
24 There is a duplication of the selection functions in selections.c. These
25 functions should get exported from drivers/char/selection.c (clear_selection
/drivers/pinctrl/
Dpinctrl-as3722.c83 const struct as3722_pin_function *functions; member
219 return as_pci->functions[function].name; in as3722_pinctrl_get_func_name()
228 *groups = as_pci->functions[function].groups; in as3722_pinctrl_get_func_groups()
229 *num_groups = as_pci->functions[function].ngroups; in as3722_pinctrl_get_func_groups()
238 u8 val = AS3722_GPIO_IOSF_VAL(as_pci->functions[function].mux_option); in as3722_pinctrl_set()
570 as_pci->functions = as3722_pin_function; in as3722_pinctrl_probe()
/drivers/pinctrl/samsung/
Dpinctrl-samsung.c709 struct samsung_pmx_func *functions, *func; in samsung_pinctrl_create_functions() local
738 functions = devm_kzalloc(dev, func_cnt * sizeof(*functions), in samsung_pinctrl_create_functions()
740 if (!functions) { in samsung_pinctrl_create_functions()
744 func = functions; in samsung_pinctrl_create_functions()
784 return functions; in samsung_pinctrl_create_functions()
798 struct samsung_pmx_func *functions; in samsung_pinctrl_parse_dt() local
807 functions = samsung_pinctrl_create_functions(dev, drvdata, &func_cnt); in samsung_pinctrl_parse_dt()
808 if (IS_ERR(functions)) { in samsung_pinctrl_parse_dt()
810 return PTR_ERR(functions); in samsung_pinctrl_parse_dt()
815 drvdata->pmx_functions = functions; in samsung_pinctrl_parse_dt()
/drivers/staging/iio/magnetometer/
DKconfig22 - hmc5843_core (core functions)
36 - hmc5843_core (core functions)
/drivers/usb/gadget/
Dcomposite.c219 list_add_tail(&function->list, &config->functions); in usb_add_function()
431 list_for_each_entry(f, &config->functions, list) { in config_buf()
642 list_for_each_entry(f, &cdev->config->functions, list) { in reset_config()
781 INIT_LIST_HEAD(&config->functions); in usb_add_config_only()
823 while (!list_empty(&config->functions)) { in usb_add_config()
826 f = list_first_entry(&config->functions, in usb_add_config()
875 while (!list_empty(&config->functions)) { in remove_config()
878 f = list_first_entry(&config->functions, in remove_config()
998 list_for_each_entry(f, &c->functions, list) { in get_string()
1057 list_for_each_entry(f, &c->functions, list) { in get_string()
[all …]
/drivers/iio/imu/
DKconfig46 A set of IO helper functions for the Analog Devices ADIS* device family.
52 A set of buffer helper functions for the Analog Devices ADIS* device
/drivers/pinctrl/bcm/
Dpinctrl-cygnus-mux.c112 const struct cygnus_pin_function *functions; member
755 return pinctrl->functions[selector].name; in cygnus_get_function_name()
765 *groups = pinctrl->functions[selector].groups; in cygnus_get_function_groups()
766 *num_groups = pinctrl->functions[selector].num_groups; in cygnus_get_function_groups()
831 &pinctrl->functions[func_select]; in cygnus_pinmux_set_mux()
985 pinctrl->functions = cygnus_pin_functions; in cygnus_pinmux_probe()
/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h44 const struct mtk_desc_function *functions; member
51 .functions = (struct mtk_desc_function[]){ \

12345678