/linux-6.1.9/drivers/pinctrl/bcm/ |
D | pinctrl-ns2-mux.c | 655 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_enable() local 662 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable() 663 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.input_en); in ns2_pin_set_enable() 666 val |= NS2_PIN_INPUT_EN_MASK << pin_data->pin_conf.input_en; in ns2_pin_set_enable() 668 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable() 678 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_get_enable() local 683 enable = readl(pinctrl->pinconf_base + pin_data->pin_conf.offset); in ns2_pin_get_enable() 684 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable() 701 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_slew() local 708 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/gpio/ |
D | gpio_service.c | 486 ddc->pin_data = dal_gpio_create( in dal_gpio_create_ddc() 489 if (!ddc->pin_data) { in dal_gpio_create_ddc() 509 dal_gpio_destroy(&ddc->pin_data); in dal_gpio_create_ddc() 526 dal_gpio_destroy(&(*ddc)->pin_data); in dal_gpio_destroy_ddc() 544 result = dal_gpio_open_ex(ddc->pin_data, mode); in dal_ddc_open() 571 hw_data = FROM_HW_GPIO_PIN(ddc->pin_data->pin); in dal_ddc_open() 577 result = dal_gpio_set_config(ddc->pin_data, &config_data); in dal_ddc_open() 587 dal_gpio_close(ddc->pin_data); in dal_ddc_open() 599 dal_gpio_get_mode(ddc->pin_data); in dal_ddc_change_mode() 601 result = dal_gpio_change_mode(ddc->pin_data, mode); in dal_ddc_change_mode() [all …]
|
/linux-6.1.9/drivers/pinctrl/renesas/ |
D | pinctrl-rzv2m.c | 443 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_get() local 450 if (!pin_data) in rzv2m_pinctrl_pinconf_get() 453 if (*pin_data & RZV2M_SINGLE_PIN) { in rzv2m_pinctrl_pinconf_get() 454 port = RZV2M_SINGLE_PIN_GET_PORT(*pin_data); in rzv2m_pinctrl_pinconf_get() 455 cfg = RZV2M_SINGLE_PIN_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_get() 456 bit = RZV2M_SINGLE_PIN_GET_BIT(*pin_data); in rzv2m_pinctrl_pinconf_get() 458 cfg = RZV2M_GPIO_PORT_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_get() 462 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_get() 546 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_set() local 554 if (!pin_data) in rzv2m_pinctrl_pinconf_set() [all …]
|
D | pinctrl-rzg2l.c | 501 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_get() local 509 if (!pin_data) in rzg2l_pinctrl_pinconf_get() 512 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_get() 513 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get() 514 cfg = RZG2L_SINGLE_PIN_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_get() 515 bit = RZG2L_SINGLE_PIN_GET_BIT(*pin_data); in rzg2l_pinctrl_pinconf_get() 517 cfg = RZG2L_GPIO_PORT_GET_CFGS(*pin_data); in rzg2l_pinctrl_pinconf_get() 521 if (rzg2l_validate_gpio_pin(pctrl, *pin_data, RZG2L_PIN_ID_TO_PORT(_pin), bit)) in rzg2l_pinctrl_pinconf_get() 591 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_set() local 600 if (!pin_data) in rzg2l_pinctrl_pinconf_set() [all …]
|
/linux-6.1.9/drivers/pinctrl/qcom/ |
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()
|
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-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_aux.c | 277 EVENT_LOG_AUX_REQ(engine->ddc->pin_data->en, EVENT_LOG_AUX_ORIGIN_NATIVE, in submit_channel_request() 443 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_configure_timeout() 577 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_raw() 604 EVENT_LOG_AUX_REP(aux_engine->ddc->pin_data->en, in dce_aux_transfer_raw() 623 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_dmub_raw() 716 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_with_retries()
|
D | dce_i2c_sw.c | 46 dal_gpio_get_value(ddc->pin_data, &value); in read_bit_from_ddc() 61 dal_gpio_set_value(ddc->pin_data, value); in write_bit_to_ddc()
|
/linux-6.1.9/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 945 const struct armada_37xx_pin_data *pin_data = info->data; in armada_37xx_pinctrl_register() local 952 info->groups = pin_data->groups; in armada_37xx_pinctrl_register() 953 info->ngroups = pin_data->ngroups; in armada_37xx_pinctrl_register() 961 pindesc = devm_kcalloc(dev, pin_data->nr_pins, sizeof(*pindesc), GFP_KERNEL); in armada_37xx_pinctrl_register() 966 ctrldesc->npins = pin_data->nr_pins; in armada_37xx_pinctrl_register() 968 pin_names = devm_kasprintf_strarray(dev, pin_data->name, pin_data->nr_pins); in armada_37xx_pinctrl_register() 973 for (pin = 0; pin < pin_data->nr_pins; pin++) { in armada_37xx_pinctrl_register() 983 info->funcs = devm_kcalloc(dev, pin_data->nr_pins, sizeof(*info->funcs), GFP_KERNEL); in armada_37xx_pinctrl_register()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_ddc_types.h | 110 struct gpio *pin_data; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_ddc.c | 707 if (ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout) { in dc_link_aux_try_to_configure_timeout() 708 ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout(ddc, timeout); in dc_link_aux_try_to_configure_timeout()
|