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

12

/linux-master/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-loop.c57 union cvmx_pip_prt_cfgx port_cfg; local
59 port_cfg.u64 = cvmx_read_csr(CVMX_PIP_PRT_CFGX(ipd_port));
60 port_cfg.s.maxerr_en = 0;
61 port_cfg.s.minerr_en = 0;
62 cvmx_write_csr(CVMX_PIP_PRT_CFGX(ipd_port), port_cfg.u64);
H A Dcvmx-helper-npi.c87 union cvmx_pip_prt_cfgx port_cfg; local
90 port_cfg.u64 =
92 port_cfg.s.maxerr_en = 0;
93 port_cfg.s.minerr_en = 0;
95 port_cfg.u64);
/linux-master/drivers/scsi/bfa/
H A Dbfa_fcs.c57 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; local
60 port_cfg->nwwn = ioc->attr->nwwn;
61 port_cfg->pwwn = ioc->attr->pwwn;
207 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn);
214 bfa_fcs_lport_init(&fabric->bport, &fabric->bport.port_cfg);
235 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn);
283 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn);
327 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn);
388 bfa_trc(fabric->fcs, fabric->bport.port_cfg
744 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; local
757 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; local
818 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; local
[all...]
H A Dbfad_attr.c359 struct bfa_lport_cfg_s port_cfg; local
364 memset(&port_cfg, 0, sizeof(port_cfg));
365 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn);
366 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn);
368 strcpy((char *)&port_cfg.sym_name, vname);
369 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM;
373 if (port_cfg.pwwn ==
374 vp->fcs_vport.lport.port_cfg.pwwn) {
375 port_cfg
[all...]
H A Dbfa_fcs_lport.c124 bfa_trc(port->fcs, port->port_cfg.pwwn);
141 bfa_trc(port->fcs, port->port_cfg.pwwn);
179 bfa_trc(port->fcs, port->port_cfg.pwwn);
239 bfa_trc(port->fcs, port->port_cfg.pwwn);
291 bfa_trc(port->fcs, port->port_cfg.pwwn);
316 bfa_trc(port->fcs, port->port_cfg.pwwn);
351 aen_entry->aen_data.lport.roles = port->port_cfg.roles;
1081 struct bfa_lport_cfg_s *port_cfg)
1087 lport->port_cfg = *port_cfg;
1080 bfa_fcs_lport_init(struct bfa_fcs_lport_s *lport, struct bfa_lport_cfg_s *port_cfg) argument
[all...]
H A Dbfa_fcs.h205 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member in struct:bfa_fcs_lport_s
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,
[all...]
H A Dbfad_drv.h292 struct bfa_lport_cfg_s *port_cfg,
295 struct bfa_lport_cfg_s *port_cfg);
H A Dbfad.c495 struct bfa_lport_cfg_s port_cfg = {0}; local
506 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM;
507 port_cfg.pwwn = pbc_vport.vp_pwwn;
508 port_cfg.nwwn = pbc_vport.vp_nwwn;
509 port_cfg.preboot_vp = BFA_TRUE;
512 &port_cfg, vport);
636 struct bfa_lport_cfg_s *port_cfg, struct device *dev)
652 port_cfg, vport);
658 if (port_cfg->roles & BFA_LPORT_ROLE_FCP_IM) {
1027 (&((vport->fcs_vport).lport.port_cfg
635 bfad_vport_create(struct bfad_s *bfad, u16 vf_id, struct bfa_lport_cfg_s *port_cfg, struct device *dev) argument
[all...]
H A Dbfi_ms.h247 struct bfa_port_cfg_s port_cfg;/* port configuration */ member in struct:bfi_fcport_rsp_s
259 struct bfa_port_cfg_s port_cfg; /* port configuration */ member in struct:bfi_fcport_enable_req_s
H A Dbfa_defs_fcs.h239 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member in struct:bfa_lport_attr_s
H A Dbfa_fcs_rport.c1730 port->port_cfg.pwwn, port->port_cfg.nwwn,
1851 rport->reply_oxid, port->port_cfg.pwwn,
1852 port->port_cfg.nwwn,
1884 port->port_cfg.pwwn, port->port_cfg.nwwn);
2209 rx_fchs->ox_id, port->port_cfg.roles);
2277 rx_fchs->ox_id, port->port_cfg.pwwn,
2278 port->port_cfg.nwwn);
H A Dbfa_svc.c3008 struct bfa_port_cfg_s *port_cfg = &fcport->cfg; local
3028 port_cfg->topology = BFA_PORT_TOPOLOGY_P2P;
3029 port_cfg->speed = BFA_PORT_SPEED_AUTO;
3030 port_cfg->trunked = BFA_FALSE;
3031 port_cfg->maxfrsize = 0;
3033 port_cfg->trl_def_speed = BFA_PORT_SPEED_1GBPS;
3034 port_cfg->qos_bw.high = BFA_QOS_BW_HIGH;
3035 port_cfg->qos_bw.med = BFA_QOS_BW_MED;
3036 port_cfg->qos_bw.low = BFA_QOS_BW_LOW;
3153 m->port_cfg
[all...]
H A Dbfa_defs.h790 struct bfa_ablk_cfg_port_s port_cfg[BFA_ABLK_MAX_PORTS]; member in struct:bfa_ablk_cfg_inst_s
/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c202 * @port_cfg: port register configuration, assigned by driver data.
221 const struct rockchip_usb2phy_port_cfg *port_cfg; member in struct:rockchip_usb2phy_port
458 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true);
462 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_en, en);
466 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_clr, true);
470 return property_enable(rphy->grf, &rport->port_cfg->disrise_en, en);
486 &rport->port_cfg->bvalid_det_clr,
492 &rport->port_cfg->bvalid_det_en,
499 &rport->port_cfg->idfall_det_clr,
505 &rport->port_cfg
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dvia-gpio.c208 struct via_port_cfg *port_cfg = vdev->port_cfg; local
218 if (port_cfg[i].mode != VIA_MODE_GPIO)
222 if (gpio->vg_port_index == port_cfg[i].ioport_index) {
H A Dvia_i2c.c225 configs = i2c_vdev->port_cfg;
H A Dvia-core.c635 global_dev.port_cfg = adap_configs;
637 global_dev.port_cfg = olpc_adap_configs;
/linux-master/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c507 u64 port_cfg = 0; local
533 port_cfg = bgx_reg_read(bgx, lmac->lmacid, BGX_GMP_GMI_PRTX_CFG);
538 port_cfg &= ~GMI_PORT_CFG_DUPLEX;
539 port_cfg |= (lmac->last_duplex << 2);
546 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */
547 port_cfg |= GMI_PORT_CFG_SPEED_MSB; /* speed_msb 1 */
548 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */
555 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */
556 port_cfg &= ~GMI_PORT_CFG_SPEED_MSB; /* speed_msb 0 */
557 port_cfg
[all...]
/linux-master/include/linux/
H A Dvia-core.h67 struct via_port_cfg *port_cfg; member in struct:viafb_dev
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pip.h288 * @port_cfg: Port hardware configuration
293 union cvmx_pip_prt_cfgx port_cfg,
296 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64);
292 cvmx_pip_config_port(uint64_t port_num, union cvmx_pip_prt_cfgx port_cfg, union cvmx_pip_prt_tagx port_tag_cfg) argument
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6afe.c544 union afe_port_config port_cfg; member in struct:q6afe_port
1242 union afe_port_config *pcfg = &port->port_cfg;
1267 union afe_port_config *pcfg = &port->port_cfg;
1303 union afe_port_config *pcfg = &port->port_cfg;
1323 union afe_port_config *pcfg = &port->port_cfg;
1467 union afe_port_config *pcfg = &port->port_cfg;
1496 ret = q6afe_port_set_param_v2(port, &port->port_cfg, param_id,
1498 sizeof(port->port_cfg));
/linux-master/drivers/net/ethernet/micrel/
H A Dksz884x.c1095 * @port_cfg: Port configuration information.
1108 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member in struct:ksz_switch
1848 * port_cfg - set port register bits
1857 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, function
1971 port_cfg(hw, p,
2112 sw->port_cfg[port].rx_rate[prio] =
2113 sw->port_cfg[port].tx_rate[prio] = 0;
2123 port_cfg(hw, p,
2131 port_cfg(hw, p,
2137 port_cfg(h
[all...]
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Dmac.c4023 .port_cfg = R_AX_PORT_CFG_P0,
4086 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_BCNTX_EN);
4093 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_TBTT_PROHIB_EN);
4116 if (!rtw89_read32_port_mask(rtwdev, rtwvif, p->port_cfg, B_AX_PORT_FUNC_EN))
4135 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_PORT_FUNC_EN |
4137 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_TSFTR_RST);
4151 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_TXBCN_RPT_EN);
4153 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_TXBCN_RPT_EN);
4163 rtw89_write32_port_set(rtwdev, rtwvif, p->port_cfg, B_AX_RXBCN_RPT_EN);
4165 rtw89_write32_port_clr(rtwdev, rtwvif, p->port_cfg, B_AX_RXBCN_RPT_E
[all...]
/linux-master/drivers/tty/serial/
H A Dsh-sci.c3493 static struct plat_sci_port port_cfg __initdata;
3503 port_cfg.type = type;
3504 sci_ports[0].cfg = &port_cfg;
3505 sci_ports[0].params = sci_probe_regmap(&port_cfg);
3506 port_cfg.scscr = sci_serial_in(&sci_ports[0].port, SCSCR);
3508 SCSCR_RE | SCSCR_TE | port_cfg.scscr);
3526 port_cfg.regtype = SCIx_RZ_SCIFA_REGTYPE;
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c1943 u32 port_cfg, val; local
1949 port_cfg = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr +
1951 val = (port_cfg & OEM_CFG_CHANNEL_TYPE_MASK) >>
1958 val = (port_cfg & OEM_CFG_SCHED_TYPE_MASK) >> OEM_CFG_SCHED_TYPE_OFFSET;

Completed in 579 milliseconds

12