/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 54 err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, in change_mac() 125 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_GET_MAC, in hinic_port_get_mac() 157 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_CHANGE_MTU, in hinic_port_set_mtu() 184 return hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_ADD_VLAN, in hinic_port_add_vlan() 204 return hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_DEL_VLAN, in hinic_port_del_vlan() 224 return hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_RX_MODE, in hinic_port_set_rx_mode() 248 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_GET_LINK_STATE, in hinic_port_link_state() 282 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_PORT_STATE, in hinic_port_set_state() 314 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_FUNC_STATE, in hinic_port_set_func_state() 344 err = hinic_port_msg_cmd(hwde in hinic_port_get_cap() [all...] |
H A D | hinic_sriov.c | 40 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_MAC, &mac_info, in hinic_set_mac() 123 err = hinic_port_msg_cmd(hwdev, cmd, &vf_vlan, in hinic_set_vf_vlan() 145 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_VF_MAX_MIN_RATE, in hinic_set_vf_tx_rate_max_min() 174 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_VF_RATE, in hinic_set_vf_rate_limit() 310 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_CHANGE_MTU, buf_in, in hinic_change_vf_mtu_msg_handler() 362 err = hinic_port_msg_cmd(hw_dev, HINIC_PORT_CMD_SET_MAC, buf_in, in hinic_set_vf_mac_msg_handler() 395 err = hinic_port_msg_cmd(hw_dev, HINIC_PORT_CMD_DEL_MAC, buf_in, in hinic_del_vf_mac_msg_handler() 556 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_UPDATE_MAC, &mac_info, in hinic_update_mac() 931 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_ENABLE_SPOOFCHK, in hinic_set_vf_spoofchk()
|
H A D | hinic_hw_dev.c | 198 * hinic_port_msg_cmd - send port msg to mgmt 208 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, in hinic_port_msg_cmd() function 250 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_FWCTXT_INIT, in init_fw_ctxt() 417 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_GET_GLOBAL_QPN, in get_base_qpn()
|
H A D | hinic_debugfs.c | 101 err = hinic_port_msg_cmd(nic_dev->hwdev, HINIC_PORT_CMD_RD_LINE_TBL, read_data, in hinic_dbg_get_func_table()
|
H A D | hinic_devlink.c | 217 err = hinic_port_msg_cmd(priv->hwdev, in hinic_flash_fw()
|
H A D | hinic_hw_dev.h | 619 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 57 err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, in change_mac() 128 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_GET_MAC, in hinic_port_get_mac() 172 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_CHANGE_MTU, in hinic_port_set_mtu() 199 return hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_ADD_VLAN, in hinic_port_add_vlan() 219 return hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_DEL_VLAN, in hinic_port_del_vlan() 239 return hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_RX_MODE, in hinic_port_set_rx_mode() 263 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_GET_LINK_STATE, in hinic_port_link_state() 297 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_PORT_STATE, in hinic_port_set_state() 329 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_FUNC_STATE, in hinic_port_set_func_state() 359 err = hinic_port_msg_cmd(hwde in hinic_port_get_cap() [all...] |
H A D | hinic_sriov.c | 38 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_MAC, &mac_info, in hinic_set_mac() 121 err = hinic_port_msg_cmd(hwdev, cmd, &vf_vlan, in hinic_set_vf_vlan() 143 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_VF_MAX_MIN_RATE, in hinic_set_vf_tx_rate_max_min() 172 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_VF_RATE, in hinic_set_vf_rate_limit() 308 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_CHANGE_MTU, buf_in, in hinic_change_vf_mtu_msg_handler() 360 err = hinic_port_msg_cmd(hw_dev, HINIC_PORT_CMD_SET_MAC, buf_in, in hinic_set_vf_mac_msg_handler() 393 err = hinic_port_msg_cmd(hw_dev, HINIC_PORT_CMD_DEL_MAC, buf_in, in hinic_del_vf_mac_msg_handler() 536 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_UPDATE_MAC, &mac_info, in hinic_update_mac() 915 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_ENABLE_SPOOFCHK, in hinic_set_vf_spoofchk()
|
H A D | hinic_debugfs.c | 101 err = hinic_port_msg_cmd(nic_dev->hwdev, HINIC_PORT_CMD_RD_LINE_TBL, read_data, in hinic_dbg_get_func_table()
|
H A D | hinic_hw_dev.c | 204 * hinic_port_msg_cmd - send port msg to mgmt 214 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd, in hinic_port_msg_cmd() function 256 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_FWCTXT_INIT, in init_fw_ctxt() 423 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_GET_GLOBAL_QPN, in get_base_qpn()
|
H A D | hinic_hw_dev.h | 553 int hinic_port_msg_cmd(struct hinic_hwdev *hwdev, enum hinic_port_cmd cmd,
|
H A D | hinic_devlink.c | 219 err = hinic_port_msg_cmd(priv->hwdev, in hinic_flash_fw()
|