Home
last modified time | relevance | path

Searched refs:pin_data (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/pinctrl/bcm/
H A Dpinctrl-ns2-mux.c657 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_enable() local
664 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_enable()
665 val &= ~(NS2_PIN_SRC_MASK << pin_data->pin_conf.input_en); in ns2_pin_set_enable()
668 val |= NS2_PIN_INPUT_EN_MASK << pin_data->pin_conf.input_en; in ns2_pin_set_enable()
670 writel(val, (base_address + pin_data->pin_conf.offset)); in ns2_pin_set_enable()
680 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_get_enable() local
685 enable = readl(pinctrl->pinconf_base + pin_data->pin_conf.offset); in ns2_pin_get_enable()
686 enable = (enable >> pin_data->pin_conf.input_en) & in ns2_pin_get_enable()
703 struct ns2_pin *pin_data = pctrldev->desc->pins[pin].drv_data; in ns2_pin_set_slew() local
710 val = readl(base_address + pin_data->pin_conf.offset); in ns2_pin_set_slew()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dgpio_service.c495 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()
586 result = dal_gpio_set_config(ddc->pin_data, &config_data); 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()
[all …]
/linux/rust/macros/
H A Dlib.rs15 mod pin_data; module
270 pub fn pin_data(inner: TokenStream, item: TokenStream) -> TokenStream { in pin_data() function
271 pin_data::pin_data(inner, item) in pin_data()
H A Dpin_data.rs6 pub(crate) fn pin_data(args: TokenStream, input: TokenStream) -> TokenStream { in pin_data() function
/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rzv2m.c460 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_get() local
467 if (!pin_data) in rzv2m_pinctrl_pinconf_get()
470 if (*pin_data & RZV2M_SINGLE_PIN) { in rzv2m_pinctrl_pinconf_get()
471 port = RZV2M_SINGLE_PIN_GET_PORT(*pin_data); in rzv2m_pinctrl_pinconf_get()
472 cfg = RZV2M_SINGLE_PIN_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_get()
473 bit = RZV2M_SINGLE_PIN_GET_BIT(*pin_data); in rzv2m_pinctrl_pinconf_get()
475 cfg = RZV2M_GPIO_PORT_GET_CFGS(*pin_data); in rzv2m_pinctrl_pinconf_get()
479 if (rzv2m_validate_gpio_pin(pctrl, *pin_data, RZV2M_PIN_ID_TO_PORT(_pin), bit)) in rzv2m_pinctrl_pinconf_get()
563 unsigned int *pin_data = pin->drv_data; in rzv2m_pinctrl_pinconf_set() local
571 if (!pin_data) in rzv2m_pinctrl_pinconf_set()
[all …]
H A Dpinctrl-rzg2l.c504 u64 *pin_data = pctrl->desc.pins[pins[i]].drv_data; in rzg2l_pinctrl_set_mux() local
505 u32 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_set_mux()
997 u64 *pin_data = pctrl->desc.pins[_pin].drv_data; in rzg2l_pin_to_oen_bit() local
998 u64 caps = FIELD_GET(PIN_CFG_MASK, *pin_data); in rzg2l_pin_to_oen_bit()
1051 u64 *pin_data = pctrl->desc.pins[_pin].drv_data; in rzg3s_pin_to_oen_bit() local
1054 if (*pin_data & RZG2L_SINGLE_PIN) in rzg3s_pin_to_oen_bit()
1226 u64 *pin_data = pin->drv_data; in rzg2l_pinctrl_pinconf_get() local
1233 if (!pin_data) in rzg2l_pinctrl_pinconf_get()
1236 off = RZG2L_PIN_CFG_TO_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get()
1237 cfg = FIELD_GET(PIN_CFG_MASK, *pin_data); in rzg2l_pinctrl_pinconf_get()
[all …]
/linux/rust/kernel/block/mq/
H A Dtag_set.rs18 use macros::{pin_data, pinned_drop};
27 #[pin_data(PinnedDrop)]
/linux/rust/kernel/sync/
H A Dcondvar.rs20 use macros::pin_data;
82 #[pin_data]
H A Dlock.rs11 use macros::pin_data;
84 #[pin_data]
H A Darc.rs36 use macros::pin_data;
134 #[pin_data]
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-ssbi-gpio.c729 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 Dpinctrl-ssbi-mpp.c819 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()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_aux.c277 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 Ddce_i2c_sw.c46 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/rust/kernel/
H A Dprelude.rs23 pub use macros::{module, pin_data, pinned_drop, vtable, Zeroable};
H A Dworkqueue.rs227 #[pin_data]
349 #[pin_data]
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_ddc_types.h138 struct gpio *pin_data; member
/linux/rust/kernel/init/
H A Dmacros.rs854 @pin_data(__ThePinData),
977 @pin_data($pin_data:ident),
990 impl<$($impl_generics)*> $pin_data<$($ty_generics)*>
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_ddc.c527 if (ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout) { in try_to_configure_aux_timeout()
528 ddc->ctx->dc->res_pool->engines[ddc_pin->pin_data->en]->funcs->configure_timeout(ddc, timeout); in try_to_configure_aux_timeout()