Home
last modified time | relevance | path

Searched refs:port_mode (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/ntxn/
H A Dniu.c241 u32 port_mode = 0; in unm_niu_enable_gbe_port() local
264 port_mode = adapter->unm_nic_pci_read_normalize(adapter, in unm_niu_enable_gbe_port()
266 if (port_mode == UNM_PORT_MODE_802_3_AP) { in unm_niu_enable_gbe_port()
486 u32 port_mode = 0; in unm_niu_xg_macaddr_set() local
495 port_mode = adapter->unm_nic_pci_read_normalize(adapter, in unm_niu_xg_macaddr_set()
497 if (port_mode == UNM_PORT_MODE_802_3_AP) { in unm_niu_xg_macaddr_set()
519 port_mode = adapter->unm_nic_pci_read_normalize(adapter, in unm_niu_xg_macaddr_set()
521 if (port_mode == UNM_PORT_MODE_802_3_AP) { in unm_niu_xg_macaddr_set()
557 u32 port_mode = 0; in unm_niu_xg_set_promiscuous_mode() local
562 port_mode = adapter->unm_nic_pci_read_normalize(adapter, in unm_niu_xg_set_promiscuous_mode()
[all …]
H A Dunm_nic_hw.c1794 u32 port_mode = 0; in unm_nic_set_mtu() local
1810 &port_mode, 4); in unm_nic_set_mtu()
1811 if (port_mode == UNM_PORT_MODE_802_3_AP) { in unm_nic_set_mtu()
1938 u32 port_mode = 0; in unm_nic_init_port() local
1949 &port_mode, 4); in unm_nic_init_port()
1950 if (port_mode == UNM_PORT_MODE_802_3_AP) { in unm_nic_init_port()
2022 u32 port_mode = 0; in unm_nic_set_link_parameters() local
2027 &port_mode, 4); in unm_nic_set_link_parameters()
2028 if (port_mode == UNM_PORT_MODE_802_3_AP) { in unm_nic_set_link_parameters()
H A Dunm_gem.c1074 static int port_mode = UNM_PORT_MODE_AUTO_NEG; in netxen_set_port_mode() local
1078 data = port_mode; /* set to port_mode normally */ in netxen_set_port_mode()
1079 if ((port_mode != UNM_PORT_MODE_802_3_AP) && in netxen_set_port_mode()
1080 (port_mode != UNM_PORT_MODE_XG) && in netxen_set_port_mode()
1081 (port_mode != UNM_PORT_MODE_AUTO_NEG_1G) && in netxen_set_port_mode()
1082 (port_mode != UNM_PORT_MODE_AUTO_NEG_XG)) in netxen_set_port_mode()
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_hw_init_reset.c824 const lm_chip_port_mode_t port_mode ) in lm_reset_device_if_undi_func_hide_helper() argument
834 …#define E2_PF_NUM(path, port, pf) ((port_mode == LM_CHIP_PORT_MODE_4) ? E2_4P_PF_NUM… in lm_reset_device_if_undi_func_hide_helper()
879 const lm_chip_port_mode_t port_mode = CHIP_PORT_MODE(pdev); in lm_reset_device_if_undi_active() local
940 switch( port_mode ) in lm_reset_device_if_undi_active()
945 port_factor = (LM_CHIP_PORT_MODE_4 == port_mode) ? 4 : 2; in lm_reset_device_if_undi_active()
946 …vnics_per_port = (LM_CHIP_PORT_MODE_4 == port_mode )? 2 : pdev->params.vnics_per_port; // for 4-po… in lm_reset_device_if_undi_active()
992 port_mode ); in lm_reset_device_if_undi_active()
1005 … pdev->params.pfunc_mb_id = FUNC_MAILBOX_ID_PARAM( port, vnic, CHIP_NUM(pdev), port_mode ); in lm_reset_device_if_undi_active()
1015 port_mode ); in lm_reset_device_if_undi_active()
H A Dlm_devinfo.c2420 const lm_chip_port_mode_t port_mode = CHIP_PORT_MODE(pdev); in lm_get_shmem_sf_sriov_info() local
2423 u8_t port_max = (port_mode == LM_CHIP_PORT_MODE_2)? 1 : PORT_MAX; in lm_get_shmem_sf_sriov_info()