/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 5686 static u32 hclge_get_port_number(enum HLCGE_PORT_TYPE port_type, u8 pf_id, argument 5691 if (port_type == HOST_PORT) {
|
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 350 enum typec_port_type port_type; member in struct:tcpm_port 606 (port)->port_type == TYPEC_PORT_DRP) 610 (port)->port_type == TYPEC_PORT_DRP) 629 if (port->port_type == TYPEC_PORT_DRP) { 635 } else if (port->port_type == TYPEC_PORT_SNK) { 3486 if (port->port_type != TYPEC_PORT_DRP) { 4220 ret = port->tcpc->start_toggling(port->tcpc, port->port_type, cc); 4521 if (port->port_type == TYPEC_PORT_DRP) { 4526 } else if (port->port_type == TYPEC_PORT_SRC) { 4632 if (port->port_type [all...] |
/linux-master/drivers/tty/serial/ |
H A D | pmac_zilog.c | 700 PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 1); 717 pmac_call_feature(PMAC_FTR_SCC_ENABLE, uap->node, uap->port_type, 0); 1376 uap->port_type = PMAC_SCC_ASYNC; 1386 uap->port_type = PMAC_SCC_IRDA; 1400 uap->port_type = PMAC_SCC_I2S1; 1644 uap->port_type = 0;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | main.c | 806 if (MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_ETH)
|
H A D | fs_core.c | 3396 if ((((MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_ETH) && 3398 ((MLX5_CAP_GEN(dev, port_type) == MLX5_CAP_PORT_TYPE_IB) &&
|
H A D | eswitch.c | 72 if (MLX5_CAP_GEN(dev, port_type) != MLX5_CAP_PORT_TYPE_ETH)
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_edif.c | 613 if (fcport->port_type == FCT_UNKNOWN && 618 fcport->port_type & (FCT_TARGET|FCT_NVME_TARGET))) 988 if (fcport->port_type == FCT_UNKNOWN && 995 fcport->port_type & 1005 if (fcport->port_type & (FCT_NVME_TARGET | FCT_TARGET)) 1008 if (fcport->port_type & (FCT_NVME_INITIATOR | FCT_INITIATOR))
|
H A D | qla_target.c | 4894 sess->port_type = FCT_INITIATOR; 4896 sess->port_type = FCT_TARGET; 5132 sess->port_type = FCT_INITIATOR; 5134 sess->port_type = FCT_TARGET; 6152 tfcp->port_type = fcport->port_type;
|
H A D | qla_os.c | 3280 ha->mr.fcport.port_type = FCT_UNKNOWN; 4121 fcport->port_type == FCT_TARGET && 4124 "Delaying session delete for FCP2 flags 0x%x port_type = 0x%x port_id=%06x %phC", 4125 fcport->flags, fcport->port_type, 5417 fcport->port_type = FCT_INITIATOR; 5419 fcport->port_type = FCT_TARGET;
|
H A D | qla_mbx.c | 2064 fcport->port_type = FCT_INITIATOR; 2066 fcport->port_type = FCT_TARGET; 2109 fcport->port_type = FCT_INITIATOR; 2111 fcport->port_type = FCT_TARGET; 6700 fcport->port_type = FCT_NVME; 6702 fcport->port_type |= FCT_NVME_INITIATOR; 6704 fcport->port_type |= FCT_NVME_TARGET; 6706 fcport->port_type |= FCT_NVME_DISCOVERY; 6710 fcport->port_type = FCT_INITIATOR; 6712 fcport->port_type [all...] |
H A D | qla_init.c | 857 fcport->port_type = FCT_INITIATOR; 859 fcport->port_type = FCT_TARGET; 902 fcport->port_type = FCT_INITIATOR; 904 fcport->port_type = FCT_TARGET; 5548 fcport->port_type = FCT_UNKNOWN; 5958 fcport->port_type = new_fcport->port_type; 6013 fcport->port_type != FCT_INITIATOR && 6014 fcport->port_type != FCT_BROADCAST) { 6121 if (fcport->port_type [all...] |
H A D | qla_def.h | 2640 fc_port_type_t port_type; member in struct:fc_port 2985 __be32 port_type; member in union:ct_fdmi_port_attr::__anon184 3079 uint8_t port_type; member in struct:ct_sns_req::__anon185::__anon187 3083 uint8_t port_type; member in struct:ct_sns_req::__anon185::__anon188 3215 uint8_t port_type; member in struct:ct_sns_rsp::__anon206::__anon207
|
H A D | qla_attr.c | 2610 uint32_t port_type; local 2618 port_type = FC_PORTTYPE_LPORT; 2621 port_type = FC_PORTTYPE_NLPORT; 2624 port_type = FC_PORTTYPE_PTP; 2627 port_type = FC_PORTTYPE_NPORT; 2630 port_type = FC_PORTTYPE_UNKNOWN; 2634 fc_host_port_type(shost) = port_type;
|
/linux-master/drivers/usb/typec/ |
H A D | class.c | 1529 if (port->port_type != TYPEC_PORT_DRP) { 1531 typec_port_power_roles[port->port_type]); 1580 if (port->port_type == type) { 1589 port->port_type = type; 1605 typec_port_types_drp[port->port_type]); 1609 static DEVICE_ATTR_RW(port_type); 2410 port->port_type = cap->type;
|
/linux-master/drivers/staging/vc04_services/vchiq-mmal/ |
H A D | mmal-vchiq.c | 240 msg->u.event_to_host.port_type, 788 m.u.port_info_set.port_type = port->type; 844 m.u.port_info_get.port_type = port->type; 875 port->type = rmsg->u.port_info_get_reply.port_type;
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_vport.c | 630 if (vport->port_type == LPFC_PHYSICAL_PORT) {
|
H A D | lpfc_scsi.c | 5465 if (vport->port_type == LPFC_PHYSICAL_PORT)
|
H A D | lpfc_nportdisc.c | 588 if ((vport->port_type == LPFC_NPIV_PORT && 950 if (vport->port_type == LPFC_NPIV_PORT && 958 "state x%x flags x%x port_type: x%x " 961 ndlp->nlp_flag, vport->port_type, 2178 if ((vport->port_type == LPFC_NPIV_PORT) && 2282 (vport->port_type == LPFC_NPIV_PORT) &&
|
H A D | lpfc_init.c | 376 vport->port_type == LPFC_PHYSICAL_PORT && 3052 if (vport->port_type != LPFC_PHYSICAL_PORT && 3750 (vports[i]->port_type != 4814 vport->port_type = LPFC_NPIV_PORT; 4817 vport->port_type = LPFC_PHYSICAL_PORT; 4823 vport->port_type, shost->sg_tablesize, 14130 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) 14975 if (vports[i]->port_type == LPFC_PHYSICAL_PORT)
|
H A D | lpfc_hbadisc.c | 1156 ((vport->port_type == LPFC_NPIV_PORT) && 1226 vport->port_type == LPFC_PHYSICAL_PORT && 1457 if (vport->port_type == LPFC_PHYSICAL_PORT) 3263 if ((vport->port_type != LPFC_PHYSICAL_PORT) && (!vport->vpi)) { 3308 if (vports[i]->port_type == LPFC_PHYSICAL_PORT) 3464 if (vport->port_type == LPFC_PHYSICAL_PORT) { 5843 (vport->port_type != LPFC_PHYSICAL_PORT) || 6380 if (vport->port_type == LPFC_PHYSICAL_PORT) {
|
H A D | lpfc_els.c | 3799 if (vport->port_type == LPFC_NPIV_PORT) 4290 if (vport->port_type == LPFC_NPIV_PORT) 5454 vport && vport->port_type == LPFC_NPIV_PORT && 5852 vport->port_type == LPFC_NPIV_PORT && 6715 desc->info.port_type = cpu_to_be32(type); 11054 if ((vport->port_type == LPFC_PHYSICAL_PORT) &&
|
H A D | lpfc_attr.c | 1104 vport->port_type == LPFC_PHYSICAL_PORT && 2479 if (vport->port_type == LPFC_PHYSICAL_PORT) 4066 if (vport->port_type == LPFC_PHYSICAL_PORT) { 4101 if (vport->port_type == LPFC_PHYSICAL_PORT && val != 0) { 6357 if (vport->port_type == LPFC_NPIV_PORT) 6387 if (vport->port_type == LPFC_NPIV_PORT) 6433 if (vport->port_type == LPFC_NPIV_PORT) {
|
H A D | lpfc.h | 579 uint8_t port_type; member in struct:lpfc_vport
|
/linux-master/net/devlink/ |
H A D | port.c | 605 enum devlink_port_type port_type) 613 if (port_type == devlink_port->type) 616 err = devlink_port->ops->port_type_set(devlink_port, port_type); 620 devlink_port->desired_type = port_type; 783 enum devlink_port_type port_type; local 785 port_type = nla_get_u16(info->attrs[DEVLINK_ATTR_PORT_TYPE]); 786 err = devlink_port_type_set(devlink_port, port_type); 604 devlink_port_type_set(struct devlink_port *devlink_port, enum devlink_port_type port_type) argument
|
/linux-master/include/linux/usb/ |
H A D | tcpm.h | 156 enum typec_port_type port_type,
|