Home
last modified time | relevance | path

Searched refs:mod_type (Results 1 – 12 of 12) sorted by relevance

/drivers/scsi/csiostor/
Dcsio_mb.c1384 if (port->mod_type == FW_PORT_MOD_TYPE_NONE) in csio_mb_portmod_changed()
1386 else if (port->mod_type < ARRAY_SIZE(mod_str)) in csio_mb_portmod_changed()
1388 mod_str[port->mod_type]); in csio_mb_portmod_changed()
1389 else if (port->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in csio_mb_portmod_changed()
1393 else if (port->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in csio_mb_portmod_changed()
1397 else if (port->mod_type == FW_PORT_MOD_TYPE_ERROR) in csio_mb_portmod_changed()
1401 port_id, port->mod_type); in csio_mb_portmod_changed()
1412 uint8_t mod_type; in csio_mb_fwevt_handler() local
1430 mod_type = FW_PORT_CMD_MODTYPE_G(link_status); in csio_mb_fwevt_handler()
1438 mod_type = FW_PORT_CMD_MODTYPE32_G(link_status); in csio_mb_fwevt_handler()
[all …]
Dcsio_hw.h331 uint8_t mod_type; member
Dcsio_hw.c2651 hw->pport[i].mod_type = FW_PORT_MOD_TYPE_NA; in csio_hw_initialize()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c221 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4vf_os_portmod_changed()
224 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4vf_os_portmod_changed()
226 dev->name, mod_str[pi->mod_type]); in t4vf_os_portmod_changed()
227 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4vf_os_portmod_changed()
230 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4vf_os_portmod_changed()
233 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4vf_os_portmod_changed()
238 "inserted\n", dev->name, pi->mod_type); in t4vf_os_portmod_changed()
1265 enum fw_port_module_type mod_type) in from_fw_port_mod_type() argument
1282 if (mod_type == FW_PORT_MOD_TYPE_LR || in from_fw_port_mod_type()
1283 mod_type == FW_PORT_MOD_TYPE_SR || in from_fw_port_mod_type()
[all …]
Dt4vf_hw.c587 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4vf_port_init()
1920 enum fw_port_module_type mod_type; in t4vf_handle_get_port_info() local
1933 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4vf_handle_get_port_info()
1970 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4vf_handle_get_port_info()
1989 if (mod_type != pi->mod_type) { in t4vf_handle_get_port_info()
2011 pi->mod_type = mod_type; in t4vf_handle_get_port_info()
Dadapter.h103 u8 mod_type; /* firmware module type */ member
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c427 enum fw_port_module_type mod_type) in from_fw_port_mod_type() argument
444 if (mod_type == FW_PORT_MOD_TYPE_LR || in from_fw_port_mod_type()
445 mod_type == FW_PORT_MOD_TYPE_SR || in from_fw_port_mod_type()
446 mod_type == FW_PORT_MOD_TYPE_ER || in from_fw_port_mod_type()
447 mod_type == FW_PORT_MOD_TYPE_LRM) in from_fw_port_mod_type()
449 else if (mod_type == FW_PORT_MOD_TYPE_TWINAX_PASSIVE || in from_fw_port_mod_type()
450 mod_type == FW_PORT_MOD_TYPE_TWINAX_ACTIVE) in from_fw_port_mod_type()
679 base->port = from_fw_port_mod_type(pi->port_type, pi->mod_type); in get_link_ksettings()
2013 if (!cxgb4_fw_mod_type_info_available(pi->mod_type)) in cxgb4_get_module_info()
Dt4_hw.c8576 enum fw_port_module_type mod_type; in t4_handle_get_port_info() local
8590 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info()
8605 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4_handle_get_port_info()
8631 if (mod_type != pi->mod_type) { in t4_handle_get_port_info()
8666 pi->mod_type = mod_type; in t4_handle_get_port_info()
8671 lc->new_module = t4_is_inserted_mod_type(mod_type); in t4_handle_get_port_info()
9690 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4_init_portinfo()
Dcxgb4_main.c315 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4_os_portmod_changed()
317 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4_os_portmod_changed()
318 netdev_info(dev, "%s module inserted\n", mod_str[pi->mod_type]); in t4_os_portmod_changed()
319 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4_os_portmod_changed()
322 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4_os_portmod_changed()
325 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4_os_portmod_changed()
329 dev->name, pi->mod_type); in t4_os_portmod_changed()
Dcxgb4.h660 u8 mod_type; member
/drivers/media/tuners/
Dmxl5005s.c320 static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type,
322 static int mxl5005s_reconfigure(struct dvb_frontend *fe, u32 mod_type,
3913 static int mxl5005s_reconfigure(struct dvb_frontend *fe, u32 mod_type, in mxl5005s_reconfigure() argument
3921 dprintk(1, "%s(type=%d, bw=%d)\n", __func__, mod_type, bandwidth); in mxl5005s_reconfigure()
3944 mxl5005s_AssignTunerMode(fe, mod_type, bandwidth); in mxl5005s_reconfigure()
3957 static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type, in mxl5005s_AssignTunerMode() argument
3980 mod_type, in mxl5005s_AssignTunerMode()
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h600 u64 mod_type:1; member