Lines Matching refs:parms
32 struct tfp_send_msg_parms *parms) in tfp_send_msg_direct() argument
37 if (parms == NULL) in tfp_send_msg_direct()
40 if (parms->mailbox == TF_CHIMP_MB) in tfp_send_msg_direct()
45 parms->tf_type, in tfp_send_msg_direct()
46 parms->req_data, in tfp_send_msg_direct()
47 parms->req_size, in tfp_send_msg_direct()
48 parms->resp_data, in tfp_send_msg_direct()
49 parms->resp_size); in tfp_send_msg_direct()
60 tfp_calloc(struct tfp_calloc_parms *parms) in tfp_calloc() argument
62 if (parms == NULL) in tfp_calloc()
65 parms->mem_va = rte_zmalloc("tf", in tfp_calloc()
66 (parms->nitems * parms->size), in tfp_calloc()
67 parms->alignment); in tfp_calloc()
68 if (parms->mem_va == NULL) { in tfp_calloc()
73 parms->mem_pa = (void *)((uintptr_t)rte_mem_virt2iova(parms->mem_va)); in tfp_calloc()
74 if (parms->mem_pa == (void *)((uintptr_t)RTE_BAD_IOVA)) { in tfp_calloc()
106 tfp_spinlock_init(struct tfp_spinlock_parms *parms) in tfp_spinlock_init() argument
108 rte_spinlock_init(&parms->slock); in tfp_spinlock_init()
115 tfp_spinlock_lock(struct tfp_spinlock_parms *parms) in tfp_spinlock_lock() argument
117 rte_spinlock_lock(&parms->slock); in tfp_spinlock_lock()
124 tfp_spinlock_unlock(struct tfp_spinlock_parms *parms) in tfp_spinlock_unlock() argument
126 rte_spinlock_unlock(&parms->slock); in tfp_spinlock_unlock()