Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
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 …]
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()
329 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting()
364 aen_entry->aen_data.lport.roles = port->port_cfg.roles; in bfa_fcs_lport_aen_post()
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()
[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)
258 #define bfa_fcs_lport_get_pwwn(_lport) ((_lport)->port_cfg.pwwn)
259 #define bfa_fcs_lport_get_nwwn(_lport) ((_lport)->port_cfg.nwwn)
260 #define bfa_fcs_lport_get_psym_name(_lport) ((_lport)->port_cfg.sym_name)
261 #define bfa_fcs_lport_get_nsym_name(_lport) ((_lport)->port_cfg.node_sym_name)
263 ((_lport)->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM)
318 struct bfa_lport_cfg_s *port_cfg);
369 struct bfa_lport_cfg_s *port_cfg,
373 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()
1035 (&((vport->fcs_vport).lport.port_cfg.nwwn))); in bfad_start_ops()
[all …]
H A Dbfad_drv.h290 struct bfa_lport_cfg_s *port_cfg,
293 struct bfa_lport_cfg_s *port_cfg);
/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c299 const struct rockchip_usb2phy_port_cfg *port_cfg; member
626 ret = property_enable(rphy->grf, &rport->port_cfg->idfall_det_clr, true); in rockchip_usb2phy_enable_id_irq()
630 ret = property_enable(rphy->grf, &rport->port_cfg->idfall_det_en, en); in rockchip_usb2phy_enable_id_irq()
634 ret = property_enable(rphy->grf, &rport->port_cfg->idrise_det_clr, true); in rockchip_usb2phy_enable_id_irq()
638 ret = property_enable(rphy->grf, &rport->port_cfg->idrise_det_en, en); in rockchip_usb2phy_enable_id_irq()
650 ret = property_enable(rphy->grf, &rport->port_cfg->bvalid_det_clr, true); in rockchip_usb2phy_enable_vbus_irq()
654 ret = property_enable(rphy->grf, &rport->port_cfg->bvalid_det_en, en); in rockchip_usb2phy_enable_vbus_irq()
665 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_clr, true); in rockchip_usb2phy_enable_line_irq()
669 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_en, en); in rockchip_usb2phy_enable_line_irq()
680 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true); in rockchip_usb2phy_enable_host_disc_irq()
[all …]
H A Dphy-rockchip-naneng-usb2.c212 const struct rockchip_usb2phy_port_cfg *port_cfg; member
402 &rport->port_cfg->idfall_det_clr, true); in rockchip_usb2phy_enable_id_irq()
406 ret = property_enable(rphy->grf, &rport->port_cfg->idfall_det_en, en); in rockchip_usb2phy_enable_id_irq()
411 &rport->port_cfg->idrise_det_clr, true); in rockchip_usb2phy_enable_id_irq()
415 ret = property_enable(rphy->grf, &rport->port_cfg->idrise_det_en, en); in rockchip_usb2phy_enable_id_irq()
428 &rport->port_cfg->bvalidfall_det_clr, true); in rockchip_usb2phy_enable_vbus_irq()
433 &rport->port_cfg->bvalidfall_det_en, en); in rockchip_usb2phy_enable_vbus_irq()
438 &rport->port_cfg->bvalidrise_det_clr, true); in rockchip_usb2phy_enable_vbus_irq()
443 &rport->port_cfg->bvalidrise_det_en, en); in rockchip_usb2phy_enable_vbus_irq()
454 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_clr, true); in rockchip_usb2phy_enable_line_irq()
[all …]
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-rockchip-naneng-usb2.c198 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_chg_get_type() local
216 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_chg_get_type()
219 if (!property_enabled(rphy->grf, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type()
270 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_check_vbus() local
278 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_check_vbus()
279 if (port_cfg->utmi_iddig.offset) { in rockchip_usb2phy_check_vbus()
280 iddig = property_enabled(base, &port_cfg->utmi_iddig); in rockchip_usb2phy_check_vbus()
293 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_init() local
296 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_init()
298 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_init()
[all …]
H A Dphy-rockchip-inno-usb2.c260 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_chg_get_type() local
279 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_chg_get_type()
282 if (!property_enabled(base, &port_cfg->utmi_bvalid)) { in rockchip_chg_get_type()
293 property_enable(base, &port_cfg->phy_sus, true); in rockchip_chg_get_type()
359 property_enable(base, &port_cfg->phy_sus, false); in rockchip_chg_get_type()
378 const struct rockchip_usb2phy_port_cfg *port_cfg; in otg_phy_init() local
395 port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in otg_phy_init()
402 property_enable(base, &port_cfg->phy_sus, true); in otg_phy_init()
404 property_enable(base, &port_cfg->phy_sus, false); in otg_phy_init()
437 const struct rockchip_usb2phy_port_cfg *port_cfg; in rockchip_usb2phy_init() local
[all …]
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/via/
H A Dvia-gpio.c212 struct via_port_cfg *port_cfg = vdev->port_cfg; in viafb_gpio_probe() local
222 if (port_cfg[i].mode != VIA_MODE_GPIO) in viafb_gpio_probe()
226 if (gpio->vg_port_index == port_cfg[i].ioport_index) { in viafb_gpio_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mscc/
H A Docelot.c946 u32 port_cfg; in ocelot_bridge_stp_state_set() local
952 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, port); in ocelot_bridge_stp_state_set()
959 port_cfg |= ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set()
963 port_cfg &= ~ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set()
968 ocelot_write_gix(ocelot, port_cfg, ANA_PORT_PORT_CFG, port); in ocelot_bridge_stp_state_set()
1265 u32 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, p); in ocelot_setup_lag() local
1267 port_cfg &= ~ANA_PORT_PORT_CFG_PORTID_VAL_M; in ocelot_setup_lag()
1270 ocelot_write_gix(ocelot, port_cfg | in ocelot_setup_lag()
1319 u32 port_cfg; in ocelot_port_lag_leave() local
1338 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, port); in ocelot_port_lag_leave()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/micrel/
H A Dksz884x.c1176 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member
1957 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function
2118 port_cfg(hw, p, in port_cfg_broad_storm()
2265 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate()
2266 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate()
2276 port_cfg(hw, p, in port_cfg_back_pressure()
2282 port_cfg(hw, p, in port_cfg_force_flow_ctrl()
2302 port_cfg(hw, p, in port_cfg_rx()
2308 port_cfg(hw, p, in port_cfg_tx()
2330 port_cfg(hw, p, in port_cfg_ins_tag()
[all …]
/OK3568_Linux_fs/kernel/sound/soc/qcom/qdsp6/
H A Dq6afe.c541 union afe_port_config port_cfg; member
1236 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare()
1261 union afe_port_config *pcfg = &port->port_cfg; in q6afe_tdm_port_prepare()
1297 union afe_port_config *pcfg = &port->port_cfg; in q6afe_hdmi_port_prepare()
1317 union afe_port_config *pcfg = &port->port_cfg; in q6afe_i2s_port_prepare()
1461 union afe_port_config *pcfg = &port->port_cfg; in q6afe_cdc_dma_port_prepare()
1490 ret = q6afe_port_set_param_v2(port, &port->port_cfg, param_id, in q6afe_port_start()
1492 sizeof(port->port_cfg)); in q6afe_port_start()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/rtl8821c/
H A Drtl8821c_ops.c708 static const struct hw_port_reg port_cfg[] = { variable
797 addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_addr()
813 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_set()
828 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_add()
844 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_clr()
876 tsf_rst_addr = port_cfg[hw_port].tsf_rst; in hw_tsf_reset()
877 tsf_rst_bit = port_cfg[hw_port].tsf_rst_bit; in hw_tsf_reset()
926 u32 reg = port_cfg[hw_port].ta; in hw_set_ta()
936 rtw_write16(adapter, port_cfg[hw_port].ps_aid, (0xF800 | aid)); in hw_set_aid()
1148 …vnet_type = (rtw_read8(adapter, port_cfg[adapter->hw_port].net_type) >> port_cfg[adapter->hw_port]… in rtw_hal_port_reconfig()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/rtl8821c/
H A Drtl8821c_ops.c709 static const struct hw_port_reg port_cfg[] = { variable
798 addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_addr()
814 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_set()
829 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_add()
845 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_clr()
877 tsf_rst_addr = port_cfg[hw_port].tsf_rst; in hw_tsf_reset()
878 tsf_rst_bit = port_cfg[hw_port].tsf_rst_bit; in hw_tsf_reset()
927 u32 reg = port_cfg[hw_port].ta; in hw_set_ta()
937 rtw_write16(adapter, port_cfg[hw_port].ps_aid, (0xF800 | aid)); in hw_set_aid()
1149 …vnet_type = (rtw_read8(adapter, port_cfg[adapter->hw_port].net_type) >> port_cfg[adapter->hw_port]… in rtw_hal_port_reconfig()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dsdram.h55 u32 port_cfg; member
106 u32 port_cfg; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/rtl8822b/
H A Drtl8822b_ops.c33 static const struct hw_port_reg port_cfg[] = { variable
2355 port_cfg[if_p0->hw_port].bcn_ctl); in hw_var_port_switch_8822b()
2357 rtw_write8(adapter, port_cfg[if_p0->hw_port].bcn_ctl, in hw_var_port_switch_8822b()
2362 port_cfg[if_pn->hw_port].bcn_ctl); in hw_var_port_switch_8822b()
2364 rtw_write8(adapter, port_cfg[if_pn->hw_port].bcn_ctl, in hw_var_port_switch_8822b()
2377 bssid_offset = port_cfg[if_pn->hw_port].bssid; in hw_var_port_switch_8822b()
2384 bssid_offset = port_cfg[if_p0->hw_port].bssid; in hw_var_port_switch_8822b()
2438 addr_pn = port_cfg[if_pn->hw_port].bcn_space; in hw_var_port_switch_8822b()
2439 mask_pn = port_cfg[if_pn->hw_port].bcn_space_mask; in hw_var_port_switch_8822b()
2440 shift_pn = port_cfg[if_pn->hw_port].bcn_space_shift; in hw_var_port_switch_8822b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/rtl8822b/
H A Drtl8822b_ops.c29 static const struct hw_port_reg port_cfg[] = { variable
118 addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_addr()
135 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_set()
151 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_add()
167 bcn_ctl_addr = port_cfg[hw_port].bcn_ctl; in hw_bcn_ctrl_clr()
1166 tsf_rst_addr = port_cfg[hw_port].tsf_rst; in hw_tsf_reset()
1167 tsf_rst_bit = port_cfg[hw_port].tsf_rst_bit; in hw_tsf_reset()
1173 u32 reg = port_cfg[hw_port].ta; in hw_set_ta()
1183 rtw_write16(adapter, port_cfg[hw_port].ps_aid, (0xF800 | aid)); in hw_set_aid()
1701 rtw_write16(adapter, port_cfg[hw_port].ps_aid, (0xF800 | pmlmeinfo->aid)); in hw_var_set_dl_rsvd_page()
[all …]
/OK3568_Linux_fs/u-boot/drivers/ddr/altera/
H A Dsdram.c373 writel(cfg->port_cfg, &sdr_ctrl->port_cfg); in sdr_load_regs()
/OK3568_Linux_fs/kernel/include/linux/
H A Dvia-core.h67 struct via_port_cfg *port_cfg; member

12