/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_fcs.c | 65 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; in bfa_fcs_update_cfg() local 68 port_cfg->nwwn = ioc->attr->nwwn; in bfa_fcs_update_cfg() 69 port_cfg->pwwn = ioc->attr->pwwn; in bfa_fcs_update_cfg() 215 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_uninit() 222 bfa_fcs_lport_init(&fabric->bport, &fabric->bport.port_cfg); in bfa_fcs_fabric_sm_uninit() 243 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_created() 291 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_linkdown() 335 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_flogi() 396 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_flogi_retry() 428 bfa_trc(fabric->fcs, fabric->bport.port_cfg.pwwn); in bfa_fcs_fabric_sm_auth() [all …]
|
D | bfa_fcs_lport.c | 145 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit() 162 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init() 200 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online() 260 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline() 312 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_stopping() 337 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_deleting() 372 aen_entry->aen_data.lport.roles = port->port_cfg.roles; in bfa_fcs_lport_aen_post() 1102 struct bfa_lport_cfg_s *port_cfg) in bfa_fcs_lport_init() argument 1108 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init() 1111 lport->port_cfg.roles, in bfa_fcs_lport_init() [all …]
|
D | bfad_attr.c | 365 struct bfa_lport_cfg_s port_cfg; in bfad_im_vport_create() local 370 memset(&port_cfg, 0, sizeof(port_cfg)); in bfad_im_vport_create() 371 u64_to_wwn(fc_vport->node_name, (u8 *)&port_cfg.nwwn); in bfad_im_vport_create() 372 u64_to_wwn(fc_vport->port_name, (u8 *)&port_cfg.pwwn); in bfad_im_vport_create() 374 strcpy((char *)&port_cfg.sym_name, vname); in bfad_im_vport_create() 375 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfad_im_vport_create() 379 if (port_cfg.pwwn == in bfad_im_vport_create() 380 vp->fcs_vport.lport.port_cfg.pwwn) { in bfad_im_vport_create() 381 port_cfg.preboot_vp = in bfad_im_vport_create() 382 vp->fcs_vport.lport.port_cfg.preboot_vp; in bfad_im_vport_create() [all …]
|
D | bfa_fcs.h | 147 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member 168 (port->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM) 266 #define bfa_fcs_lport_get_pwwn(_lport) ((_lport)->port_cfg.pwwn) 267 #define bfa_fcs_lport_get_nwwn(_lport) ((_lport)->port_cfg.nwwn) 268 #define bfa_fcs_lport_get_psym_name(_lport) ((_lport)->port_cfg.sym_name) 269 #define bfa_fcs_lport_get_nsym_name(_lport) ((_lport)->port_cfg.node_sym_name) 271 ((_lport)->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM) 326 struct bfa_lport_cfg_s *port_cfg); 377 struct bfa_lport_cfg_s *port_cfg, 381 struct bfa_lport_cfg_s *port_cfg,
|
D | bfad.c | 503 struct bfa_lport_cfg_s port_cfg = {0}; in bfa_fcb_pbc_vport_create() local 514 port_cfg.roles = BFA_LPORT_ROLE_FCP_IM; in bfa_fcb_pbc_vport_create() 515 port_cfg.pwwn = pbc_vport.vp_pwwn; in bfa_fcb_pbc_vport_create() 516 port_cfg.nwwn = pbc_vport.vp_nwwn; in bfa_fcb_pbc_vport_create() 517 port_cfg.preboot_vp = BFA_TRUE; in bfa_fcb_pbc_vport_create() 520 &port_cfg, vport); in bfa_fcb_pbc_vport_create() 644 struct bfa_lport_cfg_s *port_cfg, struct device *dev) in bfad_vport_create() argument 660 port_cfg, vport); in bfad_vport_create() 666 if (port_cfg->roles & BFA_LPORT_ROLE_FCP_IM) { in bfad_vport_create() 1042 (&((vport->fcs_vport).lport.port_cfg.nwwn))); in bfad_start_ops() [all …]
|
D | bfad_drv.h | 298 struct bfa_lport_cfg_s *port_cfg, 301 struct bfa_lport_cfg_s *port_cfg);
|
D | bfi_ms.h | 255 struct bfa_port_cfg_s port_cfg;/* port configuration */ member 267 struct bfa_port_cfg_s port_cfg; /* port configuration */ member
|
D | bfa_fcs_rport.c | 1727 port->port_cfg.pwwn, port->port_cfg.nwwn, in bfa_fcs_rport_send_plogi() 1848 rport->reply_oxid, port->port_cfg.pwwn, in bfa_fcs_rport_send_plogiacc() 1849 port->port_cfg.nwwn, in bfa_fcs_rport_send_plogiacc() 1881 port->port_cfg.pwwn, port->port_cfg.nwwn); in bfa_fcs_rport_send_adisc() 2206 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()
|
D | bfa_defs_fcs.h | 247 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member
|
D | bfa_svc.c | 3036 struct bfa_port_cfg_s *port_cfg = &fcport->cfg; in bfa_fcport_attach() local 3056 port_cfg->topology = BFA_PORT_TOPOLOGY_P2P; in bfa_fcport_attach() 3057 port_cfg->speed = BFA_PORT_SPEED_AUTO; in bfa_fcport_attach() 3058 port_cfg->trunked = BFA_FALSE; in bfa_fcport_attach() 3059 port_cfg->maxfrsize = 0; in bfa_fcport_attach() 3061 port_cfg->trl_def_speed = BFA_PORT_SPEED_1GBPS; in bfa_fcport_attach() 3062 port_cfg->qos_bw.high = BFA_QOS_BW_HIGH; in bfa_fcport_attach() 3063 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach() 3064 port_cfg->qos_bw.low = BFA_QOS_BW_LOW; in bfa_fcport_attach() 3181 m->port_cfg = fcport->cfg; in bfa_fcport_send_enable() [all …]
|
D | bfa_defs.h | 798 struct bfa_ablk_cfg_port_s port_cfg[BFA_ABLK_MAX_PORTS]; member
|
/Linux-v4.19/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-loop.c | 57 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()
|
D | cvmx-helper-npi.c | 99 union cvmx_pip_prt_cfgx port_cfg; in __cvmx_helper_npi_enable() local 102 port_cfg.u64 = in __cvmx_helper_npi_enable() 104 port_cfg.s.maxerr_en = 0; in __cvmx_helper_npi_enable() 105 port_cfg.s.minerr_en = 0; in __cvmx_helper_npi_enable() 107 port_cfg.u64); in __cvmx_helper_npi_enable()
|
/Linux-v4.19/drivers/phy/rockchip/ |
D | phy-rockchip-inno-usb2.c | 199 const struct rockchip_usb2phy_port_cfg *port_cfg; member 426 &rport->port_cfg->bvalid_det_clr, in rockchip_usb2phy_init() 432 &rport->port_cfg->bvalid_det_en, in rockchip_usb2phy_init() 446 &rport->port_cfg->ls_det_clr, true); in rockchip_usb2phy_init() 451 &rport->port_cfg->ls_det_en, true); in rockchip_usb2phy_init() 479 ret = property_enable(base, &rport->port_cfg->phy_sus, false); in rockchip_usb2phy_power_on() 502 ret = property_enable(base, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_power_off() 547 &rport->port_cfg->utmi_avalid); in rockchip_usb2phy_otg_sm_work() 550 &rport->port_cfg->utmi_bvalid); in rockchip_usb2phy_otg_sm_work() 808 unsigned int sh = rport->port_cfg->utmi_hstdet.bitend - in rockchip_usb2phy_sm_work() [all …]
|
/Linux-v4.19/drivers/video/fbdev/via/ |
D | via-gpio.c | 212 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()
|
D | via-core.c | 687 global_dev.port_cfg = adap_configs; in via_pci_probe() 689 global_dev.port_cfg = olpc_adap_configs; in via_pci_probe()
|
D | via_i2c.c | 240 configs = i2c_vdev->port_cfg; in viafb_i2c_probe()
|
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.c | 501 u64 port_cfg = 0; in bgx_sgmii_change_link_state() local 527 port_cfg = bgx_reg_read(bgx, lmac->lmacid, BGX_GMP_GMI_PRTX_CFG); in bgx_sgmii_change_link_state() 532 port_cfg &= ~GMI_PORT_CFG_DUPLEX; in bgx_sgmii_change_link_state() 533 port_cfg |= (lmac->last_duplex << 2); in bgx_sgmii_change_link_state() 540 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ in bgx_sgmii_change_link_state() 541 port_cfg |= GMI_PORT_CFG_SPEED_MSB; /* speed_msb 1 */ in bgx_sgmii_change_link_state() 542 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ in bgx_sgmii_change_link_state() 549 port_cfg &= ~GMI_PORT_CFG_SPEED; /* speed 0 */ in bgx_sgmii_change_link_state() 550 port_cfg &= ~GMI_PORT_CFG_SPEED_MSB; /* speed_msb 0 */ in bgx_sgmii_change_link_state() 551 port_cfg &= ~GMI_PORT_CFG_SLOT_TIME; /* slottime 0 */ in bgx_sgmii_change_link_state() [all …]
|
/Linux-v4.19/drivers/net/ethernet/mscc/ |
D | ocelot.c | 1031 u32 port_cfg; in ocelot_port_attr_stp_state_set() local 1040 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, in ocelot_port_attr_stp_state_set() 1048 port_cfg |= ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_port_attr_stp_state_set() 1052 port_cfg &= ~ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_port_attr_stp_state_set() 1057 ocelot_write_gix(ocelot, port_cfg, ANA_PORT_PORT_CFG, in ocelot_port_attr_stp_state_set() 1412 u32 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, p); in ocelot_setup_lag() local 1414 port_cfg &= ~ANA_PORT_PORT_CFG_PORTID_VAL_M; in ocelot_setup_lag() 1417 ocelot_write_gix(ocelot, port_cfg | in ocelot_setup_lag() 1469 u32 port_cfg; in ocelot_port_lag_leave() local 1488 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, p); in ocelot_port_lag_leave() [all …]
|
/Linux-v4.19/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 1184 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member 1963 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function 2124 port_cfg(hw, p, in port_cfg_broad_storm() 2271 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate() 2272 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate() 2282 port_cfg(hw, p, in port_cfg_back_pressure() 2288 port_cfg(hw, p, in port_cfg_force_flow_ctrl() 2308 port_cfg(hw, p, in port_cfg_rx() 2314 port_cfg(hw, p, in port_cfg_tx() 2336 port_cfg(hw, p, in port_cfg_ins_tag() [all …]
|
/Linux-v4.19/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 477 union afe_port_config port_cfg; member 1073 union afe_port_config *pcfg = &port->port_cfg; in q6afe_slim_port_prepare() 1098 union afe_port_config *pcfg = &port->port_cfg; in q6afe_tdm_port_prepare() 1134 union afe_port_config *pcfg = &port->port_cfg; in q6afe_hdmi_port_prepare() 1154 union afe_port_config *pcfg = &port->port_cfg; in q6afe_i2s_port_prepare() 1305 ret = q6afe_port_set_param_v2(port, &port->port_cfg, param_id, in q6afe_port_start() 1307 sizeof(port->port_cfg)); in q6afe_port_start()
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-pip.h | 293 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-v4.19/include/linux/ |
D | via-core.h | 84 struct via_port_cfg *port_cfg; member
|
/Linux-v4.19/drivers/tty/serial/ |
D | sh-sci.c | 3385 static struct plat_sci_port port_cfg __initdata; 3397 port_cfg.type = type; in early_console_setup() 3398 sci_ports[0].cfg = &port_cfg; in early_console_setup() 3399 sci_ports[0].params = sci_probe_regmap(&port_cfg); in early_console_setup() 3400 port_cfg.scscr = sci_serial_in(&sci_ports[0].port, SCSCR); in early_console_setup() 3402 SCSCR_RE | SCSCR_TE | port_cfg.scscr); in early_console_setup()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 1615 u32 port_cfg, val; in qed_mcp_read_ufp_config() local 1621 port_cfg = qed_rd(p_hwfn, p_ptt, p_hwfn->mcp_info->port_addr + in qed_mcp_read_ufp_config() 1623 val = (port_cfg & OEM_CFG_CHANNEL_TYPE_MASK) >> in qed_mcp_read_ufp_config() 1628 val = (port_cfg & OEM_CFG_SCHED_TYPE_MASK) >> OEM_CFG_SCHED_TYPE_OFFSET; in qed_mcp_read_ufp_config()
|