Home
last modified time | relevance | path

Searched refs:desc_ptr (Results 1 – 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dcq_exch_desc.h46 static inline void cq_exch_wq_desc_dec(struct cq_exch_wq_desc *desc_ptr, in cq_exch_wq_desc_dec() argument
53 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_exch_wq_desc_dec()
55 *exch_status = desc_ptr->exch_status & CQ_EXCH_WQ_STATUS_MASK; in cq_exch_wq_desc_dec()
86 static inline void cq_fcp_rq_desc_dec(struct cq_fcp_rq_desc *desc_ptr, in cq_fcp_rq_desc_dec() argument
106 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_fcp_rq_desc_dec()
108 *eop = (desc_ptr->completed_index_eop_sop_prt & in cq_fcp_rq_desc_dec()
110 *sop = (desc_ptr->completed_index_eop_sop_prt & in cq_fcp_rq_desc_dec()
113 (desc_ptr->completed_index_eop_sop_prt & in cq_fcp_rq_desc_dec()
115 *exchange_id = desc_ptr->exchange_id; in cq_fcp_rq_desc_dec()
116 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK; in cq_fcp_rq_desc_dec()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dses.c155 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_set_page2_descriptor() local
158 memset(desc_ptr, 0, ses_dev->page2_len - 8); in ses_set_page2_descriptor()
161 desc_ptr += 4; in ses_set_page2_descriptor()
166 memcpy(desc_ptr, desc, 4); in ses_set_page2_descriptor()
168 desc_ptr[0] |= 0x80; in ses_set_page2_descriptor()
170 desc_ptr[0] &= 0xf0; in ses_set_page2_descriptor()
185 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_get_page2_descriptor() local
192 desc_ptr += 4; in ses_get_page2_descriptor()
197 return desc_ptr; in ses_get_page2_descriptor()
226 unsigned char *desc_ptr; in ses_set_fault() local
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-uclogic-params.c119 kfree(pen->desc_ptr); in uclogic_params_pen_cleanup()
152 __u8 *desc_ptr = NULL; in uclogic_params_pen_init_v1() local
208 desc_ptr = uclogic_rdesc_template_apply( in uclogic_params_pen_init_v1()
212 if (desc_ptr == NULL) { in uclogic_params_pen_init_v1()
221 pen->desc_ptr = desc_ptr; in uclogic_params_pen_init_v1()
222 desc_ptr = NULL; in uclogic_params_pen_init_v1()
231 kfree(desc_ptr); in uclogic_params_pen_init_v1()
280 __u8 *desc_ptr = NULL; in uclogic_params_pen_init_v2() local
352 desc_ptr = uclogic_rdesc_template_apply( in uclogic_params_pen_init_v2()
356 if (desc_ptr == NULL) { in uclogic_params_pen_init_v2()
[all …]
Dhid-uclogic-params.h49 __u8 *desc_ptr; member
80 __u8 *desc_ptr; member
129 __u8 *desc_ptr; member
184 (_params)->desc_ptr, \
187 (_params)->pen.desc_ptr, \
192 (_params)->frame.desc_ptr, \
Dhid-uclogic-core.c30 __u8 *desc_ptr; member
77 if (drvdata->desc_ptr != NULL) { in uclogic_report_fixup()
78 rdesc = drvdata->desc_ptr; in uclogic_report_fixup()
203 &drvdata->desc_ptr, in uclogic_probe()
354 kfree(drvdata->desc_ptr); in uclogic_remove()
/kernel/linux/linux-5.10/drivers/mailbox/
Dbcm-flexrm-mailbox.c304 static u64 flexrm_read_desc(void *desc_ptr) in flexrm_read_desc() argument
306 return le64_to_cpu(*((u64 *)desc_ptr)); in flexrm_read_desc()
309 static void flexrm_write_desc(void *desc_ptr, u64 desc) in flexrm_write_desc() argument
311 *((u64 *)desc_ptr) = cpu_to_le64(desc); in flexrm_write_desc()
337 static bool flexrm_is_next_table_desc(void *desc_ptr) in flexrm_is_next_table_desc() argument
339 u64 desc = flexrm_read_desc(desc_ptr); in flexrm_is_next_table_desc()
376 static void flexrm_flip_header_toggle(void *desc_ptr) in flexrm_flip_header_toggle() argument
378 u64 desc = flexrm_read_desc(desc_ptr); in flexrm_flip_header_toggle()
385 flexrm_write_desc(desc_ptr, desc); in flexrm_flip_header_toggle()
405 u64 desc, void **desc_ptr, u32 *toggle, in flexrm_enqueue_desc() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/via/
Dvia_dmablit.c72 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device() local
80 desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device()
83 dma_unmap_single(&pdev->dev, next, sizeof(*desc_ptr), DMA_TO_DEVICE); in via_unmap_blit_from_device()
84 dma_unmap_page(&pdev->dev, desc_ptr->mem_addr, desc_ptr->size, vsg->direction); in via_unmap_blit_from_device()
85 next = (dma_addr_t) desc_ptr->next; in via_unmap_blit_from_device()
86 desc_ptr--; in via_unmap_blit_from_device()
115 drm_via_descriptor_t *desc_ptr = NULL; in via_map_blit_for_device() local
118 desc_ptr = vsg->desc_pages[cur_descriptor_page]; in via_map_blit_for_device()
132 desc_ptr->mem_addr = in via_map_blit_for_device()
138 desc_ptr->dev_addr = cur_fb; in via_map_blit_for_device()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
Dionic_stats.h48 #define IONIC_READ_STAT64(base_ptr, desc_ptr) \ argument
49 (*((u64 *)(((u8 *)(base_ptr)) + (desc_ptr)->offset)))
51 #define IONIC_READ_STAT_LE64(base_ptr, desc_ptr) \ argument
52 __le64_to_cpu(*((__le64 *)(((u8 *)(base_ptr)) + (desc_ptr)->offset)))
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dsuspend_32.h26 struct desc_ptr gdt_desc;
27 struct desc_ptr idt;
Dsuspend_64.h43 struct desc_ptr gdt_desc;
45 struct desc_ptr idt;
Ddesc.h207 static inline void native_load_gdt(const struct desc_ptr *dtr) in native_load_gdt()
212 static __always_inline void native_load_idt(const struct desc_ptr *dtr) in native_load_idt()
217 static inline void native_store_gdt(struct desc_ptr *dtr) in native_store_gdt()
222 static inline void store_idt(struct desc_ptr *dtr) in store_idt()
235 struct desc_ptr gdt; in native_load_tr_desc()
Dparavirt_types.h50 struct desc_ptr;
119 void (*load_gdt)(const struct desc_ptr *);
120 void (*load_idt)(const struct desc_ptr *);
Ddesc_defs.h112 struct desc_ptr { struct
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h70 struct desc_ptr { struct
228 static inline struct desc_ptr get_gdt(void) in get_gdt()
230 struct desc_ptr gdt; in get_gdt()
236 static inline struct desc_ptr get_idt(void) in get_idt()
238 struct desc_ptr idt; in get_idt()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dkvm_emulate.h201 void (*get_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
202 void (*get_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
203 void (*set_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
204 void (*set_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
/kernel/linux/linux-5.10/arch/x86/boot/compressed/
Didt_64.c25 static void load_boot_idt(const struct desc_ptr *dtr) in load_boot_idt()
Dmisc.h155 extern struct desc_ptr boot_idt_desc;
/kernel/linux/linux-5.10/arch/x86/kernel/
Dhead64.c82 static struct desc_ptr startup_gdt_descr = {
545 static struct desc_ptr bringup_idt_descr = {
565 struct desc_ptr *desc = fixup_pointer(&bringup_idt_descr, physbase); in startup_64_load_idt()
Didt.c153 static struct desc_ptr idt_descr __ro_after_init = {
338 struct desc_ptr idt = { .address = (unsigned long) addr, .size = 0 }; in idt_invalidate()
Dmachine_kexec_64.c261 struct desc_ptr curidt; in set_idt()
276 struct desc_ptr curgdt; in set_gdt()
Dmachine_kexec_32.c28 struct desc_ptr curgdt; in set_gdt()
/kernel/linux/linux-5.10/arch/x86/xen/
Denlighten_pv.c438 static void xen_load_gdt(const struct desc_ptr *dtr) in xen_load_gdt()
475 static void __init xen_load_gdt_boot(const struct desc_ptr *dtr) in xen_load_gdt_boot()
706 static DEFINE_PER_CPU(struct desc_ptr, idt_desc);
739 static unsigned xen_convert_trap_info(const struct desc_ptr *desc, in xen_convert_trap_info()
759 const struct desc_ptr *desc = this_cpu_ptr(&idt_desc); in xen_copy_trap_info()
767 static void xen_load_idt(const struct desc_ptr *desc) in xen_load_idt()
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dvudc_sysfs.c75 char *desc_ptr = (char *) &udc->dev_desc; in dev_desc_read() local
85 memcpy(out, desc_ptr + off, count); in dev_desc_read()
/kernel/linux/linux-5.10/arch/x86/platform/efi/
Defi_32.c100 struct desc_ptr gdt_descr; in efi_set_virtual_address_map()
/kernel/linux/linux-5.10/arch/x86/kernel/acpi/
Dsleep.c72 native_store_gdt((struct desc_ptr *)&header->pmode_gdt); in x86_acpi_suspend_lowlevel()

12