Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c369 enum fw_port_module_type mod_type) in from_fw_port_mod_type() argument
386 if (mod_type == FW_PORT_MOD_TYPE_LR || in from_fw_port_mod_type()
387 mod_type == FW_PORT_MOD_TYPE_SR || in from_fw_port_mod_type()
388 mod_type == FW_PORT_MOD_TYPE_ER || in from_fw_port_mod_type()
389 mod_type == FW_PORT_MOD_TYPE_LRM) in from_fw_port_mod_type()
391 else if (mod_type == FW_PORT_MOD_TYPE_TWINAX_PASSIVE || in from_fw_port_mod_type()
392 mod_type == FW_PORT_MOD_TYPE_TWINAX_ACTIVE) in from_fw_port_mod_type()
612 base->port = from_fw_port_mod_type(pi->port_type, pi->mod_type); in get_link_ksettings()
1289 if (!t4_is_inserted_mod_type(pi->mod_type)) in cxgb4_get_module_info()
Dt4_hw.c8401 enum fw_port_module_type mod_type; in t4_handle_get_port_info() local
8414 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info()
8429 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4_handle_get_port_info()
8450 if (mod_type != pi->mod_type) { in t4_handle_get_port_info()
8483 pi->mod_type = mod_type; in t4_handle_get_port_info()
8485 lc->new_module = t4_is_inserted_mod_type(mod_type); in t4_handle_get_port_info()
9436 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4_init_portinfo()
Dcxgb4_main.c313 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4_os_portmod_changed()
315 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4_os_portmod_changed()
316 netdev_info(dev, "%s module inserted\n", mod_str[pi->mod_type]); in t4_os_portmod_changed()
317 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4_os_portmod_changed()
320 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4_os_portmod_changed()
323 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4_os_portmod_changed()
327 dev->name, pi->mod_type); in t4_os_portmod_changed()
Dcxgb4.h566 u8 mod_type; member
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c219 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4vf_os_portmod_changed()
222 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4vf_os_portmod_changed()
224 dev->name, mod_str[pi->mod_type]); in t4vf_os_portmod_changed()
225 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4vf_os_portmod_changed()
228 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4vf_os_portmod_changed()
231 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4vf_os_portmod_changed()
236 "inserted\n", dev->name, pi->mod_type); in t4vf_os_portmod_changed()
1213 enum fw_port_module_type mod_type) in from_fw_port_mod_type() argument
1230 if (mod_type == FW_PORT_MOD_TYPE_LR || in from_fw_port_mod_type()
1231 mod_type == FW_PORT_MOD_TYPE_SR || in from_fw_port_mod_type()
[all …]
Dt4vf_hw.c578 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4vf_port_init()
1911 enum fw_port_module_type mod_type; in t4vf_handle_get_port_info() local
1923 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4vf_handle_get_port_info()
1960 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4vf_handle_get_port_info()
1978 if (mod_type != pi->mod_type) { in t4vf_handle_get_port_info()
2000 pi->mod_type = mod_type; in t4vf_handle_get_port_info()
Dadapter.h102 u8 mod_type; /* firmware module type */ member
/Linux-v4.19/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()