Home
last modified time | relevance | path

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

/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()
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.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()
1062 struct bfa_lport_cfg_s *port_cfg) in bfa_fcs_lport_init() argument
1068 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init()
1071 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 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()
1008 (&((vport->fcs_vport).lport.port_cfg.nwwn))); in bfad_start_ops()
[all …]
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_defs.h790 struct bfa_ablk_cfg_port_s port_cfg[BFA_ABLK_MAX_PORTS]; member
H A Dbfad_im.c1050 strscpy(symname, bfad->bfa_fcs.fabric.bport.port_cfg.sym_name.symname, in bfad_fc_host_init()
H A Dbfad_bsg.c311 port_attr.port_cfg.sym_name.symname, in bfad_iocmd_port_get_attr()
/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()
/linux/drivers/net/ethernet/qualcomm/ppe/
H A Dppe_config.c1384 struct ppe_bm_port_config port_cfg) in ppe_config_bm_threshold() argument
1396 PPE_BM_PORT_FC_SET_WEIGHT(bm_fc_val, port_cfg.weight); in ppe_config_bm_threshold()
1397 PPE_BM_PORT_FC_SET_RESUME_OFFSET(bm_fc_val, port_cfg.resume_offset); in ppe_config_bm_threshold()
1398 PPE_BM_PORT_FC_SET_RESUME_THRESHOLD(bm_fc_val, port_cfg.resume_ceil); in ppe_config_bm_threshold()
1399 PPE_BM_PORT_FC_SET_DYNAMIC(bm_fc_val, port_cfg.dynamic); in ppe_config_bm_threshold()
1400 PPE_BM_PORT_FC_SET_REACT_LIMIT(bm_fc_val, port_cfg.in_fly_buf); in ppe_config_bm_threshold()
1401 PPE_BM_PORT_FC_SET_PRE_ALLOC(bm_fc_val, port_cfg.pre_alloc); in ppe_config_bm_threshold()
1404 val = FIELD_GET(GENMASK(2, 0), port_cfg.ceil); in ppe_config_bm_threshold()
1406 val = FIELD_GET(GENMASK(10, 3), port_cfg.ceil); in ppe_config_bm_threshold()
1432 const struct ppe_bm_port_config *port_cfg; in ppe_config_bm() local
[all …]
/linux/drivers/video/fbdev/via/
H A Dvia-gpio.c207 struct via_port_cfg *port_cfg = vdev->port_cfg; in viafb_gpio_probe() local
217 if (port_cfg[i].mode != VIA_MODE_GPIO) in viafb_gpio_probe()
221 if (gpio->vg_port_index == port_cfg[i].ioport_index) { in viafb_gpio_probe()
H A Dvia-core.c639 global_dev.port_cfg = adap_configs; in via_pci_probe()
641 global_dev.port_cfg = olpc_adap_configs; in via_pci_probe()
/linux/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 …]
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c651 union afe_port_config port_cfg; member
1372 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare()
1397 union afe_port_config *pcfg = &port->port_cfg; in q6afe_tdm_port_prepare()
1459 union afe_port_config *pcfg = &port->port_cfg; in afe_port_send_usb_params()
1505 union afe_port_config *pcfg = &port->port_cfg; in q6afe_usb_port_prepare()
1526 union afe_port_config *pcfg = &port->port_cfg; in q6afe_hdmi_port_prepare()
1546 union afe_port_config *pcfg = &port->port_cfg; in q6afe_i2s_port_prepare()
1690 union afe_port_config *pcfg = &port->port_cfg; in q6afe_cdc_dma_port_prepare()
1718 ret = q6afe_port_set_param_v2(port, &port->port_cfg, param_id, in q6afe_port_start()
1720 sizeof(port->port_cfg)); in q6afe_port_start()
/linux/include/linux/
H A Dvia-core.h67 struct via_port_cfg *port_cfg; member
/linux/drivers/net/wireless/realtek/rtw89/
H A Dmac.c4460 .port_cfg = R_AX_PORT_CFG_P0,
4536 rtw89_write32_port_set(rtwdev, rtwvif_link, p->port_cfg, B_AX_BCNTX_EN); in rtw89_mac_bcn_drop()
4543 rtw89_write32_port_clr(rtwdev, rtwvif_link, p->port_cfg, B_AX_TBTT_PROHIB_EN); in rtw89_mac_bcn_drop()
4568 if (!rtw89_read32_port_mask(rtwdev, rtwvif_link, p->port_cfg, B_AX_PORT_FUNC_EN)) in rtw89_mac_port_cfg_func_sw()
4598 rtw89_write32_port_clr(rtwdev, rtwvif_link, p->port_cfg, B_AX_PORT_FUNC_EN | in rtw89_mac_port_cfg_func_sw()
4600 rtw89_write32_port_set(rtwdev, rtwvif_link, p->port_cfg, B_AX_TSFTR_RST); in rtw89_mac_port_cfg_func_sw()
4614 rtw89_write32_port_set(rtwdev, rtwvif_link, p->port_cfg, in rtw89_mac_port_cfg_tx_rpt()
4617 rtw89_write32_port_clr(rtwdev, rtwvif_link, p->port_cfg, in rtw89_mac_port_cfg_tx_rpt()
4628 rtw89_write32_port_set(rtwdev, rtwvif_link, p->port_cfg, in rtw89_mac_port_cfg_rx_rpt()
4631 rtw89_write32_port_clr(rtwdev, rtwvif_link, p->port_cfg, in rtw89_mac_port_cfg_rx_rpt()
[all …]
H A Dmac_be.c36 .port_cfg = R_BE_PORT_CFG_P0,
H A Dcore.h1068 u32 port_cfg; member
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c1937 u32 port_cfg, val; in qed_mcp_read_ufp_config() local
1943 port_cfg = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_mcp_read_ufp_config()
1945 val = (port_cfg & OEM_CFG_CHANNEL_TYPE_MASK) >> in qed_mcp_read_ufp_config()
1952 val = (port_cfg & OEM_CFG_SCHED_TYPE_MASK) >> OEM_CFG_SCHED_TYPE_OFFSET; in qed_mcp_read_ufp_config()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c2832 u64 port_cfg = 0; in i40e_parse_discover_capabilities() local
2837 i40e_aq_debug_read_register(hw, port_cfg_reg, &port_cfg, NULL); in i40e_parse_discover_capabilities()
2838 if (!(port_cfg & I40E_PRTGEN_CNF_PORT_DIS_MASK)) in i40e_parse_discover_capabilities()