Home
last modified time | relevance | path

Searched refs:phys_port (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c243 unsigned int phys_port = eth_tbl->ports[i].index; in nfp_flower_spawn_phy_reprs() local
247 reprs->reprs[phys_port] = nfp_repr_alloc(app); in nfp_flower_spawn_phy_reprs()
248 if (!reprs->reprs[phys_port]) { in nfp_flower_spawn_phy_reprs()
254 reprs->reprs[phys_port]); in nfp_flower_spawn_phy_reprs()
265 SET_NETDEV_DEV(reprs->reprs[phys_port], &priv->nn->pdev->dev); in nfp_flower_spawn_phy_reprs()
268 cmsg_port_id = nfp_flower_cmsg_phys_port(phys_port); in nfp_flower_spawn_phy_reprs()
269 err = nfp_repr_init(app, reprs->reprs[phys_port], in nfp_flower_spawn_phy_reprs()
279 phys_port); in nfp_flower_spawn_phy_reprs()
282 phys_port, reprs->reprs[phys_port]->name); in nfp_flower_spawn_phy_reprs()
Dcmsg.h265 u8 phys_port; member
302 static inline u32 nfp_flower_cmsg_phys_port(u8 phys_port) in nfp_flower_cmsg_phys_port() argument
304 return FIELD_PREP(NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM, phys_port) | in nfp_flower_cmsg_phys_port()
331 unsigned int phys_port);
Dcmsg.c102 unsigned int phys_port) in nfp_flower_cmsg_mac_repr_add() argument
110 msg->ports[idx].phys_port = phys_port; in nfp_flower_cmsg_mac_repr_add()
/drivers/tty/serial/
Dioc3_serial.c1917 int ii, phys_port; in ioc3_serial_core_attach() local
1928 phys_port = GET_PHYSICAL_PORT(ii); in ioc3_serial_core_attach()
1929 the_port = &card_ptr->ic_port[phys_port]. in ioc3_serial_core_attach()
1931 port = card_ptr->ic_port[phys_port].icp_port; in ioc3_serial_core_attach()
1936 phys_port, ii)); in ioc3_serial_core_attach()
2017 int phys_port; in ioc3uart_probe() local
2041 for (phys_port = 0; phys_port < PORTS_PER_CARD; phys_port++) { in ioc3uart_probe()
2054 ports[phys_port] = port; in ioc3uart_probe()
2057 card_ptr->ic_port[phys_port].icp_port = port; in ioc3uart_probe()
2062 port->ip_hooks = &hooks_array[phys_port]; in ioc3uart_probe()
[all …]
/drivers/scsi/be2iscsi/
Dbe_cmds.c422 (phba->fw_config.phys_port * 8) & 0xff; in beiscsi_process_async_sli()
424 (phba->fw_config.phys_port * 8) & 0xff; in beiscsi_process_async_sli()
1360 phba->fw_config.phys_port = pfw_cfg->phys_port; in beiscsi_get_fw_config()
1361 if (phba->fw_config.phys_port >= BEISCSI_PHYS_PORT_MAX) { in beiscsi_get_fw_config()
1364 phba->fw_config.phys_port); in beiscsi_get_fw_config()
1511 (phba->fw_config.phys_port * 8) & 0xff; in beiscsi_get_port_name()
Dbe_main.h355 unsigned int phys_port; member
Dbe_cmds.h1216 u32 phys_port; member
Dbe_mgmt.c1233 phba->fw_config.phys_port); in beiscsi_phys_port_disp()
/drivers/net/ethernet/mellanox/mlx4/
Deq.c148 int i, phys_port, slave_port; in mlx4_gen_slave_eqe() local
168 phys_port = 0; in mlx4_gen_slave_eqe()
171 phys_port = eqe->event.port_mgmt_change.port; in mlx4_gen_slave_eqe()
172 slave_port = mlx4_phys_to_slave_port(dev, i, phys_port); in mlx4_gen_slave_eqe()
180 if (phys_port) in mlx4_gen_slave_eqe()
181 eqe->event.port_mgmt_change.port = phys_port; in mlx4_gen_slave_eqe()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_vnic.c277 *port_id = nic_info.phys_port; in qlcnic_83xx_set_port_eswitch_status()
Dqlcnic_ctx.c882 npar_info->phys_port = le16_to_cpu(nic_info->phys_port); in qlcnic_82xx_get_nic_info()
921 nic_info->phys_port = cpu_to_le16(nic->phys_port); in qlcnic_82xx_set_nic_info()
Dqlcnic.h765 u8 phys_port; /* Physical id of port */ member
818 u8 phys_port; /* Physical id of port */ member
1195 __le16 phys_port; member
1234 u16 phys_port; member
Dqlcnic_sysfs.c761 np_cfg[pci_func].port_num = nic_info.phys_port; in qlcnic_sysfs_read_npar_config()
Dqlcnic_sriov_pf.c548 ahw->physical_port = (u8) nic_info.phys_port; in qlcnic_sriov_pf_init()
Dqlcnic_83xx_hw.c2390 cmd.req.arg[3] = nic->phys_port | (nic->switch_mode << 16); in qlcnic_83xx_set_nic_info()
2440 npar_info->phys_port = cmd.rsp.arg[3] & 0xFFFF; in qlcnic_83xx_get_nic_info()
Dqlcnic_83xx_init.c2279 ahw->physical_port = (u8) nic_info.phys_port; in qlcnic_83xx_get_nic_configuration()
Dqlcnic_sriov_common.c519 ahw->physical_port = (u8) nic_info.phys_port; in qlcnic_sriov_vf_init_driver()
Dqlcnic_main.c1319 adapter->ahw->physical_port = (u8)nic_info.phys_port; in qlcnic_initialize_nic()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h866 u8 phys_port; /* Physical id of port */ member
919 u8 phys_port; /* Physical id of port */ member
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c526 struct fcoe_port *port, *phys_port; in bnx2fc_recv_frame() local
567 phys_port = lport_priv(lport); in bnx2fc_recv_frame()
568 interface = phys_port->priv; in bnx2fc_recv_frame()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1190 u32 phys_port; member
Dbe_cmds.c2139 adapter->port_num = le32_to_cpu(resp->phys_port); in be_cmd_query_fw_cfg()