/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_dim.c | 37 mlx5e_complete_dim_work(struct dim *dim, struct dim_cq_moder moder, in mlx5e_complete_dim_work() argument 40 mlx5_core_modify_cq_moderation(mdev, mcq, moder.usec, moder.pkts); in mlx5e_complete_dim_work()
|
H A D | en.h | 1038 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder,
|
H A D | en_main.c | 2035 int mlx5e_open_cq(struct mlx5e_priv *priv, struct dim_cq_moder moder, in mlx5e_open_cq() argument 2051 mlx5_core_modify_cq_moderation(mdev, &cq->mcq, moder.usec, moder.pkts); in mlx5e_open_cq()
|
/openbmc/qemu/tests/qtest/ |
H A D | stm32l4x5_gpio-test.c | 219 uint32_t moder = gpio_readl(GPIO_A, MODER); in test_idr_reset_value() local 226 g_assert_cmphex(moder, ==, reset(GPIO_A, MODER)); in test_idr_reset_value() 234 moder = gpio_readl(GPIO_B, MODER); in test_idr_reset_value() 241 g_assert_cmphex(moder, ==, reset(GPIO_B, MODER)); in test_idr_reset_value() 249 moder = gpio_readl(GPIO_C, MODER); in test_idr_reset_value() 255 g_assert_cmphex(moder, ==, reset(GPIO_C, MODER)); in test_idr_reset_value() 263 moder = gpio_readl(GPIO_H, MODER); in test_idr_reset_value() 269 g_assert_cmphex(moder, ==, reset(GPIO_H, MODER)); in test_idr_reset_value()
|
/openbmc/qemu/hw/gpio/ |
H A D | stm32l4x5_gpio.c | 61 return extract32(s->moder, 2 * pin, 2) == 1; in is_output() 78 s->moder = s->moder_reset; in stm32l4x5_gpio_reset_hold() 267 s->moder = value; in stm32l4x5_gpio_write() 352 return s->moder; in stm32l4x5_gpio_read() 433 VMSTATE_UINT32(moder, Stm32l4x5GpioState),
|
/openbmc/u-boot/drivers/gpio/ |
H A D | stm32f7_gpio.c | 59 clrsetbits_le32(®s->moder, mask, STM32_GPIO_MODE_IN << bits_index); in stm32_gpio_direction_input() 80 clrsetbits_le32(®s->moder, mask, STM32_GPIO_MODE_OUT << bits_index); in stm32_gpio_direction_output() 131 mode = (readl(®s->moder) & mask) >> bits_index; in stm32_gpio_get_function()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 504 struct dim_cq_moder moder = {}; in mlx5e_get_def_tx_moderation() local 506 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_tx_moderation() 507 moder.pkts = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_PKTS; in mlx5e_get_def_tx_moderation() 508 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC; in mlx5e_get_def_tx_moderation() 510 moder.usec = MLX5E_PARAMS_DEFAULT_TX_CQ_MODERATION_USEC_FROM_CQE; in mlx5e_get_def_tx_moderation() 512 return moder; in mlx5e_get_def_tx_moderation() 517 struct dim_cq_moder moder = {}; in mlx5e_get_def_rx_moderation() local 519 moder.cq_period_mode = cq_period_mode; in mlx5e_get_def_rx_moderation() 520 moder.pkts = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_PKTS; in mlx5e_get_def_rx_moderation() 521 moder.usec = MLX5E_PARAMS_DEFAULT_RX_CQ_MODERATION_USEC; in mlx5e_get_def_rx_moderation() [all …]
|
/openbmc/qemu/include/hw/gpio/ |
H A D | stm32l4x5_gpio.h | 37 uint32_t moder; member
|
/openbmc/u-boot/arch/arm/mach-stm32mp/include/mach/ |
H A D | gpio.h | 102 u32 moder; /* GPIO port mode */ member
|
/openbmc/u-boot/arch/arm/include/asm/arch-stm32/ |
H A D | gpio.h | 101 u32 moder; /* GPIO port mode */ member
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1164 struct dim_cq_moder moder; in nfp_net_rx_dim_work() local 1169 moder = net_dim_get_rx_moderation(dim->mode, dim->profile_ix); in nfp_net_rx_dim_work() 1178 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_rx_dim_work() 1182 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_rx_dim_work() 1193 struct dim_cq_moder moder; in nfp_net_tx_dim_work() local 1198 moder = net_dim_get_tx_moderation(dim->mode, dim->profile_ix); in nfp_net_tx_dim_work() 1207 if (nfp_net_coalesce_para_check(factor * moder.usec, moder.pkts)) in nfp_net_tx_dim_work() 1211 value = (moder.pkts << 16) | (factor * moder.usec); in nfp_net_tx_dim_work()
|
/openbmc/linux/include/linux/mlx5/ |
H A D | cq.h | 119 } moder; member
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 648 struct dim_cq_moder moder; in bcm_sysport_set_coalesce() local 675 moder = net_dim_get_def_rx_moderation(priv->dim.dim.mode); in bcm_sysport_set_coalesce() 676 usecs = moder.usec; in bcm_sysport_set_coalesce() 677 pkts = moder.pkts; in bcm_sysport_set_coalesce() 1497 struct dim_cq_moder moder; in bcm_sysport_init_rx_coalesce() local 1505 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcm_sysport_init_rx_coalesce() 1506 usecs = moder.usec; in bcm_sysport_init_rx_coalesce() 1507 pkts = moder.pkts; in bcm_sysport_init_rx_coalesce()
|
/openbmc/linux/drivers/soc/fsl/dpio/ |
H A D | dpio-service.c | 115 struct dim_cq_moder moder = in dpaa2_io_dim_work() local 119 dpaa2_io_set_irq_coalescing(d, moder.usec); in dpaa2_io_dim_work()
|
/openbmc/u-boot/drivers/pinctrl/ |
H A D | pinctrl_stm32.c | 259 clrsetbits_le32(®s->moder, MODE_BITS_MASK << index, in stm32_gpio_config()
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 858 struct dim_cq_moder moder; in bcmgenet_set_ring_rx_coalesce() local 867 moder = net_dim_get_def_rx_moderation(ring->dim.dim.mode); in bcmgenet_set_ring_rx_coalesce() 868 usecs = moder.usec; in bcmgenet_set_ring_rx_coalesce() 869 pkts = moder.pkts; in bcmgenet_set_ring_rx_coalesce() 2616 struct dim_cq_moder moder; in bcmgenet_init_rx_coalesce() local 2624 moder = net_dim_get_def_rx_moderation(dim->dim.mode); in bcmgenet_init_rx_coalesce() 2625 usecs = moder.usec; in bcmgenet_init_rx_coalesce() 2626 pkts = moder.pkts; in bcmgenet_init_rx_coalesce()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 744 struct dim_cq_moder moder = in enetc_reuse_page() 749 v->rx_ictt = enetc_usecs_to_cycles(moder.usec); in enetc_reuse_page() 702 struct dim_cq_moder moder = enetc_rx_dim_work() local
|