Searched refs:port_cmd (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 492 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local 540 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init() 541 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init() 545 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init() 549 FW_LEN16(port_cmd)); in t4vf_port_init() 550 ret = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init() 2054 struct fw_port_cmd port_cmd; in t4vf_update_port_info() local 2057 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_update_port_info() 2058 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_update_port_info() 2061 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_update_port_info() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 8553 struct fw_port_cmd port_cmd; in t4_update_port_info() local 8556 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_update_port_info() 8557 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_update_port_info() 8560 port_cmd.action_to_len16 = cpu_to_be32( in t4_update_port_info() 8564 FW_LEN16(port_cmd)); in t4_update_port_info() 8566 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_update_port_info() 8570 t4_handle_get_port_info(pi, (__be64 *)&port_cmd); in t4_update_port_info() 8589 struct fw_port_cmd port_cmd; in t4_get_link_params() local 8594 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_get_link_params() 8595 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_get_link_params() [all …]
|
D | cxgb4_main.c | 5305 struct fw_pfvf_cmd port_cmd, port_rpl; in cxgb4_iov_configure() local 5336 memset(&port_cmd, 0, sizeof(port_cmd)); in cxgb4_iov_configure() 5337 port_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | in cxgb4_iov_configure() 5342 port_cmd.retval_len16 = cpu_to_be32(FW_LEN16(port_cmd)); in cxgb4_iov_configure() 5343 err = t4_wr_mbox(adap, adap->mbox, &port_cmd, sizeof(port_cmd), in cxgb4_iov_configure()
|
/Linux-v4.19/drivers/net/fddi/ |
D | defxx.c | 2741 PI_UINT32 port_cmd; /* Port Control command register value */ in dfx_hw_port_ctrl_req() local 2746 port_cmd = (PI_UINT32) (command | PI_PCTRL_M_CMD_ERROR); in dfx_hw_port_ctrl_req() 2752 dfx_port_write_long(bp, PI_PDQ_K_REG_PORT_CTRL, port_cmd); in dfx_hw_port_ctrl_req() 2763 dfx_port_read_long(bp, PI_PDQ_K_REG_PORT_CTRL, &port_cmd); in dfx_hw_port_ctrl_req() 2764 if (!(port_cmd & PI_PCTRL_M_CMD_ERROR)) in dfx_hw_port_ctrl_req()
|