Searched refs:pin_data (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/drivers/pinctrl/bcm/ |
D | pinctrl-ns2-mux.c | 663 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_enable() local 670 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable() 671 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.input_en); in ns2_pin_set_enable() 674 val |= NS2_PIN_INPUT_EN_MASK << pin_data->pin_conf.input_en; in ns2_pin_set_enable() 676 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable() 686 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_get_enable() local 691 enable = readl(pinctrl->pinconf_base + pin_data->pin_conf.offset); in ns2_pin_get_enable() 692 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable() 709 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_slew() local 716 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/gpio/ |
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() 579 result = dal_gpio_set_config(ddc->pin_data, &config_data); 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() [all …]
|
/Linux-v5.10/drivers/pinctrl/qcom/ |
D | pinctrl-ssbi-mpp.c | 750 struct pm8xxx_pin_data *pin_data; in pm8xxx_mpp_probe() local 784 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_mpp_probe() 788 if (!pin_data) in pm8xxx_mpp_probe() 792 pin_data[i].reg = SSBI_REG_ADDR_MPP(i); in pm8xxx_mpp_probe() 793 pin_data[i].irq = platform_get_irq(pdev, i); in pm8xxx_mpp_probe() 794 if (pin_data[i].irq < 0) in pm8xxx_mpp_probe() 795 return pin_data[i].irq; in pm8xxx_mpp_probe() 797 ret = pm8xxx_pin_populate(pctrl, &pin_data[i]); in pm8xxx_mpp_probe() 803 pins[i].drv_data = &pin_data[i]; in pm8xxx_mpp_probe()
|
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()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_aux.c | 270 EVENT_LOG_AUX_REQ(engine->ddc->pin_data->en, EVENT_LOG_AUX_ORIGIN_NATIVE, in submit_channel_request() 441 struct dce_aux *aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_configure_timeout() 563 aux_engine = ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]; in dce_aux_transfer_raw() 589 EVENT_LOG_AUX_REP(aux_engine->ddc->pin_data->en, in dce_aux_transfer_raw()
|
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-v5.10/drivers/pinctrl/mvebu/ |
D | pinctrl-armada-37xx.c | 963 const struct armada_37xx_pin_data *pin_data = info->data; in armada_37xx_pinctrl_register() local 968 info->groups = pin_data->groups; in armada_37xx_pinctrl_register() 969 info->ngroups = pin_data->ngroups; in armada_37xx_pinctrl_register() 978 pin_data->nr_pins, sizeof(*pindesc), in armada_37xx_pinctrl_register() 984 ctrldesc->npins = pin_data->nr_pins; in armada_37xx_pinctrl_register() 987 for (pin = 0; pin < pin_data->nr_pins; pin++) { in armada_37xx_pinctrl_register() 990 pin_data->name, pin); in armada_37xx_pinctrl_register() 999 pin_data->nr_pins, in armada_37xx_pinctrl_register()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_ddc_types.h | 120 struct gpio *pin_data; member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_ddc.c | 656 if (ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout) { in dc_link_aux_try_to_configure_timeout() 657 ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout(ddc, timeout); in dc_link_aux_try_to_configure_timeout()
|