Searched refs:vasid (Results 1 - 6 of 6) sorted by relevance
/linux-master/arch/powerpc/platforms/powernv/ |
H A D | vas-trace.h | 16 int vasid, 20 TP_ARGS(tsk, vasid, cop, rxattr), 26 __field(int, vasid) 35 __entry->vasid = vasid; 42 TP_printk("pid=%d, vasid=%d, cop=%d, lpid=%d, pid=%d, tid=%d", 43 __entry->pid, __entry->vasid, __entry->cop, 51 int vasid, 55 TP_ARGS(tsk, vasid, cop, txattr), 61 __field(int, vasid) [all...] |
H A D | vas.c | 57 int rc, cpu, vasid; local 59 rc = of_property_read_u32(dn, "ibm,vas-id", &vasid); 73 pdev->name, vasid); 81 vinst->name = kasprintf(GFP_KERNEL, "vas-%d", vasid); 90 vinst->vas_id = vasid; 133 pdev->name, vasid, vinst->paste_base_addr, 139 per_cpu(cpu_vas_id, cpu) = vasid; 179 struct vas_instance *find_vas_instance(int vasid) argument 186 if (vasid == -1) 187 vasid [all...] |
H A D | vas.h | 422 extern struct vas_instance *find_vas_instance(int vasid); 488 static inline u32 encode_pswid(int vasid, int winid) argument 490 return ((u32)winid | (vasid << (31 - 7))); 493 static inline void decode_pswid(u32 pswid, int *vasid, int *winid) argument 495 if (vasid) 496 *vasid = pswid >> (31 - 7) & 0xFF;
|
H A D | vas-window.c | 576 * - We must have a valid vasid and it must belong to this instance. 585 int vasid, winid; local 588 decode_pswid(pswid, &vasid, &winid); 590 if (vinst->vas_id != vasid) 853 struct vas_window *vas_rx_win_open(int vasid, enum vas_cop_type cop, argument 860 trace_vas_rx_win_open(current, vasid, cop, rxattr); 865 vinst = find_vas_instance(vasid); 867 pr_devel("vasid %d not found!\n", vasid); 870 pr_devel("Found instance %d\n", vasid); 995 vas_tx_win_open(int vasid, enum vas_cop_type cop, struct vas_tx_win_attr *attr) argument [all...] |
/linux-master/drivers/crypto/nx/ |
H A D | nx-common-powernv.c | 766 int vasid, int type, int *ct) 842 rxwin = vas_rx_win_open(vasid, coproc->ct, &rxattr); 851 coproc->vas.id = vasid; 892 int vasid, int type, char *devname, 898 ret = vas_cfg_coproc_info(dn, chip_id, vasid, type, ct); 908 int chip_id, vasid, ret = 0; local 918 vasid = chip_to_vas_id(chip_id); 919 if (vasid < 0) { 920 pr_err("Unable to map chip_id %d to vasid\n", chip_id); 925 ret = find_nx_device_tree(dn, chip_id, vasid, NX_CT_84 765 vas_cfg_coproc_info(struct device_node *dn, int chip_id, int vasid, int type, int *ct) argument 891 find_nx_device_tree(struct device_node *dn, int chip_id, int vasid, int type, char *devname, int *ct) argument [all...] |
/linux-master/arch/powerpc/include/asm/ |
H A D | vas.h | 183 * Return the VAS id or -1 if no matching vasid is found. 194 * Open a VAS receive window for the instance of VAS identified by @vasid 199 struct vas_window *vas_rx_win_open(int vasid, enum vas_cop_type cop, 209 * Open a VAS send window for the instance of VAS identified by @vasid 218 struct vas_window *vas_tx_win_open(int vasid, enum vas_cop_type cop,
|
Completed in 113 milliseconds