Searched refs:vasid (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/arch/powerpc/platforms/powernv/ |
| D | vas-trace.h | 16 int vasid, 20 TP_ARGS(tsk, vasid, cop, rxattr), 26 __field(int, vasid) 35 __entry->vasid = vasid; 43 __entry->pid, __entry->vasid, __entry->cop, 51 int vasid, 55 TP_ARGS(tsk, vasid, cop, txattr), 61 __field(int, vasid) 69 __entry->vasid = vasid; 76 __entry->pid, __entry->vasid, __entry->cop, [all …]
|
| D | vas.c | 28 int rc, cpu, vasid; in init_vas_instance() local 33 rc = of_property_read_u32(dn, "ibm,vas-id", &vasid); in init_vas_instance() 41 pdev->name, vasid); in init_vas_instance() 52 vinst->vas_id = vasid; in init_vas_instance() 73 "paste_win_id_shift 0x%llx\n", pdev->name, vasid, in init_vas_instance() 78 per_cpu(cpu_vas_id, cpu) = vasid; in init_vas_instance() 101 struct vas_instance *find_vas_instance(int vasid) in find_vas_instance() argument 108 if (vasid == -1) in find_vas_instance() 109 vasid = per_cpu(cpu_vas_id, smp_processor_id()); in find_vas_instance() 113 if (vinst->vas_id == vasid) { in find_vas_instance() [all …]
|
| D | vas-window.c | 582 int vasid, winid; in get_user_rxwin() local 585 decode_pswid(pswid, &vasid, &winid); in get_user_rxwin() 587 if (vinst->vas_id != vasid) in get_user_rxwin() 847 struct vas_window *vas_rx_win_open(int vasid, enum vas_cop_type cop, in vas_rx_win_open() argument 854 trace_vas_rx_win_open(current, vasid, cop, rxattr); in vas_rx_win_open() 859 vinst = find_vas_instance(vasid); in vas_rx_win_open() 861 pr_devel("vasid %d not found!\n", vasid); in vas_rx_win_open() 864 pr_devel("Found instance %d\n", vasid); in vas_rx_win_open() 975 struct vas_window *vas_tx_win_open(int vasid, enum vas_cop_type cop, in vas_tx_win_open() argument 984 trace_vas_tx_win_open(current, vasid, cop, attr); in vas_tx_win_open() [all …]
|
| D | vas.h | 404 extern struct vas_instance *find_vas_instance(int vasid); 447 static inline void decode_pswid(u32 pswid, int *vasid, int *winid) in decode_pswid() argument 449 if (vasid) in decode_pswid() 450 *vasid = pswid >> (31 - 7) & 0xFF; in decode_pswid()
|
| /Linux-v5.4/arch/powerpc/include/asm/ |
| D | vas.h | 125 struct vas_window *vas_rx_win_open(int vasid, enum vas_cop_type cop, 144 struct vas_window *vas_tx_win_open(int vasid, enum vas_cop_type cop,
|
| /Linux-v5.4/drivers/crypto/nx/ |
| D | nx-842-powernv.c | 747 int vasid, int *ct) in vas_cfg_coproc_info() argument 823 rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); in vas_cfg_coproc_info() 832 coproc->vas.id = vasid; in vas_cfg_coproc_info() 855 int chip_id, vasid, ret = 0; in nx842_powernv_probe_vas() local 865 vasid = chip_to_vas_id(chip_id); in nx842_powernv_probe_vas() 866 if (vasid < 0) { in nx842_powernv_probe_vas() 873 ret = vas_cfg_coproc_info(dn, chip_id, vasid, &ct); in nx842_powernv_probe_vas()
|