Home
last modified time | relevance | path

Searched refs:port_cmd (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c500 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local
548 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init()
549 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init()
553 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
557 FW_LEN16(port_cmd)); in t4vf_port_init()
558 ret = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init()
2069 struct fw_port_cmd port_cmd; in t4vf_update_port_info() local
2072 memset(&port_cmd, in t4vf_update_port_info()
2106 const struct fw_port_cmd *port_cmd = t4vf_handle_fw_rpl() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c501 struct fw_port_cmd port_cmd, port_rpl; in t4vf_port_init() local
549 memset(&port_cmd, 0, sizeof(port_cmd)); in t4vf_port_init()
550 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4vf_port_init()
554 port_cmd.action_to_len16 = cpu_to_be32( in t4vf_port_init()
558 FW_LEN16(port_cmd)); in t4vf_port_init()
559 ret = t4vf_wr_mbox(adapter, &port_cmd, sizeof(port_cmd), &port_rpl); in t4vf_port_init()
2070 struct fw_port_cmd port_cmd; in t4vf_update_port_info() local
2073 memset(&port_cmd, in t4vf_update_port_info()
2107 const struct fw_port_cmd *port_cmd = t4vf_handle_fw_rpl() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8785 struct fw_port_cmd port_cmd; in t4_update_port_info() local
8788 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_update_port_info()
8789 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_update_port_info()
8792 port_cmd.action_to_len16 = cpu_to_be32( in t4_update_port_info()
8796 FW_LEN16(port_cmd)); in t4_update_port_info()
8798 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_update_port_info()
8802 t4_handle_get_port_info(pi, (__be64 *)&port_cmd); in t4_update_port_info()
8822 struct fw_port_cmd port_cmd; t4_get_link_params() local
[all...]
H A Dcxgb4_main.c6306 struct fw_pfvf_cmd port_cmd, port_rpl; in cxgb4_iov_configure() local
6335 memset(&port_cmd, 0, sizeof(port_cmd)); in cxgb4_iov_configure()
6336 port_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | in cxgb4_iov_configure()
6341 port_cmd.retval_len16 = cpu_to_be32(FW_LEN16(port_cmd)); in cxgb4_iov_configure()
6342 err = t4_wr_mbox(adap, adap->mbox, &port_cmd, sizeof(port_cmd), in cxgb4_iov_configure()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c8754 struct fw_port_cmd port_cmd; in t4_update_port_info() local
8757 memset(&port_cmd, 0, sizeof(port_cmd)); in t4_update_port_info()
8758 port_cmd.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PORT_CMD) | in t4_update_port_info()
8761 port_cmd.action_to_len16 = cpu_to_be32( in t4_update_port_info()
8765 FW_LEN16(port_cmd)); in t4_update_port_info()
8767 &port_cmd, sizeof(port_cmd), &port_cmd); in t4_update_port_info()
8771 t4_handle_get_port_info(pi, (__be64 *)&port_cmd); in t4_update_port_info()
8791 struct fw_port_cmd port_cmd; t4_get_link_params() local
[all...]
H A Dcxgb4_main.c6295 struct fw_pfvf_cmd port_cmd, port_rpl; in cxgb4_iov_configure() local
6324 memset(&port_cmd, 0, sizeof(port_cmd)); in cxgb4_iov_configure()
6325 port_cmd.op_to_vfn = cpu_to_be32(FW_CMD_OP_V(FW_PFVF_CMD) | in cxgb4_iov_configure()
6330 port_cmd.retval_len16 = cpu_to_be32(FW_LEN16(port_cmd)); in cxgb4_iov_configure()
6331 err = t4_wr_mbox(adap, adap->mbox, &port_cmd, sizeof(port_cmd), in cxgb4_iov_configure()
/kernel/linux/linux-5.10/drivers/net/fddi/
H A Ddefxx.c2754 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()
/kernel/linux/linux-6.6/drivers/net/fddi/
H A Ddefxx.c2743 PI_UINT32 port_cmd; /* Port Control command register value */ in dfx_hw_port_ctrl_req() local
2748 port_cmd = (PI_UINT32) (command | PI_PCTRL_M_CMD_ERROR); in dfx_hw_port_ctrl_req()
2754 dfx_port_write_long(bp, PI_PDQ_K_REG_PORT_CTRL, port_cmd); in dfx_hw_port_ctrl_req()
2765 dfx_port_read_long(bp, PI_PDQ_K_REG_PORT_CTRL, &port_cmd); in dfx_hw_port_ctrl_req()
2766 if (!(port_cmd & PI_PCTRL_M_CMD_ERROR)) in dfx_hw_port_ctrl_req()

Completed in 51 milliseconds