Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dhealth.c162 struct mlx5e_modify_sq_param msp = {}; in mlx5e_health_sq_to_ready() local
165 msp.curr_state = MLX5_SQC_STATE_ERR; in mlx5e_health_sq_to_ready()
166 msp.next_state = MLX5_SQC_STATE_RST; in mlx5e_health_sq_to_ready()
168 err = mlx5e_modify_sq(mdev, sqn, &msp); in mlx5e_health_sq_to_ready()
174 memset(&msp, 0, sizeof(msp)); in mlx5e_health_sq_to_ready()
175 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_health_sq_to_ready()
176 msp.next_state = MLX5_SQC_STATE_RDY; in mlx5e_health_sq_to_ready()
178 err = mlx5e_modify_sq(mdev, sqn, &msp); in mlx5e_health_sq_to_ready()
/drivers/net/ethernet/marvell/
Dmv643xx_eth.c2621 mv643xx_eth_conf_mbus_windows(struct mv643xx_eth_shared_private *msp, in mv643xx_eth_conf_mbus_windows() argument
2624 void __iomem *base = msp->base; in mv643xx_eth_conf_mbus_windows()
2652 msp->win_protect = win_protect; in mv643xx_eth_conf_mbus_windows()
2655 static void infer_hw_params(struct mv643xx_eth_shared_private *msp) in infer_hw_params() argument
2662 writel(0x02000000, msp->base + 0x0400 + SDMA_CONFIG); in infer_hw_params()
2663 if (readl(msp->base + 0x0400 + SDMA_CONFIG) & 0x02000000) in infer_hw_params()
2664 msp->extended_rx_coal_limit = 1; in infer_hw_params()
2666 msp->extended_rx_coal_limit = 0; in infer_hw_params()
2673 writel(1, msp->base + 0x0400 + TX_BW_MTU_MOVED); in infer_hw_params()
2674 if (readl(msp->base + 0x0400 + TX_BW_MTU_MOVED) & 1) { in infer_hw_params()
[all …]
/drivers/pci/hotplug/
Dshpchp_ctrl.c195 enum pci_bus_speed msp) in fix_bus_speed() argument
212 if (asp < msp) { in fix_bus_speed()
216 if (bsp != msp) in fix_bus_speed()
217 rc = change_bus_speed(ctrl, pslot, msp); in fix_bus_speed()
234 enum pci_bus_speed asp, bsp, msp; in board_added() local
273 msp = ctrl->pci_dev->subordinate->max_bus_speed; in board_added()
281 bsp, msp); in board_added()
283 rc = fix_bus_speed(ctrl, p_slot, slots_not_empty, asp, bsp, msp); in board_added()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c1283 struct mlx5e_modify_sq_param msp = {0}; in mlx5e_create_sq_rdy() local
1290 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_create_sq_rdy()
1291 msp.next_state = MLX5_SQC_STATE_RDY; in mlx5e_create_sq_rdy()
1293 msp.qos_update = true; in mlx5e_create_sq_rdy()
1294 msp.qos_queue_group_id = qos_queue_group_id; in mlx5e_create_sq_rdy()
1296 err = mlx5e_modify_sq(mdev, *sqn, &msp); in mlx5e_create_sq_rdy()
1753 struct mlx5e_modify_sq_param msp = {0}; in mlx5e_set_sq_maxrate() local
1780 msp.curr_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
1781 msp.next_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
1782 msp.rl_index = rl_index; in mlx5e_set_sq_maxrate()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-cards.c3067 int id,msp,gpio; in miro_pinnacle_gpio() local
3073 msp = bttv_I2CRead(btv, I2C_ADDR_MSP3400, "MSP34xx"); in miro_pinnacle_gpio()
3089 if (-1 != msp) { in miro_pinnacle_gpio()
3099 (-1 == msp) ? "no" : "yes"); in miro_pinnacle_gpio()
3139 if (-1 != msp) in miro_pinnacle_gpio()
/drivers/infiniband/hw/qib/
Dqib_iba7322.c1347 const struct qib_hwerror_msgs *msp) in err_decode() argument
1352 while (errs && msp && msp->mask) { in err_decode()
1353 multi = (msp->mask & (msp->mask - 1)); in err_decode()
1354 while (errs & msp->mask) { in err_decode()
1355 these = (errs & msp->mask); in err_decode()
1364 took = min_t(size_t, msp->sz - (size_t)1, len); in err_decode()
1365 memcpy(msg, msp->msg, took); in err_decode()
1376 while (lmask & msp->mask) { in err_decode()
1385 ++msp; in err_decode()
/drivers/media/pci/ngene/
Dngene.h854 u8 msp[4]; member