Home
last modified time | relevance | path

Searched refs:pin_mode (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c387 u8 pin_mode = 0; in mlx5_extts_configure() local
416 pin_mode = MLX5_PIN_MODE_IN; in mlx5_extts_configure()
426 MLX5_SET(mtpps_reg, in, pin_mode, pin_mode); in mlx5_extts_configure()
576 u8 pin_mode = 0; in mlx5_perout_configure() local
599 pin_mode = MLX5_PIN_MODE_OUT; in mlx5_perout_configure()
620 MLX5_SET(mtpps_reg, in, pin_mode, pin_mode); in mlx5_perout_configure()
731 mode = MLX5_GET(mtpps_reg, out, pin_mode); in mlx5_get_pps_pin_mode()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_vma.c218 struct pin_mode { struct
222 const struct pin_mode *mode, argument
228 const struct pin_mode *mode, in assert_pin_valid() argument
242 const struct pin_mode *mode, in assert_pin_enospc()
250 const struct pin_mode *mode, in assert_pin_einval()
259 const struct pin_mode modes[] = { in igt_vma_pin1()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-thunderbay.c71 #define THUNDERBAY_MUX(pin_mode, pin_function) { \ argument
72 .mode = pin_mode, \
703 unsigned int i, pin_mode; in thb_pinctrl_set_mux() local
716 pin_mode = *(unsigned int *)(function->data); in thb_pinctrl_set_mux()
722 switch (pin_mode) { in thb_pinctrl_set_mux()
Dpinctrl-keembay.c77 #define KEEMBAY_MUX(pin_mode, pin_function) { \ argument
78 .mode = pin_mode, \
936 u8 pin_mode; in keembay_set_mux() local
949 pin_mode = *(u8 *)(func->data); in keembay_set_mux()
952 val = u32_replace_bits(val, pin_mode, KEEMBAY_GPIO_MODE_SELECT_MASK); in keembay_set_mux()
/linux-6.1.9/drivers/spi/
Dspi-armada-3700.c156 unsigned int pin_mode, bool receiving) in a3700_spi_pin_mode_set() argument
164 switch (pin_mode) { in a3700_spi_pin_mode_set()
177 dev_err(&a3700_spi->master->dev, "wrong pin mode %u", pin_mode); in a3700_spi_pin_mode_set()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h10147 MLXSW_ITEM32(reg, mtpps, pin_mode, 0x20, 8, 4);
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h10399 u8 pin_mode[0x4]; member