Searched refs:port_cmd (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 286 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local 314 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init() 315 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init() 319 port_cmd.action_to_len16 = in t4vf_port_init() 321 FW_LEN16(port_cmd)); in t4vf_port_init() 322 v = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init() 1487 const struct fw_port_cmd *port_cmd = in t4vf_handle_fw_rpl() local 1496 be32_to_cpu(port_cmd->action_to_len16)); in t4vf_handle_fw_rpl() 1505 be32_to_cpu(port_cmd->op_to_portid)); in t4vf_handle_fw_rpl() 1507 stat = be32_to_cpu(port_cmd->u.info.lstatus_to_modtype); in t4vf_handle_fw_rpl() [all …]
|
/drivers/net/fddi/ |
D | defxx.c | 2754 PI_UINT32 port_cmd; /* Port Control command register value */ in dfx_hw_port_ctrl_req() local 2759 port_cmd = (PI_UINT32) (command | PI_PCTRL_M_CMD_ERROR); in dfx_hw_port_ctrl_req() 2765 dfx_port_write_long(bp, PI_PDQ_K_REG_PORT_CTRL, port_cmd); in dfx_hw_port_ctrl_req() 2776 dfx_port_read_long(bp, PI_PDQ_K_REG_PORT_CTRL, &port_cmd); in dfx_hw_port_ctrl_req() 2777 if (!(port_cmd & PI_PCTRL_M_CMD_ERROR)) in dfx_hw_port_ctrl_req()
|