Home
last modified time | relevance | path

Searched refs:port_cmd (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c282 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local
311 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init()
312 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP(FW_PORT_CMD) | in t4vf_port_init()
316 port_cmd.action_to_len16 = in t4vf_port_init()
318 FW_LEN16(port_cmd)); in t4vf_port_init()
319 v = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init()
1321 const struct fw_port_cmd *port_cmd = in t4vf_handle_fw_rpl() local
1330 be32_to_cpu(port_cmd->action_to_len16)); in t4vf_handle_fw_rpl()
1339 be32_to_cpu(port_cmd->op_to_portid)); in t4vf_handle_fw_rpl()
1341 word = be32_to_cpu(port_cmd->u.info.lstatus_to_modtype); in t4vf_handle_fw_rpl()
/linux-3.4.99/drivers/net/fddi/
Ddefxx.c2675 PI_UINT32 port_cmd; /* Port Control command register value */ in dfx_hw_port_ctrl_req() local
2680 port_cmd = (PI_UINT32) (command | PI_PCTRL_M_CMD_ERROR); in dfx_hw_port_ctrl_req()
2686 dfx_port_write_long(bp, PI_PDQ_K_REG_PORT_CTRL, port_cmd); in dfx_hw_port_ctrl_req()
2697 dfx_port_read_long(bp, PI_PDQ_K_REG_PORT_CTRL, &port_cmd); in dfx_hw_port_ctrl_req()
2698 if (!(port_cmd & PI_PCTRL_M_CMD_ERROR)) in dfx_hw_port_ctrl_req()