Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/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.c586 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4vf_port_init()
1919 enum fw_port_module_type mod_type; in t4vf_handle_get_port_info() local
1932 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4vf_handle_get_port_info()
1969 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4vf_handle_get_port_info()
1988 if (mod_type != pi->mod_type) { in t4vf_handle_get_port_info()
2010 pi->mod_type = mod_type; in t4vf_handle_get_port_info()
Dadapter.h102 u8 mod_type; /* firmware module type */ member
/Linux-v5.10/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()
1974 if (!t4_is_inserted_mod_type(pi->mod_type)) in cxgb4_get_module_info()
Dt4_hw.c8594 enum fw_port_module_type mod_type; in t4_handle_get_port_info() local
8608 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info()
8623 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4_handle_get_port_info()
8649 if (mod_type != pi->mod_type) { in t4_handle_get_port_info()
8684 pi->mod_type = mod_type; in t4_handle_get_port_info()
8689 lc->new_module = t4_is_inserted_mod_type(mod_type); in t4_handle_get_port_info()
9708 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.h662 u8 mod_type; member
/Linux-v5.10/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,
3925 static int mxl5005s_reconfigure(struct dvb_frontend *fe, u32 mod_type, in mxl5005s_reconfigure() argument
3934 dprintk(1, "%s(type=%d, bw=%d)\n", __func__, mod_type, bandwidth); in mxl5005s_reconfigure()
3945 mxl5005s_AssignTunerMode(fe, mod_type, bandwidth); in mxl5005s_reconfigure()
3955 static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type, in mxl5005s_AssignTunerMode() argument
3978 mod_type, in mxl5005s_AssignTunerMode()