port_mac_cmd 42 drivers/net/ethernet/huawei/hinic/hinic_port.c struct hinic_port_mac_cmd port_mac_cmd; port_mac_cmd 59 drivers/net/ethernet/huawei/hinic/hinic_port.c port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); port_mac_cmd 60 drivers/net/ethernet/huawei/hinic/hinic_port.c port_mac_cmd.vlan_id = vlan_id; port_mac_cmd 61 drivers/net/ethernet/huawei/hinic/hinic_port.c memcpy(port_mac_cmd.mac, addr, ETH_ALEN); port_mac_cmd 63 drivers/net/ethernet/huawei/hinic/hinic_port.c err = hinic_port_msg_cmd(hwdev, cmd, &port_mac_cmd, port_mac_cmd 64 drivers/net/ethernet/huawei/hinic/hinic_port.c sizeof(port_mac_cmd), port_mac_cmd 65 drivers/net/ethernet/huawei/hinic/hinic_port.c &port_mac_cmd, &out_size); port_mac_cmd 66 drivers/net/ethernet/huawei/hinic/hinic_port.c if (err || (out_size != sizeof(port_mac_cmd)) || port_mac_cmd.status) { port_mac_cmd 68 drivers/net/ethernet/huawei/hinic/hinic_port.c port_mac_cmd.status); port_mac_cmd 113 drivers/net/ethernet/huawei/hinic/hinic_port.c struct hinic_port_mac_cmd port_mac_cmd; port_mac_cmd 119 drivers/net/ethernet/huawei/hinic/hinic_port.c port_mac_cmd.func_idx = HINIC_HWIF_FUNC_IDX(hwif); port_mac_cmd 122 drivers/net/ethernet/huawei/hinic/hinic_port.c &port_mac_cmd, sizeof(port_mac_cmd), port_mac_cmd 123 drivers/net/ethernet/huawei/hinic/hinic_port.c &port_mac_cmd, &out_size); port_mac_cmd 124 drivers/net/ethernet/huawei/hinic/hinic_port.c if (err || (out_size != sizeof(port_mac_cmd)) || port_mac_cmd.status) { port_mac_cmd 126 drivers/net/ethernet/huawei/hinic/hinic_port.c port_mac_cmd.status); port_mac_cmd 130 drivers/net/ethernet/huawei/hinic/hinic_port.c memcpy(addr, port_mac_cmd.mac, ETH_ALEN);