Searched refs:pin_data (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/pinctrl/bcm/ |
A D | pinctrl-ns2-mux.c | 670 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable() 676 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable() 692 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable() 716 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew() 722 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_slew() 757 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_pull() 764 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_pull() 810 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_strength() 831 *strength = (val >> pin_data->pin_conf.drive_shift) & in ns2_pin_get_strength() 850 if (pin_data->pin_conf.base == -1) in ns2_pin_config_get() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
A D | gpio_service.c | 488 ddc->pin_data = dal_gpio_create( in dal_gpio_create_ddc() 491 if (!ddc->pin_data) { in dal_gpio_create_ddc() 511 dal_gpio_destroy(&ddc->pin_data); in dal_gpio_create_ddc() 528 dal_gpio_destroy(&(*ddc)->pin_data); in dal_gpio_destroy_ddc() 546 result = dal_gpio_open_ex(ddc->pin_data, mode); in dal_ddc_open() 573 hw_data = FROM_HW_GPIO_PIN(ddc->pin_data->pin); in dal_ddc_open() 589 dal_gpio_close(ddc->pin_data); in dal_ddc_open() 601 dal_gpio_get_mode(ddc->pin_data); in dal_ddc_change_mode() 603 result = dal_gpio_change_mode(ddc->pin_data, mode); in dal_ddc_change_mode() 621 dal_gpio_change_mode(ddc->pin_data, original_mode); in dal_ddc_change_mode() [all …]
|
/linux/drivers/pinctrl/renesas/ |
A D | pinctrl-rzg2l.c | 434 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_get() local 442 if (!pin_data) in rzg2l_pinctrl_pinconf_get() 445 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_get() 503 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_set() local 512 if (!pin_data) in rzg2l_pinctrl_pinconf_set() 515 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_set() 1023 u32 *pin_data; in rzg2l_pinctrl_register() local 1038 sizeof(*pin_data), GFP_KERNEL); in rzg2l_pinctrl_register() 1039 if (!pin_data) in rzg2l_pinctrl_register() 1051 pins[i].drv_data = &pin_data[i]; in rzg2l_pinctrl_register() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_aux.c | 279 EVENT_LOG_AUX_REQ(engine->ddc->pin_data->en, EVENT_LOG_AUX_ORIGIN_NATIVE, in submit_channel_request() 444 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_configure_timeout() 575 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_raw() 602 EVENT_LOG_AUX_REP(aux_engine->ddc->pin_data->en, in dce_aux_transfer_raw() 621 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_dmub_raw() 714 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_with_retries()
|
A D | dce_i2c_sw.c | 48 dal_gpio_get_value(ddc->pin_data, &value); in read_bit_from_ddc() 63 dal_gpio_set_value(ddc->pin_data, value); in write_bit_to_ddc()
|
/linux/drivers/pinctrl/qcom/ |
A D | pinctrl-ssbi-gpio.c | 710 struct pm8xxx_pin_data *pin_data; in pm8xxx_gpio_probe() local 741 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_gpio_probe() 745 if (!pin_data) in pm8xxx_gpio_probe() 749 pin_data[i].reg = SSBI_REG_ADDR_GPIO(i); in pm8xxx_gpio_probe() 751 ret = pm8xxx_pin_populate(pctrl, &pin_data[i]); in pm8xxx_gpio_probe() 757 pins[i].drv_data = &pin_data[i]; in pm8xxx_gpio_probe()
|
A D | pinctrl-ssbi-mpp.c | 793 struct pm8xxx_pin_data *pin_data; in pm8xxx_mpp_probe() local 825 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_mpp_probe() 829 if (!pin_data) in pm8xxx_mpp_probe() 833 pin_data[i].reg = SSBI_REG_ADDR_MPP(i); in pm8xxx_mpp_probe() 835 ret = pm8xxx_pin_populate(pctrl, &pin_data[i]); in pm8xxx_mpp_probe() 841 pins[i].drv_data = &pin_data[i]; in pm8xxx_mpp_probe()
|
/linux/drivers/pinctrl/mvebu/ |
A D | pinctrl-armada-37xx.c | 962 const struct armada_37xx_pin_data *pin_data = info->data; in armada_37xx_pinctrl_register() local 967 info->groups = pin_data->groups; in armada_37xx_pinctrl_register() 968 info->ngroups = pin_data->ngroups; in armada_37xx_pinctrl_register() 977 pin_data->nr_pins, sizeof(*pindesc), in armada_37xx_pinctrl_register() 983 ctrldesc->npins = pin_data->nr_pins; in armada_37xx_pinctrl_register() 986 for (pin = 0; pin < pin_data->nr_pins; pin++) { in armada_37xx_pinctrl_register() 989 pin_data->name, pin); in armada_37xx_pinctrl_register() 998 pin_data->nr_pins, in armada_37xx_pinctrl_register()
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dc_ddc_types.h | 110 struct gpio *pin_data; member
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_link_ddc.c | 696 if (ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout) { in dc_link_aux_try_to_configure_timeout() 697 ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout(ddc, timeout); in dc_link_aux_try_to_configure_timeout()
|
Completed in 30 milliseconds