Home
last modified time | relevance | path

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

/drivers/ntb/hw/amd/
Dntb_hw_amd.c403 return ntb_ndev(ntb)->spad_count; in amd_ntb_spad_count()
412 if (idx < 0 || idx >= ndev->spad_count) in amd_ntb_spad_read()
426 if (idx < 0 || idx >= ndev->spad_count) in amd_ntb_spad_write()
441 if (sidx < 0 || sidx >= ndev->spad_count) in amd_ntb_peer_spad_read()
455 if (sidx < 0 || sidx >= ndev->spad_count) in amd_ntb_peer_spad_write()
481 .spad_count = amd_ntb_spad_count,
759 "Scratchpad Count -\t%u\n", ndev->spad_count); in ndev_debugfs_read()
913 ndev->spad_count = AMD_SPADS_CNT; in amd_init_ntb()
919 ndev->spad_count >>= 1; in amd_init_ntb()
Dntb_hw_amd.h193 unsigned char spad_count; member
/drivers/ntb/hw/intel/
Dntb_hw_gen1.c283 if (idx < 0 || idx >= ndev->spad_count) in ndev_spad_addr()
301 if (idx < 0 || idx >= ndev->spad_count) in ndev_spad_read()
313 if (idx < 0 || idx >= ndev->spad_count) in ndev_spad_write()
553 "Scratchpad Count -\t%u\n", ndev->spad_count); in ndev_ntb_debugfs_read()
1156 return ndev->spad_count; in intel_ntb_spad_count()
1545 ndev->spad_count = XEON_SPAD_COUNT; in xeon_init_ntb()
1562 ndev->spad_count >>= 1; in xeon_init_ntb()
1574 ndev->spad_count >>= 1; in xeon_init_ntb()
1839 ndev->spad_count = 0; in ndev_init_struct()
2024 .spad_count = intel_ntb_spad_count,
Dntb_hw_gen3.c179 ndev->spad_count = GEN3_SPAD_COUNT; in gen3_init_ntb()
305 "Scratchpad Count -\t%u\n", ndev->spad_count); in ndev_ntb3_debugfs_read()
621 .spad_count = intel_ntb_spad_count,
Dntb_hw_intel.h153 unsigned char spad_count; member
/drivers/ntb/
Dntb_transport.c1247 unsigned int mw_count, qp_count, spad_count, max_mw_count_for_spads; in ntb_transport_probe() local
1289 spad_count = ntb_spad_count(ndev); in ntb_transport_probe()
1293 if (spad_count < NTB_TRANSPORT_MIN_SPADS) { in ntb_transport_probe()
1299 max_mw_count_for_spads = (spad_count - MW0_SZ_HIGH) / 2; in ntb_transport_probe()
/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c830 .spad_count = switchtec_ntb_spad_count,