Home
last modified time | relevance | path

Searched refs:vpid (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov_pf.c73 int ret = -EIO, vpid, id; in qlcnic_sriov_pf_cal_res_limit() local
77 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); in qlcnic_sriov_pf_cal_res_limit()
78 if (vpid < 0) in qlcnic_sriov_pf_cal_res_limit()
129 ret = qlcnic_sriov_pf_set_vport_info(adapter, info, vpid); in qlcnic_sriov_pf_cal_res_limit()
293 int vpid; in qlcnic_sriov_pf_config_vport() local
301 vpid = qlcnic_sriov_pf_get_vport_handle(adapter, func); in qlcnic_sriov_pf_config_vport()
302 if (vpid < 0) { in qlcnic_sriov_pf_config_vport()
306 cmd.req.arg[3] = ((vpid & 0xffff) << 8) | 1; in qlcnic_sriov_pf_config_vport()
318 vpid = cmd.rsp.arg[2] & 0xffff; in qlcnic_sriov_pf_config_vport()
319 qlcnic_sriov_pf_set_vport_handle(adapter, vpid, func); in qlcnic_sriov_pf_config_vport()
[all …]
/drivers/media/common/b2c2/
Dflexcop-hw-filter.c66 flexcop_ibi_value vpid = fc->read_ibi_reg(fc, vregname), \
68 vpid.vregname.field = onoff ? pid : 0x1fff; \
69 vpid.vregname.trans_field = transval; \
71 fc->write_ibi_reg(fc, vregname, vpid); \
148 flexcop_ibi_value vpid, vid; in flexcop_pid_control() local
155 vpid = fc->read_ibi_reg(fc, pid_n_reg_314); in flexcop_pid_control()
156 vpid.pid_n_reg_314.PID = onoff ? pid : 0x1fff; in flexcop_pid_control()
157 vpid.pid_n_reg_314.PID_enable_bit = onoff; in flexcop_pid_control()
158 fc->write_ibi_reg(fc, pid_n_reg_314, vpid); in flexcop_pid_control()
/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c2128 struct fc_vport_identifiers vpid; in bnx2fc_npiv_create_vports() local
2146 vpid.roles = FC_PORT_ROLE_FCP_INITIATOR; in bnx2fc_npiv_create_vports()
2147 vpid.vport_type = FC_PORTTYPE_NPIV; in bnx2fc_npiv_create_vports()
2148 vpid.disable = false; in bnx2fc_npiv_create_vports()
2159 vpid.node_name = wwnn; in bnx2fc_npiv_create_vports()
2160 vpid.port_name = wwn_to_u64(npiv_tbl->wwpn[i]); in bnx2fc_npiv_create_vports()
2161 scnprintf(vpid.symbolic_name, sizeof(vpid.symbolic_name), in bnx2fc_npiv_create_vports()
2163 created, vpid.port_name, vpid.node_name); in bnx2fc_npiv_create_vports()
2164 fcoe_wwn_to_str(vpid.node_name, wwnn_str, sizeof(wwnn_str)); in bnx2fc_npiv_create_vports()
2165 fcoe_wwn_to_str(vpid.port_name, wwpn_str, sizeof(wwpn_str)); in bnx2fc_npiv_create_vports()
[all …]
/drivers/staging/media/av7110/
Dav7110.c714 static inline int SetPIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in SetPIDs() argument
721 if (vpid == 0x1fff || apid == 0x1fff || in SetPIDs()
723 vpid = apid = ttpid = subpid = pcrpid = 0; in SetPIDs()
734 pcrpid, vpid, apid, ttpid, subpid, aflags); in SetPIDs()
737 int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid, in ChangePIDs() argument
746 if (!(vpid & 0x8000)) in ChangePIDs()
747 av7110->pids[DMX_PES_VIDEO] = vpid; in ChangePIDs()
759 ret = SetPIDs(av7110, vpid, apid, ttpid, subpid, pcrpid); in ChangePIDs()
Dav7110.h292 extern int ChangePIDs(struct av7110 *av7110, u16 vpid, u16 apid, u16 ttpid,