Home
last modified time | relevance | path

Searched refs:port_cfg (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/bfa/
Dbfa_fcs.c115 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; in bfa_fcs_update_cfg() local
118 port_cfg->nwwn = ioc->attr->nwwn; in bfa_fcs_update_cfg()
119 port_cfg->pwwn = ioc->attr->pwwn; in bfa_fcs_update_cfg()
277 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_uninit()
284 bfa_fcs_lport_init(&fabric->bport, &fabric->bport.port_cfg); in bfa_fcs_fabric_sm_uninit()
305 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_created()
353 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_linkdown()
397 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_flogi()
458 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_flogi_retry()
490 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_auth()
[all …]
Dbfa_fcs_lport.c133 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
150 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
188 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
248 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
300 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
325 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
360 aen_entry->aen_data.lport.roles = port->port_cfg.roles; in bfa_fcs_lport_aen_post()
1090 struct bfa_lport_cfg_s *port_cfg) in bfa_fcs_lport_init() argument
1096 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init()
1099 lport->port_cfg.roles, in bfa_fcs_lport_init()
[all …]
Dbfad_attr.c366 struct bfa_lport_cfg_s port_cfg; in bfad_im_vport_create() local
371 memset(&port_cfg, 0, sizeof(port_cfg)); in bfad_im_vport_create()
372 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
373 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
375 strcpy((char *)&port_cfg.sym_name, vname); in bfad_im_vport_create()
376 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfad_im_vport_create()
380 if (port_cfg.pwwn == in bfad_im_vport_create()
381 vp->fcs_vport.lport.port_cfg.pwwn) { in bfad_im_vport_create()
382 port_cfg.preboot_vp = in bfad_im_vport_create()
383 vp->fcs_vport.lport.port_cfg.preboot_vp; in bfad_im_vport_create()
[all …]
Dbfa_fcs.h146 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
167 (port->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
265 #define bfa_fcs_lport_get_pwwn(_lport) ((_lport)->port_cfg.pwwn)
266 #define bfa_fcs_lport_get_nwwn(_lport) ((_lport)->port_cfg.nwwn)
267 #define bfa_fcs_lport_get_psym_name(_lport) ((_lport)->port_cfg.sym_name)
268 #define bfa_fcs_lport_get_nsym_name(_lport) ((_lport)->port_cfg.node_sym_name)
270 ((_lport)->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
325 struct bfa_lport_cfg_s *port_cfg);
376 struct bfa_lport_cfg_s *port_cfg,
380 struct bfa_lport_cfg_s *port_cfg,
Dbfad.c506 struct bfa_lport_cfg_s port_cfg = {0}; in bfa_fcb_pbc_vport_create() local
517 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfa_fcb_pbc_vport_create()
518 port_cfg.pwwn = pbc_vport.vp_pwwn; in bfa_fcb_pbc_vport_create()
519 port_cfg.nwwn = pbc_vport.vp_nwwn; in bfa_fcb_pbc_vport_create()
520 port_cfg.preboot_vp = BFA_TRUE; in bfa_fcb_pbc_vport_create()
523 &port_cfg, vport); in bfa_fcb_pbc_vport_create()
648 struct bfa_lport_cfg_s *port_cfg, struct device *dev) in bfad_vport_create() argument
664 port_cfg, vport); in bfad_vport_create()
670 if (port_cfg->roles & BFA_LPORT_ROLE_FCP_IM) { in bfad_vport_create()
1049 (&((vport->fcs_vport).lport.port_cfg.nwwn))); in bfad_start_ops()
[all …]
Dbfad_drv.h297 struct bfa_lport_cfg_s *port_cfg,
300 struct bfa_lport_cfg_s *port_cfg);
Dbfi_ms.h254 struct bfa_port_cfg_s port_cfg;/* port configuration */ member
266 struct bfa_port_cfg_s port_cfg; /* port configuration */ member
Dbfa_fcs_rport.c1726 port->port_cfg.pwwn, port->port_cfg.nwwn, in bfa_fcs_rport_send_plogi()
1847 rport->reply_oxid, port->port_cfg.pwwn, in bfa_fcs_rport_send_plogiacc()
1848 port->port_cfg.nwwn, in bfa_fcs_rport_send_plogiacc()
1880 port->port_cfg.pwwn, port->port_cfg.nwwn); in bfa_fcs_rport_send_adisc()
2205 rx_fchs->ox_id, port->port_cfg.roles); in bfa_fcs_rport_process_prli()
2276 rx_fchs->ox_id, port->port_cfg.pwwn, in bfa_fcs_rport_process_adisc()
2277 port->port_cfg.nwwn); in bfa_fcs_rport_process_adisc()
Dbfa_svc.c3093 struct bfa_port_cfg_s *port_cfg = &fcport->cfg; in bfa_fcport_attach() local
3115 port_cfg->topology = BFA_PORT_TOPOLOGY_P2P; in bfa_fcport_attach()
3116 port_cfg->speed = BFA_PORT_SPEED_AUTO; in bfa_fcport_attach()
3117 port_cfg->trunked = BFA_FALSE; in bfa_fcport_attach()
3118 port_cfg->maxfrsize = 0; in bfa_fcport_attach()
3120 port_cfg->trl_def_speed = BFA_PORT_SPEED_1GBPS; in bfa_fcport_attach()
3121 port_cfg->qos_bw.high = BFA_QOS_BW_HIGH; in bfa_fcport_attach()
3122 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach()
3123 port_cfg->qos_bw.low = BFA_QOS_BW_LOW; in bfa_fcport_attach()
3258 m->port_cfg = fcport->cfg; in bfa_fcport_send_enable()
[all …]
Dbfa_defs_fcs.h246 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
Dbfa_defs.h797 struct bfa_ablk_cfg_port_s port_cfg[BFA_ABLK_MAX_PORTS]; member
Dbfad_im.c1037 strlcpy(symname, bfad->bfa_fcs.fabric.bport.port_cfg.sym_name.symname, in bfad_fc_host_init()
Dbfa_fcpim.c2295 *pwwn = port->port_cfg.pwwn; in bfa_fcpim_lunmask_add()
2364 *pwwn = port->port_cfg.pwwn; in bfa_fcpim_lunmask_delete()
Dbfad_bsg.c318 port_attr.port_cfg.sym_name.symname, in bfad_iocmd_port_get_attr()
/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c210 u64 port_cfg = 0; in bgx_sgmii_change_link_state() local
217 port_cfg = bgx_reg_read(bgx, lmac->lmacid, BGX_GMP_GMI_PRTX_CFG); in bgx_sgmii_change_link_state()
222 port_cfg &= ~GMI_PORT_CFG_DUPLEX; in bgx_sgmii_change_link_state()
223 port_cfg |= (lmac->last_duplex << 2); in bgx_sgmii_change_link_state()
230 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ in bgx_sgmii_change_link_state()
231 port_cfg |= GMI_PORT_CFG_SPEED_MSB; /* speed_msb 1 */ in bgx_sgmii_change_link_state()
232 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ in bgx_sgmii_change_link_state()
239 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ in bgx_sgmii_change_link_state()
240 port_cfg &= ~GMI_PORT_CFG_SPEED_MSB; /* speed_msb 0 */ in bgx_sgmii_change_link_state()
241 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ in bgx_sgmii_change_link_state()
[all …]
/drivers/video/fbdev/via/
Dvia-gpio.c218 struct via_port_cfg *port_cfg = vdev->port_cfg; in viafb_gpio_probe() local
228 if (port_cfg[i].mode != VIA_MODE_GPIO) in viafb_gpio_probe()
232 if (gpio->vg_port_index == port_cfg[i].ioport_index) { in viafb_gpio_probe()
Dvia-core.c688 global_dev.port_cfg = adap_configs; in via_pci_probe()
690 global_dev.port_cfg = olpc_adap_configs; in via_pci_probe()
Dvia_i2c.c240 configs = i2c_vdev->port_cfg; in viafb_i2c_probe()
/drivers/net/ethernet/micrel/
Dksz884x.c1184 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member
1963 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function
2124 port_cfg(hw, p, in port_cfg_broad_storm()
2271 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate()
2272 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate()
2282 port_cfg(hw, p, in port_cfg_back_pressure()
2288 port_cfg(hw, p, in port_cfg_force_flow_ctrl()
2308 port_cfg(hw, p, in port_cfg_rx()
2314 port_cfg(hw, p, in port_cfg_tx()
2336 port_cfg(hw, p, in port_cfg_ins_tag()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_common.c2979 u64 port_cfg = 0; in i40e_parse_discover_capabilities() local
2984 i40e_aq_debug_read_register(hw, port_cfg_reg, &port_cfg, NULL); in i40e_parse_discover_capabilities()
2985 if (!(port_cfg & I40E_PRTGEN_CNF_PORT_DIS_MASK)) in i40e_parse_discover_capabilities()
/drivers/net/wan/
Dfarsync.c217 struct port_cfg { struct
308 struct port_cfg portConfig[FST_MAX_PORTS];