/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 57 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 in bfa_fcs_fabric_sm_flogi_retry() 744 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; bfa_fcs_fabric_init() local 757 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; bfa_fcs_fabric_psymb_init() local 818 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; bfa_fcs_fabric_nsymb_init() local [all...] |
H A D | bfad_attr.c | 359 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 in bfad_im_vport_create() [all...] |
H A D | bfa_fcs.h | 139 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, [all...] |
H A D | bfa_fcs_lport.c | 137 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() 1100 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init() 1093 bfa_fcs_lport_init(struct bfa_fcs_lport_s *lport, struct bfa_lport_cfg_s *port_cfg) bfa_fcs_lport_init() argument [all...] |
H A D | bfad.c | 495 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() 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 in bfad_start_ops() 635 bfad_vport_create(struct bfad_s *bfad, u16 vf_id, struct bfa_lport_cfg_s *port_cfg, struct device *dev) bfad_vport_create() argument [all...] |
H A D | bfad_drv.h | 290 struct bfa_lport_cfg_s *port_cfg, 293 struct bfa_lport_cfg_s *port_cfg);
|
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 57 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 in bfa_fcs_fabric_sm_flogi_retry() 744 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; bfa_fcs_fabric_init() local 757 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; bfa_fcs_fabric_psymb_init() local 818 struct bfa_lport_cfg_s *port_cfg = &fabric->bport.port_cfg; bfa_fcs_fabric_nsymb_init() local [all...] |
H A D | bfad_attr.c | 359 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 in bfad_im_vport_create() [all...] |
H A D | bfa_fcs.h | 139 struct bfa_lport_cfg_s port_cfg; /* port configuration */ member 160 (port->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM) 255 #define bfa_fcs_lport_get_pwwn(_lport) ((_lport)->port_cfg.pwwn) 256 #define bfa_fcs_lport_get_nwwn(_lport) ((_lport)->port_cfg.nwwn) 257 #define bfa_fcs_lport_get_psym_name(_lport) ((_lport)->port_cfg.sym_name) 258 #define bfa_fcs_lport_get_nsym_name(_lport) ((_lport)->port_cfg.node_sym_name) 260 ((_lport)->port_cfg.roles & BFA_LPORT_ROLE_FCP_IM) 315 struct bfa_lport_cfg_s *port_cfg); 366 struct bfa_lport_cfg_s *port_cfg, 370 struct bfa_lport_cfg_s *port_cfg, [all...] |
H A D | bfa_fcs_lport.c | 137 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() 1100 lport->port_cfg = *port_cfg; in bfa_fcs_lport_init() 1093 bfa_fcs_lport_init(struct bfa_fcs_lport_s *lport, struct bfa_lport_cfg_s *port_cfg) bfa_fcs_lport_init() argument [all...] |
H A D | bfad.c | 495 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() 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 in bfad_start_ops() 635 bfad_vport_create(struct bfad_s *bfad, u16 vf_id, struct bfa_lport_cfg_s *port_cfg, struct device *dev) bfad_vport_create() argument [all...] |
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
H A 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()
|
H A D | cvmx-helper-npi.c | 87 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()
|
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/executive/ |
H A 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()
|
H A D | cvmx-helper-npi.c | 87 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()
|
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 198 * @port_cfg: port register configuration, assigned by driver data. 217 const struct rockchip_usb2phy_port_cfg *port_cfg; member 454 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true); in rockchip_usb2phy_enable_host_disc_irq() 458 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_en, en); in rockchip_usb2phy_enable_host_disc_irq() 462 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_clr, true); in rockchip_usb2phy_enable_host_disc_irq() 466 return property_enable(rphy->grf, &rport->port_cfg->disrise_en, en); in rockchip_usb2phy_enable_host_disc_irq() 482 &rport->port_cfg->bvalid_det_clr, in rockchip_usb2phy_init() 488 &rport->port_cfg->bvalid_det_en, in rockchip_usb2phy_init() 495 &rport->port_cfg->id_det_clr, in rockchip_usb2phy_init() 501 &rport->port_cfg in rockchip_usb2phy_init() [all...] |
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 171 * @port_cfg: port register configuration, assigned by driver data. 188 const struct rockchip_usb2phy_port_cfg *port_cfg; member 416 &rport->port_cfg->bvalid_det_clr, in rockchip_usb2phy_init() 422 &rport->port_cfg->bvalid_det_en, in rockchip_usb2phy_init() 436 &rport->port_cfg->ls_det_clr, true); in rockchip_usb2phy_init() 441 &rport->port_cfg->ls_det_en, true); in rockchip_usb2phy_init() 469 ret = property_enable(base, &rport->port_cfg->phy_sus, false); in rockchip_usb2phy_power_on() 494 ret = property_enable(base, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_power_off() 538 &rport->port_cfg->utmi_bvalid); in rockchip_usb2phy_otg_sm_work() 796 unsigned int sh = rport->port_cfg in rockchip_usb2phy_sm_work() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/via/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/via/ |
H A D | via-gpio.c | 208 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/ |
H A D | ocelot.c | 943 u32 port_cfg; in ocelot_bridge_stp_state_set() local 949 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, port); in ocelot_bridge_stp_state_set() 956 port_cfg |= ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set() 960 port_cfg &= ~ANA_PORT_PORT_CFG_LEARN_ENA; in ocelot_bridge_stp_state_set() 965 ocelot_write_gix(ocelot, port_cfg, ANA_PORT_PORT_CFG, port); in ocelot_bridge_stp_state_set() 1262 u32 port_cfg = ocelot_read_gix(ocelot, ANA_PORT_PORT_CFG, p); in ocelot_setup_lag() local 1264 port_cfg &= ~ANA_PORT_PORT_CFG_PORTID_VAL_M; in ocelot_setup_lag() 1267 ocelot_write_gix(ocelot, port_cfg | in ocelot_setup_lag() 1316 u32 port_cfg; in ocelot_port_lag_leave() local 1335 port_cfg in ocelot_port_lag_leave() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 507 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 in bgx_sgmii_change_link_state() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 507 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 in bgx_sgmii_change_link_state() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1163 * @port_cfg: Port configuration information. 1176 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member 1948 * port_cfg - set port register bits 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(h in port_cfg_rx() [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
H A D | cvmx-pip.h | 288 * @port_cfg: Port hardware configuration 293 union cvmx_pip_prt_cfgx port_cfg, in cvmx_pip_config_port() 296 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64); in cvmx_pip_config_port() 292 cvmx_pip_config_port(uint64_t port_num, union cvmx_pip_prt_cfgx port_cfg, union cvmx_pip_prt_tagx port_tag_cfg) cvmx_pip_config_port() argument
|
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
H A D | cvmx-pip.h | 288 * @port_cfg: Port hardware configuration 293 union cvmx_pip_prt_cfgx port_cfg, in cvmx_pip_config_port() 296 cvmx_write_csr(CVMX_PIP_PRT_CFGX(port_num), port_cfg.u64); in cvmx_pip_config_port() 292 cvmx_pip_config_port(uint64_t port_num, union cvmx_pip_prt_cfgx port_cfg, union cvmx_pip_prt_tagx port_tag_cfg) cvmx_pip_config_port() argument
|