Home
last modified time | relevance | path

Searched refs:host_p (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/ti/
Dam65-cpsw-switchdev.c120 struct am65_cpsw_host *host_p = am65_common_get_host(cpsw); in am65_cpsw_get_pvid() local
126 pvid = readl(host_p->port_base + AM65_CPSW_PORT_VLAN_REG_OFFSET); in am65_cpsw_get_pvid()
136 struct am65_cpsw_host *host_p = am65_common_get_host(cpsw); in am65_cpsw_set_pvid() local
146 writel(pvid, host_p->port_base + AM65_CPSW_PORT_VLAN_REG_OFFSET); in am65_cpsw_set_pvid()
Dam65-cpsw-nuss.c402 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_set_p0_ptype() local
406 val = readl(host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
420 writel(pri_map, host_p->port_base + AM65_CPSW_PORT_REG_RX_PRI_MAP); in am65_cpsw_nuss_set_p0_ptype()
421 writel(val, host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
432 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_common_open() local
446 host_p->port_base + AM65_CPSW_PORT_REG_RX_MAXLEN); in am65_cpsw_nuss_common_open()
449 host_p->port_base + AM65_CPSW_PORT0_REG_FLOW_ID_OFFSET); in am65_cpsw_nuss_common_open()
451 writel(AM65_CPSW_P0_REG_CTL_RX_CHECKSUM_EN, host_p->port_base + AM65_CPSW_P0_REG_CTL); in am65_cpsw_nuss_common_open()
1743 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_init_host_p() local
1745 host_p->common = common; in am65_cpsw_nuss_init_host_p()
[all …]
Dam65-cpsw-ethtool.c681 struct am65_cpsw_host *host_p; in am65_cpsw_get_ethtool_stats() local
685 host_p = am65_common_get_host(common); in am65_cpsw_get_ethtool_stats()
690 *data++ = readl_relaxed(host_p->stat_base + in am65_cpsw_get_ethtool_stats()
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_init.c4878 nv->host_p[1] = BIT_2; in qla2x00_nvram_config()
4947 if (nv->host_p[1] & BIT_7) { in qla2x00_nvram_config()
4970 if (nv->host_p[0] & BIT_7) in qla2x00_nvram_config()
4972 ha->flags.disable_risc_code_load = ((nv->host_p[0] & BIT_4) ? 1 : 0); in qla2x00_nvram_config()
4976 ha->flags.enable_lip_reset = ((nv->host_p[1] & BIT_1) ? 1 : 0); in qla2x00_nvram_config()
4977 ha->flags.enable_lip_full_login = ((nv->host_p[1] & BIT_2) ? 1 : 0); in qla2x00_nvram_config()
4978 ha->flags.enable_target_reset = ((nv->host_p[1] & BIT_3) ? 1 : 0); in qla2x00_nvram_config()
7572 nv->host_p = cpu_to_le32(BIT_11|BIT_10); in qla24xx_nvram_config()
7586 nv->host_p &= cpu_to_le32(~BIT_10); in qla24xx_nvram_config()
7620 if (nv->host_p & cpu_to_le32(BIT_15)) { in qla24xx_nvram_config()
[all …]
Dqla_fw.h221 __le32 host_p; member
1987 __le32 host_p; member
Dqla_target.c7030 nv->host_p &= cpu_to_le32(~BIT_10); in qlt_24xx_config_nvram_stage1()
7142 nv->host_p &= cpu_to_le32(~BIT_10); in qlt_81xx_config_nvram_stage1()
Dqla_def.h1805 uint8_t host_p[2]; member