Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_mb.c1380 if (port->mod_type == FW_PORT_MOD_TYPE_NONE) in csio_mb_portmod_changed()
1382 else if (port->mod_type < ARRAY_SIZE(mod_str)) in csio_mb_portmod_changed()
1384 mod_str[port->mod_type]); in csio_mb_portmod_changed()
1385 else if (port->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in csio_mb_portmod_changed()
1389 else if (port->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in csio_mb_portmod_changed()
1393 else if (port->mod_type == FW_PORT_MOD_TYPE_ERROR) in csio_mb_portmod_changed()
1397 port_id, port->mod_type); in csio_mb_portmod_changed()
1408 uint8_t mod_type; in csio_mb_fwevt_handler() local
1423 mod_type = FW_PORT_CMD_MODTYPE_G(link_status); in csio_mb_fwevt_handler()
1433 if (mod_type != hw->pport[port_id].mod_type) { in csio_mb_fwevt_handler()
[all …]
Dcsio_hw.h277 uint8_t mod_type; member
Dcsio_hw.c2210 hw->pport[i].mod_type = FW_PORT_MOD_TYPE_NA; in csio_hw_initialize()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c225 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4vf_os_portmod_changed()
228 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4vf_os_portmod_changed()
230 dev->name, mod_str[pi->mod_type]); in t4vf_os_portmod_changed()
231 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4vf_os_portmod_changed()
234 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4vf_os_portmod_changed()
237 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4vf_os_portmod_changed()
242 "inserted\n", dev->name, pi->mod_type); in t4vf_os_portmod_changed()
1294 if (p->mod_type == FW_PORT_MOD_TYPE_LR || in cxgb4vf_get_settings()
1295 p->mod_type == FW_PORT_MOD_TYPE_SR || in cxgb4vf_get_settings()
1296 p->mod_type == FW_PORT_MOD_TYPE_ER || in cxgb4vf_get_settings()
[all …]
Dadapter.h101 u8 mod_type; /* firmware module type */ member
Dt4vf_hw.c330 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4vf_port_init()
1540 if (mod != pi->mod_type) { in t4vf_handle_fw_rpl()
1541 pi->mod_type = mod; in t4vf_handle_fw_rpl()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c562 if (p->mod_type == FW_PORT_MOD_TYPE_LR || in get_settings()
563 p->mod_type == FW_PORT_MOD_TYPE_SR || in get_settings()
564 p->mod_type == FW_PORT_MOD_TYPE_ER || in get_settings()
565 p->mod_type == FW_PORT_MOD_TYPE_LRM) in get_settings()
567 else if (p->mod_type == FW_PORT_MOD_TYPE_TWINAX_PASSIVE || in get_settings()
568 p->mod_type == FW_PORT_MOD_TYPE_TWINAX_ACTIVE) in get_settings()
Dcxgb4.h442 u8 mod_type; member
Dcxgb4_main.c375 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4_os_portmod_changed()
377 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4_os_portmod_changed()
378 netdev_info(dev, "%s module inserted\n", mod_str[pi->mod_type]); in t4_os_portmod_changed()
Dt4_hw.c6901 if (mod != pi->mod_type) { in t4_handle_fw_rpl()
6902 pi->mod_type = mod; in t4_handle_fw_rpl()
7454 p->mod_type = FW_PORT_MOD_TYPE_NA; in t4_port_init()
/linux-4.4.14/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,
3922 static int mxl5005s_reconfigure(struct dvb_frontend *fe, u32 mod_type, in mxl5005s_reconfigure() argument
3931 dprintk(1, "%s(type=%d, bw=%d)\n", __func__, mod_type, bandwidth); in mxl5005s_reconfigure()
3942 mxl5005s_AssignTunerMode(fe, mod_type, bandwidth); in mxl5005s_reconfigure()
3952 static int mxl5005s_AssignTunerMode(struct dvb_frontend *fe, u32 mod_type, in mxl5005s_AssignTunerMode() argument
3975 mod_type, in mxl5005s_AssignTunerMode()