/openbmc/u-boot/drivers/pinctrl/nxp/ |
H A D | pinctrl-imx.c | 23 u32 *pin_data; in imx_pinctrl_set_state() local 52 if (!pin_data) in imx_pinctrl_set_state() 56 pin_data, size >> 2)) { in imx_pinctrl_set_state() 58 devm_kfree(dev, pin_data); in imx_pinctrl_set_state() 72 mux_reg = pin_data[j++]; in imx_pinctrl_set_state() 80 conf_reg = pin_data[j++]; in imx_pinctrl_set_state() 88 devm_kfree(dev, pin_data); in imx_pinctrl_set_state() 92 input_reg = pin_data[j++]; in imx_pinctrl_set_state() 93 mux_mode = pin_data[j++]; in imx_pinctrl_set_state() 94 input_val = pin_data[j++]; in imx_pinctrl_set_state() [all …]
|
H A D | pinctrl-scu.c | 43 int imx_pinctrl_scu_conf_pins(struct imx_pinctrl_soc_info *info, u32 *pin_data, in imx_pinctrl_scu_conf_pins() argument 55 pin_id = pin_data[j++]; in imx_pinctrl_scu_conf_pins() 56 mux = pin_data[j++]; in imx_pinctrl_scu_conf_pins() 57 config_val = pin_data[j++]; in imx_pinctrl_scu_conf_pins()
|
H A D | pinctrl-imx.h | 59 u32 *pin_data, int npins); 62 u32 *pin_data, int npins) in imx_pinctrl_scu_conf_pins() argument
|
/openbmc/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-ns2-mux.c | 664 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable() 670 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable() 686 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable() 710 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew() 716 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_slew() 751 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_pull() 758 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_pull() 804 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_strength() 825 *strength = (val >> pin_data->pin_conf.drive_shift) & in ns2_pin_get_strength() 844 if (pin_data->pin_conf.base == -1) in ns2_pin_config_get() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/ |
H A D | gpio_service.c | 495 ddc->pin_data = dal_gpio_create( in dal_gpio_create_ddc() 498 if (!ddc->pin_data) { in dal_gpio_create_ddc() 518 dal_gpio_destroy(&ddc->pin_data); in dal_gpio_create_ddc() 535 dal_gpio_destroy(&(*ddc)->pin_data); in dal_gpio_destroy_ddc() 553 result = dal_gpio_open_ex(ddc->pin_data, mode); in dal_ddc_open() 580 hw_data = FROM_HW_GPIO_PIN(ddc->pin_data->pin); in dal_ddc_open() 596 dal_gpio_close(ddc->pin_data); in dal_ddc_open() 608 dal_gpio_get_mode(ddc->pin_data); in dal_ddc_change_mode() 610 result = dal_gpio_change_mode(ddc->pin_data, mode); in dal_ddc_change_mode() 628 dal_gpio_change_mode(ddc->pin_data, original_mode); in dal_ddc_change_mode() [all …]
|
/openbmc/linux/rust/macros/ |
H A D | lib.rs | 11 mod pin_data; module 209 pub fn pin_data(inner: TokenStream, item: TokenStream) -> TokenStream { in pin_data() function 210 pin_data::pin_data(inner, item) in pin_data()
|
H A D | pin_data.rs | 6 pub(crate) fn pin_data(args: TokenStream, input: TokenStream) -> TokenStream { in pin_data() function
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzv2m.c | 464 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_get() local 471 if (!pin_data) in rzv2m_pinctrl_pinconf_get() 474 if (*pin_data & RZV2M_SINGLE_PIN) { in rzv2m_pinctrl_pinconf_get() 567 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_set() local 575 if (!pin_data) in rzv2m_pinctrl_pinconf_set() 578 if (*pin_data & RZV2M_SINGLE_PIN) { in rzv2m_pinctrl_pinconf_set() 988 u32 *pin_data; in rzv2m_pinctrl_register() local 1003 sizeof(*pin_data), GFP_KERNEL); in rzv2m_pinctrl_register() 1004 if (!pin_data) in rzv2m_pinctrl_register() 1016 pins[i].drv_data = &pin_data[i]; in rzv2m_pinctrl_register() [all …]
|
H A D | pinctrl-rzg2l.c | 524 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_get() local 532 if (!pin_data) in rzg2l_pinctrl_pinconf_get() 535 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_get() 614 unsigned int *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_set() local 623 if (!pin_data) in rzg2l_pinctrl_pinconf_set() 626 if (*pin_data & RZG2L_SINGLE_PIN) { in rzg2l_pinctrl_pinconf_set() 1420 u32 *pin_data; in rzg2l_pinctrl_register() local 1435 sizeof(*pin_data), GFP_KERNEL); in rzg2l_pinctrl_register() 1436 if (!pin_data) in rzg2l_pinctrl_register() 1448 pins[i].drv_data = &pin_data[i]; in rzg2l_pinctrl_register() [all …]
|
/openbmc/linux/rust/kernel/sync/ |
H A D | condvar.rs | 11 use macros::pin_data; 73 #[pin_data]
|
H A D | lock.rs | 11 use macros::pin_data; 77 #[pin_data]
|
H A D | arc.rs | 35 use macros::pin_data; 133 #[pin_data]
|
/openbmc/u-boot/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 584 const struct armada_37xx_pin_data *pin_data; in armada_37xx_pinctrl_probe() local 588 pin_data = info->data; in armada_37xx_pinctrl_probe() 596 info->groups = pin_data->groups; in armada_37xx_pinctrl_probe() 597 info->ngroups = pin_data->ngroups; in armada_37xx_pinctrl_probe() 603 info->funcs = devm_kzalloc(info->dev, pin_data->nr_pins * in armada_37xx_pinctrl_probe()
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-ssbi-gpio.c | 729 struct pm8xxx_pin_data *pin_data; in pm8xxx_gpio_probe() local 760 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_gpio_probe() 764 if (!pin_data) in pm8xxx_gpio_probe() 768 pin_data[i].reg = SSBI_REG_ADDR_GPIO(i); in pm8xxx_gpio_probe() 770 ret = pm8xxx_pin_populate(pctrl, &pin_data[i]); in pm8xxx_gpio_probe() 776 pins[i].drv_data = &pin_data[i]; in pm8xxx_gpio_probe()
|
H A D | pinctrl-ssbi-mpp.c | 819 struct pm8xxx_pin_data *pin_data; in pm8xxx_mpp_probe() local 851 pin_data = devm_kcalloc(&pdev->dev, in pm8xxx_mpp_probe() 855 if (!pin_data) in pm8xxx_mpp_probe() 859 pin_data[i].reg = SSBI_REG_ADDR_MPP(i); in pm8xxx_mpp_probe() 861 ret = pm8xxx_pin_populate(pctrl, &pin_data[i]); in pm8xxx_mpp_probe() 867 pins[i].drv_data = &pin_data[i]; in pm8xxx_mpp_probe()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 957 const struct armada_37xx_pin_data *pin_data = info->data; in armada_37xx_pinctrl_register() local 964 info->groups = pin_data->groups; in armada_37xx_pinctrl_register() 965 info->ngroups = pin_data->ngroups; in armada_37xx_pinctrl_register() 973 pindesc = devm_kcalloc(dev, pin_data->nr_pins, sizeof(*pindesc), GFP_KERNEL); in armada_37xx_pinctrl_register() 978 ctrldesc->npins = pin_data->nr_pins; in armada_37xx_pinctrl_register() 980 pin_names = devm_kasprintf_strarray(dev, pin_data->name, pin_data->nr_pins); in armada_37xx_pinctrl_register() 985 for (pin = 0; pin < pin_data->nr_pins; pin++) { in armada_37xx_pinctrl_register() 995 info->funcs = devm_kcalloc(dev, pin_data->nr_pins, sizeof(*info->funcs), GFP_KERNEL); in armada_37xx_pinctrl_register()
|
/openbmc/linux/rust/kernel/ |
H A D | prelude.rs | 21 pub use macros::{module, pin_data, pinned_drop, vtable, Zeroable};
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_ddc_types.h | 138 struct gpio *pin_data; member
|
/openbmc/linux/rust/kernel/init/ |
H A D | macros.rs | 837 @pin_data(__ThePinData), 960 @pin_data($pin_data:ident), 973 impl<$($impl_generics)*> $pin_data<$($ty_generics)*>
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_ddc.c | 529 if (ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout) { in try_to_configure_aux_timeout() 530 ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout(ddc, timeout); in try_to_configure_aux_timeout()
|