Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_fcs.c57 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; in bfa_fcs_update_cfg() local
60 port_cfg->nwwn = ioc->attr->nwwn; in bfa_fcs_update_cfg()
61 port_cfg->pwwn = ioc->attr->pwwn; in bfa_fcs_update_cfg()
744 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; in bfa_fcs_fabric_init() local
757 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; in bfa_fcs_fabric_psymb_init() local
776 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
788 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
791 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
795 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
798 strlcat(port_cfg->sym_name.symname, in bfa_fcs_fabric_psymb_init()
[all …]
H A Dbfa_fcs_lport.c137 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
154 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
192 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
252 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
304 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
1094 struct bfa_lport_cfg_s *port_cfg) in bfa_fcs_lport_init() argument
1100 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init()
1103 lport->port_cfg.roles, in bfa_fcs_lport_init()
1142 port_attr->port_cfg = port->port_cfg; in bfa_fcs_lport_get_attr()
3442 port->port_cfg.pwwn, port->port_cfg.nwwn, in bfa_fcs_lport_ms_send_plogi()
[all …]
H A Dbfad_attr.c359 struct bfa_lport_cfg_s port_cfg; in bfad_im_vport_create() local
364 memset(&port_cfg, 0, sizeof(port_cfg)); in bfad_im_vport_create()
365 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create()
366 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create()
368 strcpy((char *)&port_cfg.sym_name, vname); in bfad_im_vport_create()
369 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfad_im_vport_create()
373 if (port_cfg.pwwn == in bfad_im_vport_create()
374 vp->fcs_vport.lport.port_cfg.pwwn) { in bfad_im_vport_create()
375 port_cfg.preboot_vp = in bfad_im_vport_create()
376 vp->fcs_vport.lport.port_cfg.preboot_vp; in bfad_im_vport_create()
[all …]
H A Dbfa_fcs.h139 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
160 (port->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
255 #define bfa_fcs_lport_get_pwwn(_lport) ((_lport)->port_cfg.pwwn)
256 #define bfa_fcs_lport_get_nwwn(_lport) ((_lport)->port_cfg.nwwn)
257 #define bfa_fcs_lport_get_psym_name(_lport) ((_lport)->port_cfg.sym_name)
258 #define bfa_fcs_lport_get_nsym_name(_lport) ((_lport)->port_cfg.node_sym_name)
260 ((_lport)->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
315 struct bfa_lport_cfg_s *port_cfg);
366 struct bfa_lport_cfg_s *port_cfg,
370 struct bfa_lport_cfg_s *port_cfg,
H A Dbfad.c495 struct bfa_lport_cfg_s port_cfg = {0}; in bfa_fcb_pbc_vport_create() local
506 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfa_fcb_pbc_vport_create()
507 port_cfg.pwwn = pbc_vport.vp_pwwn; in bfa_fcb_pbc_vport_create()
508 port_cfg.nwwn = pbc_vport.vp_nwwn; in bfa_fcb_pbc_vport_create()
509 port_cfg.preboot_vp = BFA_TRUE; in bfa_fcb_pbc_vport_create()
512 &port_cfg, vport); in bfa_fcb_pbc_vport_create()
636 struct bfa_lport_cfg_s *port_cfg, struct device *dev) in bfad_vport_create() argument
652 port_cfg, vport); in bfad_vport_create()
658 if (port_cfg->roles & BFA_LPORT_ROLE_FCP_IM) { in bfad_vport_create()
1027 (&((vport->fcs_vport).lport.port_cfg.nwwn))); in bfad_start_ops()
[all …]
H A Dbfad_drv.h289 struct bfa_lport_cfg_s *port_cfg,
292 struct bfa_lport_cfg_s *port_cfg);
H A Dbfi_ms.h247 struct bfa_port_cfg_s port_cfg;/* port configuration */ member
259 struct bfa_port_cfg_s port_cfg; /* port configuration */ member
H A Dbfa_fcs_rport.c1714 port->port_cfg.pwwn, port->port_cfg.nwwn, in bfa_fcs_rport_send_plogi()
1835 rport->reply_oxid, port->port_cfg.pwwn, in bfa_fcs_rport_send_plogiacc()
1836 port->port_cfg.nwwn, in bfa_fcs_rport_send_plogiacc()
1868 port->port_cfg.pwwn, port->port_cfg.nwwn); in bfa_fcs_rport_send_adisc()
2193 rx_fchs->ox_id, port->port_cfg.roles); in bfa_fcs_rport_process_prli()
2261 rx_fchs->ox_id, port->port_cfg.pwwn, in bfa_fcs_rport_process_adisc()
2262 port->port_cfg.nwwn); in bfa_fcs_rport_process_adisc()
H A Dbfa_defs_fcs.h239 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
/openbmc/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-loop.c57 union cvmx_pip_prt_cfgx port_cfg; in __cvmx_helper_loop_probe() local
59 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port)); in __cvmx_helper_loop_probe()
60 port_cfg.s.maxerr_en = 0; in __cvmx_helper_loop_probe()
61 port_cfg.s.minerr_en = 0; in __cvmx_helper_loop_probe()
62 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_cfg.u64); in __cvmx_helper_loop_probe()
H A Dcvmx-helper-npi.c87 union cvmx_pip_prt_cfgx port_cfg; in __cvmx_helper_npi_enable() local
90 port_cfg.u64 = in __cvmx_helper_npi_enable()
92 port_cfg.s.maxerr_en = 0; in __cvmx_helper_npi_enable()
93 port_cfg.s.minerr_en = 0; in __cvmx_helper_npi_enable()
95 port_cfg.u64); in __cvmx_helper_npi_enable()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c482 &rport->port_cfg->bvalid_det_clr, in rockchip_usb2phy_init()
488 &rport->port_cfg->bvalid_det_en, in rockchip_usb2phy_init()
495 &rport->port_cfg->id_det_clr, in rockchip_usb2phy_init()
501 &rport->port_cfg->id_det_en, in rockchip_usb2phy_init()
513 if (rport->port_cfg->disfall_en.offset) { in rockchip_usb2phy_init()
529 &rport->port_cfg->ls_det_en, true); in rockchip_usb2phy_init()
638 &rport->port_cfg->utmi_bvalid); in rockchip_usb2phy_otg_sm_work()
906 rport->port_cfg->utmi_ls.bitstart); in rockchip_usb2phy_sm_work()
908 if (rport->port_cfg->utmi_hstdet.offset) { in rockchip_usb2phy_sm_work()
916 sh = rport->port_cfg->utmi_hstdet.bitend - in rockchip_usb2phy_sm_work()
[all …]
/openbmc/linux/drivers/video/fbdev/via/
H A Dvia-gpio.c208 struct via_port_cfg *port_cfg = vdev->port_cfg; in viafb_gpio_probe() local
218 if (port_cfg[i].mode != VIA_MODE_GPIO) in viafb_gpio_probe()
222 if (gpio->vg_port_index == port_cfg[i].ioport_index) { in viafb_gpio_probe()
H A Dvia-core.c635 global_dev.port_cfg = adap_configs; in via_pci_probe()
637 global_dev.port_cfg = olpc_adap_configs; in via_pci_probe()
H A Dvia_i2c.c226 configs = i2c_vdev->port_cfg; in viafb_i2c_probe()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c507 u64 port_cfg = 0; in bgx_sgmii_change_link_state() local
538 port_cfg &= ~GMI_PORT_CFG_DUPLEX; in bgx_sgmii_change_link_state()
539 port_cfg |= (lmac->last_duplex << 2); in bgx_sgmii_change_link_state()
546 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ in bgx_sgmii_change_link_state()
547 port_cfg |= GMI_PORT_CFG_SPEED_MSB; /* speed_msb 1 */ in bgx_sgmii_change_link_state()
548 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ in bgx_sgmii_change_link_state()
555 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ in bgx_sgmii_change_link_state()
556 port_cfg &= ~GMI_PORT_CFG_SPEED_MSB; /* speed_msb 0 */ in bgx_sgmii_change_link_state()
557 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ in bgx_sgmii_change_link_state()
564 port_cfg |= GMI_PORT_CFG_SPEED; /* speed 1 */ in bgx_sgmii_change_link_state()
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c543 union afe_port_config port_cfg; member
1241 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare()
1266 union afe_port_config *pcfg = &port->port_cfg; in q6afe_tdm_port_prepare()
1302 union afe_port_config *pcfg = &port->port_cfg; in q6afe_hdmi_port_prepare()
1322 union afe_port_config *pcfg = &port->port_cfg; in q6afe_i2s_port_prepare()
1466 union afe_port_config *pcfg = &port->port_cfg; in q6afe_cdc_dma_port_prepare()
1495 ret = q6afe_port_set_param_v2(port, &port->port_cfg, param_id, in q6afe_port_start()
1497 sizeof(port->port_cfg)); in q6afe_port_start()
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dsdram_gen5.h54 u32 port_cfg; member
105 u32 port_cfg; member
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h293 union cvmx_pip_prt_cfgx port_cfg, in cvmx_pip_config_port() argument
296 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64); in cvmx_pip_config_port()
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c1971 port_cfg(hw, p, in port_cfg_broad_storm()
2123 port_cfg(hw, p, in port_cfg_back_pressure()
2131 port_cfg(hw, p, in port_cfg_mirror_sniffer()
2137 port_cfg(hw, p, in port_cfg_mirror_rx()
2143 port_cfg(hw, p, in port_cfg_mirror_tx()
2168 port_cfg(hw, p, in port_cfg_diffserv()
2174 port_cfg(hw, p, in port_cfg_802_1p()
2180 port_cfg(hw, p, in port_cfg_replace_vid()
2186 port_cfg(hw, p, in port_cfg_prio()
2316 sw->port_cfg[port].port_prio = 0; in sw_init_prio()
[all …]
/openbmc/linux/include/linux/
H A Dvia-core.h67 struct via_port_cfg *port_cfg; member
/openbmc/u-boot/drivers/ddr/altera/
H A Dsdram_gen5.c370 writel(cfg->port_cfg, &sdr_ctrl->port_cfg); in sdr_load_regs()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.c3716 .port_cfg = R_AX_PORT_CFG_P0,
3760 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_TSFTR_RST); in rtw89_mac_port_cfg_func_sw()
3803 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, bits); in rtw89_mac_port_cfg_bcn_prct()
3805 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, bits); in rtw89_mac_port_cfg_bcn_prct()
3817 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, bit); in rtw89_mac_port_cfg_rx_sw()
3819 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, bit); in rtw89_mac_port_cfg_rx_sw()
3830 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_TSF_UDT_EN); in rtw89_mac_port_cfg_rx_sync()
3841 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_BCNTX_EN); in rtw89_mac_port_cfg_tx_sw()
3843 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_BCNTX_EN); in rtw89_mac_port_cfg_tx_sw()
3997 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, in rtw89_mac_port_cfg_func_en()
[all …]
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dwrap_sdram_config.c137 .port_cfg =
/openbmc/u-boot/drivers/net/
H A Dvsc9953.c987 clrbits_le32(&l2ana_reg->port[port_no].port_cfg, in vsc9953_port_learn_mode_set()
994 clrsetbits_le32(&l2ana_reg->port[port_no].port_cfg, in vsc9953_port_learn_mode_set()
1021 val = in_le32(&l2ana_reg->port[port_no].port_cfg); in vsc9953_port_learn_mode_get()
1548 val = in_le32(&l2ana_reg->port[port_no].port_cfg); in vsc9953_port_aggr_grp_get()
1746 val = in_le32(&l2ana_reg->port[port_no].port_cfg); in vsc9953_port_aggr_grp_set()
1749 out_le32(&l2ana_reg->port[port_no].port_cfg, val); in vsc9953_port_aggr_grp_set()

12