Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/
H A 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()
H A Dam65-cpsw-nuss.c474 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_set_p0_ptype() local
478 val = readl(host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
492 writel(pri_map, host_p->port_base + AM65_CPSW_PORT_REG_RX_PRI_MAP); in am65_cpsw_nuss_set_p0_ptype()
493 writel(val, host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
869 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_common_open() local
882 host_p->port_base + AM65_CPSW_PORT_REG_RX_MAXLEN); in am65_cpsw_nuss_common_open()
885 host_p->port_base + AM65_CPSW_PORT0_REG_FLOW_ID_OFFSET); in am65_cpsw_nuss_common_open()
887 host_p->port_base + AM65_CPSW_P0_REG_CTL); in am65_cpsw_nuss_common_open()
2520 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_init_host_p() local
2522 host_p->common = common; in am65_cpsw_nuss_init_host_p()
[all …]
/linux/drivers/scsi/qla2xxx/
H A Dqla_init.c5425 nv->host_p[1] = BIT_2; in qla2x00_nvram_config()
5494 if (nv->host_p[1] & BIT_7) { in qla2x00_nvram_config()
5517 if (nv->host_p[0] & BIT_7) in qla2x00_nvram_config()
5519 ha->flags.disable_risc_code_load = ((nv->host_p[0] & BIT_4) ? 1 : 0); in qla2x00_nvram_config()
5523 ha->flags.enable_lip_reset = ((nv->host_p[1] & BIT_1) ? 1 : 0); in qla2x00_nvram_config()
5524 ha->flags.enable_lip_full_login = ((nv->host_p[1] & BIT_2) ? 1 : 0); in qla2x00_nvram_config()
5525 ha->flags.enable_target_reset = ((nv->host_p[1] & BIT_3) ? 1 : 0); in qla2x00_nvram_config()
8078 nv->host_p = cpu_to_le32(BIT_11|BIT_10); in qla24xx_nvram_config()
8092 nv->host_p &= cpu_to_le32(~BIT_10); in qla24xx_nvram_config()
8126 if (nv->host_p & cpu_to_le32(BIT_15)) { in qla24xx_nvram_config()
[all …]