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.c2626 mv643xx_eth_conf_mbus_windows(struct mv643xx_eth_shared_private *msp, in mv643xx_eth_conf_mbus_windows() argument
2629 void __iomem *base = msp->base; in mv643xx_eth_conf_mbus_windows()
2657 msp->win_protect = win_protect; in mv643xx_eth_conf_mbus_windows()
2660 static void infer_hw_params(struct mv643xx_eth_shared_private *msp) in infer_hw_params() argument
2667 writel(0x02000000, msp->base + 0x0400 + SDMA_CONFIG); in infer_hw_params()
2668 if (readl(msp->base + 0x0400 + SDMA_CONFIG) & 0x02000000) in infer_hw_params()
2669 msp->extended_rx_coal_limit = 1; in infer_hw_params()
2671 msp->extended_rx_coal_limit = 0; in infer_hw_params()
2678 writel(1, msp->base + 0x0400 + TX_BW_MTU_MOVED); in infer_hw_params()
2679 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.c1666 struct mlx5e_modify_sq_param msp = {0}; in mlx5e_create_sq_rdy() local
1673 msp.curr_state = MLX5_SQC_STATE_RST; in mlx5e_create_sq_rdy()
1674 msp.next_state = MLX5_SQC_STATE_RDY; in mlx5e_create_sq_rdy()
1676 msp.qos_update = true; in mlx5e_create_sq_rdy()
1677 msp.qos_queue_group_id = qos_queue_group_id; in mlx5e_create_sq_rdy()
1679 err = mlx5e_modify_sq(mdev, *sqn, &msp); in mlx5e_create_sq_rdy()
2178 struct mlx5e_modify_sq_param msp = {0}; in mlx5e_set_sq_maxrate() local
2205 msp.curr_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
2206 msp.next_state = MLX5_SQC_STATE_RDY; in mlx5e_set_sq_maxrate()
2207 msp.rl_index = rl_index; in mlx5e_set_sq_maxrate()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-cards.c3064 int id,msp,gpio; in miro_pinnacle_gpio() local
3070 msp = bttv_I2CRead(btv, I2C_ADDR_MSP3400, "MSP34xx"); in miro_pinnacle_gpio()
3086 if (-1 != msp) { in miro_pinnacle_gpio()
3096 (-1 == msp) ? "no" : "yes"); in miro_pinnacle_gpio()
3136 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.h805 u8 msp[4]; member