Searched refs:mod_type (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/scsi/csiostor/ |
D | csio_mb.c | 1384 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 …]
|
D | csio_hw.h | 331 uint8_t mod_type; member
|
D | csio_hw.c | 2651 hw->pport[i].mod_type = FW_PORT_MOD_TYPE_NA; in csio_hw_initialize()
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 357 enum fw_port_module_type mod_type) in from_fw_port_mod_type() argument 374 if (mod_type == FW_PORT_MOD_TYPE_LR || in from_fw_port_mod_type() 375 mod_type == FW_PORT_MOD_TYPE_SR || in from_fw_port_mod_type() 376 mod_type == FW_PORT_MOD_TYPE_ER || in from_fw_port_mod_type() 377 mod_type == FW_PORT_MOD_TYPE_LRM) in from_fw_port_mod_type() 379 else if (mod_type == FW_PORT_MOD_TYPE_TWINAX_PASSIVE || in from_fw_port_mod_type() 380 mod_type == FW_PORT_MOD_TYPE_TWINAX_ACTIVE) in from_fw_port_mod_type() 609 base->port = from_fw_port_mod_type(pi->port_type, pi->mod_type); in get_link_ksettings() 1451 if (!t4_is_inserted_mod_type(pi->mod_type)) in cxgb4_get_module_info()
|
D | t4_hw.c | 8571 enum fw_port_module_type mod_type; in t4_handle_get_port_info() local 8584 mod_type = FW_PORT_CMD_MODTYPE_G(lstatus); in t4_handle_get_port_info() 8599 mod_type = FW_PORT_CMD_MODTYPE32_G(lstatus32); in t4_handle_get_port_info() 8624 if (mod_type != pi->mod_type) { in t4_handle_get_port_info() 8659 pi->mod_type = mod_type; in t4_handle_get_port_info() 8664 lc->new_module = t4_is_inserted_mod_type(mod_type); in t4_handle_get_port_info() 9678 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4_init_portinfo()
|
D | cxgb4_main.c | 312 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4_os_portmod_changed() 314 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4_os_portmod_changed() 315 netdev_info(dev, "%s module inserted\n", mod_str[pi->mod_type]); in t4_os_portmod_changed() 316 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4_os_portmod_changed() 319 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4_os_portmod_changed() 322 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4_os_portmod_changed() 326 dev->name, pi->mod_type); in t4_os_portmod_changed()
|
D | cxgb4.h | 576 u8 mod_type; member
|
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 222 if (pi->mod_type == FW_PORT_MOD_TYPE_NONE) in t4vf_os_portmod_changed() 225 else if (pi->mod_type < ARRAY_SIZE(mod_str)) in t4vf_os_portmod_changed() 227 dev->name, mod_str[pi->mod_type]); in t4vf_os_portmod_changed() 228 else if (pi->mod_type == FW_PORT_MOD_TYPE_NOTSUPPORTED) in t4vf_os_portmod_changed() 231 else if (pi->mod_type == FW_PORT_MOD_TYPE_UNKNOWN) in t4vf_os_portmod_changed() 234 else if (pi->mod_type == FW_PORT_MOD_TYPE_ERROR) in t4vf_os_portmod_changed() 239 "inserted\n", dev->name, pi->mod_type); in t4vf_os_portmod_changed() 1267 enum fw_port_module_type mod_type) in from_fw_port_mod_type() argument 1284 if (mod_type == FW_PORT_MOD_TYPE_LR || in from_fw_port_mod_type() 1285 mod_type == FW_PORT_MOD_TYPE_SR || in from_fw_port_mod_type() [all …]
|
D | t4vf_hw.c | 588 pi->mod_type = FW_PORT_MOD_TYPE_NA; in t4vf_port_init() 1921 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() 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()
|
D | adapter.h | 102 u8 mod_type; /* firmware module type */ member
|
/Linux-v5.4/drivers/media/tuners/ |
D | mxl5005s.c | 320 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()
|