Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/scsi/bfa/
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()
207 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_uninit()
214 bfa_fcs_lport_init(&fabric->bport, &fabric->bport.port_cfg); in bfa_fcs_fabric_sm_uninit()
235 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_created()
283 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_linkdown()
327 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_flogi()
388 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_flogi_retry()
420 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_auth()
[all …]
Dbfa_fcs_lport.c124 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
141 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
179 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
239 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
291 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping()
316 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
351 aen_entry->aen_data.lport.roles = port->port_cfg.roles; in bfa_fcs_lport_aen_post()
1081 struct bfa_lport_cfg_s *port_cfg) in bfa_fcs_lport_init() argument
1087 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init()
1090 lport->port_cfg.roles, in bfa_fcs_lport_init()
[all …]
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 …]
Dbfa_fcs.h205 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
226 (port->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
348 #define bfa_fcs_lport_get_pwwn(_lport) ((_lport)->port_cfg.pwwn)
349 #define bfa_fcs_lport_get_nwwn(_lport) ((_lport)->port_cfg.nwwn)
350 #define bfa_fcs_lport_get_psym_name(_lport) ((_lport)->port_cfg.sym_name)
351 #define bfa_fcs_lport_get_nsym_name(_lport) ((_lport)->port_cfg.node_sym_name)
353 ((_lport)->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
408 struct bfa_lport_cfg_s *port_cfg);
483 struct bfa_lport_cfg_s *port_cfg,
487 struct bfa_lport_cfg_s *port_cfg,
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 …]
Dbfad_drv.h292 struct bfa_lport_cfg_s *port_cfg,
295 struct bfa_lport_cfg_s *port_cfg);
Dbfi_ms.h247 struct bfa_port_cfg_s port_cfg;/* port configuration */ member
259 struct bfa_port_cfg_s port_cfg; /* port configuration */ member
Dbfa_fcs_rport.c1730 port->port_cfg.pwwn, port->port_cfg.nwwn, in bfa_fcs_rport_send_plogi()
1851 rport->reply_oxid, port->port_cfg.pwwn, in bfa_fcs_rport_send_plogiacc()
1852 port->port_cfg.nwwn, in bfa_fcs_rport_send_plogiacc()
1884 port->port_cfg.pwwn, port->port_cfg.nwwn); in bfa_fcs_rport_send_adisc()
2209 rx_fchs->ox_id, port->port_cfg.roles); in bfa_fcs_rport_process_prli()
2277 rx_fchs->ox_id, port->port_cfg.pwwn, in bfa_fcs_rport_process_adisc()
2278 port->port_cfg.nwwn); in bfa_fcs_rport_process_adisc()
Dbfa_defs_fcs.h239 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
Dbfa_svc.c3008 struct bfa_port_cfg_s *port_cfg = &fcport->cfg; in bfa_fcport_attach() local
3028 port_cfg->topology = BFA_PORT_TOPOLOGY_P2P; in bfa_fcport_attach()
3029 port_cfg->speed = BFA_PORT_SPEED_AUTO; in bfa_fcport_attach()
3030 port_cfg->trunked = BFA_FALSE; in bfa_fcport_attach()
3031 port_cfg->maxfrsize = 0; in bfa_fcport_attach()
3033 port_cfg->trl_def_speed = BFA_PORT_SPEED_1GBPS; in bfa_fcport_attach()
3034 port_cfg->qos_bw.high = BFA_QOS_BW_HIGH; in bfa_fcport_attach()
3035 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach()
3036 port_cfg->qos_bw.low = BFA_QOS_BW_LOW; in bfa_fcport_attach()
3153 m->port_cfg = fcport->cfg; in bfa_fcport_send_enable()
[all …]
Dbfa_defs.h790 struct bfa_ablk_cfg_port_s port_cfg[BFA_ABLK_MAX_PORTS]; member
/linux-6.12.1/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c221 const struct rockchip_usb2phy_port_cfg *port_cfg; member
458 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true); in rockchip_usb2phy_enable_host_disc_irq()
462 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_en, en); in rockchip_usb2phy_enable_host_disc_irq()
466 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_clr, true); in rockchip_usb2phy_enable_host_disc_irq()
470 return property_enable(rphy->grf, &rport->port_cfg->disrise_en, en); in rockchip_usb2phy_enable_host_disc_irq()
486 &rport->port_cfg->bvalid_det_clr, in rockchip_usb2phy_init()
492 &rport->port_cfg->bvalid_det_en, in rockchip_usb2phy_init()
499 &rport->port_cfg->idfall_det_clr, in rockchip_usb2phy_init()
505 &rport->port_cfg->idrise_det_clr, in rockchip_usb2phy_init()
511 &rport->port_cfg->idfall_det_en, in rockchip_usb2phy_init()
[all …]
/linux-6.12.1/arch/mips/cavium-octeon/executive/
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()
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()
/linux-6.12.1/drivers/video/fbdev/via/
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()
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()
Dvia_i2c.c225 configs = i2c_vdev->port_cfg; in viafb_i2c_probe()
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c507 u64 port_cfg = 0; in bgx_sgmii_change_link_state() local
533 port_cfg = bgx_reg_read(bgx, lmac->lmacid, BGX_GMP_GMI_PRTX_CFG); in bgx_sgmii_change_link_state()
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()
[all …]
/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6afe.c544 union afe_port_config port_cfg; member
1242 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare()
1267 union afe_port_config *pcfg = &port->port_cfg; in q6afe_tdm_port_prepare()
1303 union afe_port_config *pcfg = &port->port_cfg; in q6afe_hdmi_port_prepare()
1323 union afe_port_config *pcfg = &port->port_cfg; in q6afe_i2s_port_prepare()
1467 union afe_port_config *pcfg = &port->port_cfg; in q6afe_cdc_dma_port_prepare()
1496 ret = q6afe_port_set_param_v2(port, &port->port_cfg, param_id, in q6afe_port_start()
1498 sizeof(port->port_cfg)); in q6afe_port_start()
/linux-6.12.1/drivers/net/ethernet/micrel/
Dksz884x.c1108 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member
1857 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function
1971 port_cfg(hw, p, in port_cfg_broad_storm()
2112 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate()
2113 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate()
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()
[all …]
/linux-6.12.1/arch/mips/include/asm/octeon/
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()
/linux-6.12.1/include/linux/
Dvia-core.h67 struct via_port_cfg *port_cfg; member
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dmac.c4050 .port_cfg = R_AX_PORT_CFG_P0,
4113 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_BCNTX_EN); in rtw89_mac_bcn_drop()
4120 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_TBTT_PROHIB_EN); in rtw89_mac_bcn_drop()
4143 if (!rtw89_read32_port_mask(rtwdev, rtwvif, p->port_cfg, B_AX_PORT_FUNC_EN)) in rtw89_mac_port_cfg_func_sw()
4162 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_PORT_FUNC_EN | in rtw89_mac_port_cfg_func_sw()
4164 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_TSFTR_RST); in rtw89_mac_port_cfg_func_sw()
4178 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_TXBCN_RPT_EN); in rtw89_mac_port_cfg_tx_rpt()
4180 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_TXBCN_RPT_EN); in rtw89_mac_port_cfg_tx_rpt()
4190 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_RXBCN_RPT_EN); in rtw89_mac_port_cfg_rx_rpt()
4192 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_RXBCN_RPT_EN); in rtw89_mac_port_cfg_rx_rpt()
[all …]
/linux-6.12.1/drivers/tty/serial/
Dsh-sci.c3536 static struct plat_sci_port port_cfg __initdata;
3546 port_cfg.type = type; in early_console_setup()
3547 sci_ports[0].cfg = &port_cfg; in early_console_setup()
3548 sci_ports[0].params = sci_probe_regmap(&port_cfg); in early_console_setup()
3549 port_cfg.scscr = sci_serial_in(&sci_ports[0].port, SCSCR); in early_console_setup()
3551 SCSCR_RE | SCSCR_TE | port_cfg.scscr); in early_console_setup()
3569 port_cfg.regtype = SCIx_RZ_SCIFA_REGTYPE; in rzscifa_early_console_setup()
3576 port_cfg.regtype = SCIx_RZV2H_SCIF_REGTYPE; in rzv2hscif_early_console_setup()
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c1943 u32 port_cfg, val; in qed_mcp_read_ufp_config() local
1949 port_cfg = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_mcp_read_ufp_config()
1951 val = (port_cfg & OEM_CFG_CHANNEL_TYPE_MASK) >> in qed_mcp_read_ufp_config()
1958 val = (port_cfg & OEM_CFG_SCHED_TYPE_MASK) >> OEM_CFG_SCHED_TYPE_OFFSET; in qed_mcp_read_ufp_config()

12