Home
last modified time | relevance | path

Searched refs:vasid (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/arch/powerpc/platforms/powernv/
A Dvas-trace.h16 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;
91 __field(int, vasid)
[all …]
A Dvas.c57 int rc, cpu, vasid; in init_vas_instance() local
59 rc = of_property_read_u32(dn, "ibm,vas-id", &vasid); in init_vas_instance()
73 pdev->name, vasid); in init_vas_instance()
90 vinst->vas_id = vasid; in init_vas_instance()
133 pdev->name, vasid, vinst->paste_base_addr, in init_vas_instance()
139 per_cpu(cpu_vas_id, cpu) = vasid; in init_vas_instance()
179 struct vas_instance *find_vas_instance(int vasid) in find_vas_instance() argument
186 if (vasid == -1) in find_vas_instance()
187 vasid = per_cpu(cpu_vas_id, smp_processor_id()); in find_vas_instance()
191 if (vinst->vas_id == vasid) { in find_vas_instance()
[all …]
A Dvas.h422 extern struct vas_instance *find_vas_instance(int vasid);
488 static inline u32 encode_pswid(int vasid, int winid) in encode_pswid() argument
490 return ((u32)winid | (vasid << (31 - 7))); in encode_pswid()
493 static inline void decode_pswid(u32 pswid, int *vasid, int *winid) in decode_pswid() argument
495 if (vasid) in decode_pswid()
496 *vasid = pswid >> (31 - 7) & 0xFF; in decode_pswid()
A Dvas-window.c585 int vasid, winid; in get_user_rxwin() local
588 decode_pswid(pswid, &vasid, &winid); in get_user_rxwin()
590 if (vinst->vas_id != vasid) in get_user_rxwin()
865 vinst = find_vas_instance(vasid); in vas_rx_win_open()
867 pr_devel("vasid %d not found!\n", vasid); in vas_rx_win_open()
870 pr_devel("Found instance %d\n", vasid); in vas_rx_win_open()
1004 trace_vas_tx_win_open(current, vasid, cop, attr); in vas_tx_win_open()
1014 if (vasid == -1 && attr->pswid) in vas_tx_win_open()
1015 decode_pswid(attr->pswid, &vasid, NULL); in vas_tx_win_open()
1017 vinst = find_vas_instance(vasid); in vas_tx_win_open()
[all …]
/linux-6.3-rc2/drivers/crypto/nx/
A Dnx-common-powernv.c766 int vasid, int type, int *ct) in vas_cfg_coproc_info() argument
842 rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); in vas_cfg_coproc_info()
851 coproc->vas.id = vasid; in vas_cfg_coproc_info()
892 int vasid, int type, char *devname, in find_nx_device_tree() argument
898 ret = vas_cfg_coproc_info(dn, chip_id, vasid, type, ct); in find_nx_device_tree()
908 int chip_id, vasid, ret = 0; in nx_powernv_probe_vas() local
918 vasid = chip_to_vas_id(chip_id); in nx_powernv_probe_vas()
919 if (vasid < 0) { in nx_powernv_probe_vas()
925 ret = find_nx_device_tree(dn, chip_id, vasid, NX_CT_842, in nx_powernv_probe_vas()
929 ret = find_nx_device_tree(dn, chip_id, vasid, in nx_powernv_probe_vas()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dvas.h199 struct vas_window *vas_rx_win_open(int vasid, enum vas_cop_type cop,
218 struct vas_window *vas_tx_win_open(int vasid, enum vas_cop_type cop,

Completed in 15 milliseconds