Home
last modified time | relevance | path

Searched refs:host_p (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/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.c343 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_set_p0_ptype() local
347 val = readl(host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
361 writel(pri_map, host_p->port_base + AM65_CPSW_PORT_REG_RX_PRI_MAP); in am65_cpsw_nuss_set_p0_ptype()
362 writel(val, host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
372 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_common_open() local
386 host_p->port_base + AM65_CPSW_PORT_REG_RX_MAXLEN); in am65_cpsw_nuss_common_open()
389 host_p->port_base + AM65_CPSW_PORT0_REG_FLOW_ID_OFFSET); in am65_cpsw_nuss_common_open()
391 host_p->port_base + AM65_CPSW_P0_REG_CTL); in am65_cpsw_nuss_common_open()
1926 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_init_host_p() local
1928 host_p in am65_cpsw_nuss_init_host_p()
3037 struct am65_cpsw_host *host_p = am65_common_get_host(common); am65_cpsw_nuss_suspend() local
3078 struct am65_cpsw_host *host_p = am65_common_get_host(common); am65_cpsw_nuss_resume() local
[all...]
H A Dam65-cpsw-ethtool.c646 struct am65_cpsw_host *host_p; in am65_cpsw_get_ethtool_stats() local
650 host_p = am65_common_get_host(common); in am65_cpsw_get_ethtool_stats()
655 *data++ = readl_relaxed(host_p->stat_base + in am65_cpsw_get_ethtool_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c385 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_set_p0_ptype() local
389 val = readl(host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
403 writel(pri_map, host_p->port_base + AM65_CPSW_PORT_REG_RX_PRI_MAP); in am65_cpsw_nuss_set_p0_ptype()
404 writel(val, host_p->port_base + AM65_CPSW_PORT_REG_PRI_CTL); in am65_cpsw_nuss_set_p0_ptype()
410 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_common_open() local
424 host_p->port_base + AM65_CPSW_PORT_REG_RX_MAXLEN); in am65_cpsw_nuss_common_open()
427 host_p->port_base + AM65_CPSW_PORT0_REG_FLOW_ID_OFFSET); in am65_cpsw_nuss_common_open()
429 writel(AM65_CPSW_P0_REG_CTL_RX_CHECKSUM_EN, host_p->port_base + AM65_CPSW_P0_REG_CTL); in am65_cpsw_nuss_common_open()
1629 struct am65_cpsw_host *host_p = am65_common_get_host(common); in am65_cpsw_nuss_init_host_p() local
1631 host_p in am65_cpsw_nuss_init_host_p()
[all...]
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_init.c4785 nv->host_p[1] = BIT_2; in qla2x00_nvram_config()
4854 if (nv->host_p[1] & BIT_7) { in qla2x00_nvram_config()
4877 if (nv->host_p[0] & BIT_7) in qla2x00_nvram_config()
4879 ha->flags.disable_risc_code_load = ((nv->host_p[0] & BIT_4) ? 1 : 0); in qla2x00_nvram_config()
4883 ha->flags.enable_lip_reset = ((nv->host_p[1] & BIT_1) ? 1 : 0); in qla2x00_nvram_config()
4884 ha->flags.enable_lip_full_login = ((nv->host_p[1] & BIT_2) ? 1 : 0); in qla2x00_nvram_config()
4885 ha->flags.enable_target_reset = ((nv->host_p[1] & BIT_3) ? 1 : 0); in qla2x00_nvram_config()
7455 nv->host_p = cpu_to_le32(BIT_11|BIT_10); in qla24xx_nvram_config()
7469 nv->host_p &= cpu_to_le32(~BIT_10); in qla24xx_nvram_config()
7503 if (nv->host_p in qla24xx_nvram_config()
[all...]
H A Dqla_fw.h220 __le32 host_p; member
1959 __le32 host_p; member
H A Dqla_target.c6883 nv->host_p &= cpu_to_le32(~BIT_10); in qlt_24xx_config_nvram_stage1()
6995 nv->host_p &= cpu_to_le32(~BIT_10); in qlt_81xx_config_nvram_stage1()
H A Dqla_def.h1754 uint8_t host_p[2]; member
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_init.c5280 nv->host_p[1] = BIT_2; in qla2x00_nvram_config()
5349 if (nv->host_p[1] & BIT_7) { in qla2x00_nvram_config()
5372 if (nv->host_p[0] & BIT_7) in qla2x00_nvram_config()
5374 ha->flags.disable_risc_code_load = ((nv->host_p[0] & BIT_4) ? 1 : 0); in qla2x00_nvram_config()
5378 ha->flags.enable_lip_reset = ((nv->host_p[1] & BIT_1) ? 1 : 0); in qla2x00_nvram_config()
5379 ha->flags.enable_lip_full_login = ((nv->host_p[1] & BIT_2) ? 1 : 0); in qla2x00_nvram_config()
5380 ha->flags.enable_target_reset = ((nv->host_p[1] & BIT_3) ? 1 : 0); in qla2x00_nvram_config()
7941 nv->host_p = cpu_to_le32(BIT_11|BIT_10); in qla24xx_nvram_config()
7955 nv->host_p &= cpu_to_le32(~BIT_10); in qla24xx_nvram_config()
7989 if (nv->host_p in qla24xx_nvram_config()
[all...]
H A Dqla_fw.h221 __le32 host_p; member
1990 __le32 host_p; member
H A Dqla_target.c6920 nv->host_p &= cpu_to_le32(~BIT_10); in qlt_24xx_config_nvram_stage1()
7032 nv->host_p &= cpu_to_le32(~BIT_10); in qlt_81xx_config_nvram_stage1()
H A Dqla_def.h1870 uint8_t host_p[2]; member

Completed in 96 milliseconds