Home
last modified time | relevance | path

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

12

/linux-5.19.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 …]
/linux-5.19.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 …]
/linux-5.19.10/drivers/hid/
Dhid-uclogic-params.c60 hid_dbg(hdev, "\t.desc_ptr = %p\n", pen->desc_ptr); in uclogic_params_pen_hid_dbg()
90 hid_dbg(hdev, "\t\t.desc_ptr = %p\n", frame->desc_ptr); in uclogic_params_frame_hid_dbg()
117 hid_dbg(hdev, ".desc_ptr = %p\n", params->desc_ptr); in uclogic_params_hid_dbg()
205 kfree(pen->desc_ptr); in uclogic_params_pen_cleanup()
238 __u8 *desc_ptr = NULL; in uclogic_params_pen_init_v1() local
294 desc_ptr = uclogic_rdesc_template_apply( in uclogic_params_pen_init_v1()
298 if (desc_ptr == NULL) { in uclogic_params_pen_init_v1()
307 pen->desc_ptr = desc_ptr; in uclogic_params_pen_init_v1()
308 desc_ptr = NULL; in uclogic_params_pen_init_v1()
317 kfree(desc_ptr); in uclogic_params_pen_init_v1()
[all …]
Dhid-uclogic-params.h68 __u8 *desc_ptr; member
107 __u8 *desc_ptr; member
190 __u8 *desc_ptr; member
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()
222 &drvdata->desc_ptr, in uclogic_probe()
471 kfree(drvdata->desc_ptr); in uclogic_remove()
/linux-5.19.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 …]
/linux-5.19.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 …]
/linux-5.19.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)))
/linux-5.19.10/arch/x86/include/asm/
Ddesc.h208 static inline void native_load_gdt(const struct desc_ptr *dtr) in native_load_gdt()
213 static __always_inline void native_load_idt(const struct desc_ptr *dtr) in native_load_idt()
218 static inline void native_store_gdt(struct desc_ptr *dtr) in native_store_gdt()
223 static inline void store_idt(struct desc_ptr *dtr) in store_idt()
230 const struct desc_ptr invalid_gdt = { in native_gdt_invalidate()
240 const struct desc_ptr invalid_idt = { in native_idt_invalidate()
256 struct desc_ptr gdt; in native_load_tr_desc()
Dsuspend_32.h23 struct desc_ptr gdt_desc;
24 struct desc_ptr idt;
Dsuspend_64.h46 struct desc_ptr gdt_desc;
48 struct desc_ptr idt;
Dparavirt_types.h44 struct desc_ptr;
95 void (*load_gdt)(const struct desc_ptr *);
96 void (*load_idt)(const struct desc_ptr *);
Ddesc_defs.h112 struct desc_ptr { struct
Dparavirt.h278 static inline void load_gdt(const struct desc_ptr *dtr) in load_gdt()
282 static inline void load_idt(const struct desc_ptr *dtr) in load_idt()
/linux-5.19.10/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h109 struct desc_ptr { struct
282 static inline struct desc_ptr get_gdt(void) in get_gdt()
284 struct desc_ptr gdt; in get_gdt()
290 static inline struct desc_ptr get_idt(void) in get_idt()
292 struct desc_ptr idt; in get_idt()
/linux-5.19.10/arch/x86/kvm/
Dkvm_emulate.h202 void (*get_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
203 void (*get_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
204 void (*set_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
205 void (*set_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
Demulate.c1463 struct desc_ptr dt; in read_interrupt_descriptor()
1476 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr()
1499 struct desc_ptr dt; in get_descriptor_ptr()
2018 struct desc_ptr dt; in __emulate_int_real()
2425 struct desc_ptr dt; in rsm_load_state_32()
2486 struct desc_ptr dt; in rsm_load_state_64()
3781 struct desc_ptr *ptr)) in emulate_store_desc_ptr()
3783 struct desc_ptr desc_ptr; in emulate_store_desc_ptr() local
3791 get(ctxt, &desc_ptr); in emulate_store_desc_ptr()
3794 desc_ptr.address &= 0x00ffffff; in emulate_store_desc_ptr()
[all …]
/linux-5.19.10/arch/x86/boot/compressed/
Didt_64.c25 static void load_boot_idt(const struct desc_ptr *dtr) in load_boot_idt()
Dmisc.h181 extern struct desc_ptr boot_idt_desc;
/linux-5.19.10/arch/x86/xen/
Denlighten_pv.c412 static void xen_load_gdt(const struct desc_ptr *dtr) in xen_load_gdt()
449 static void __init xen_load_gdt_boot(const struct desc_ptr *dtr) in xen_load_gdt_boot()
703 static DEFINE_PER_CPU(struct desc_ptr, idt_desc);
736 static unsigned xen_convert_trap_info(const struct desc_ptr *desc, in xen_convert_trap_info()
756 const struct desc_ptr *desc = this_cpu_ptr(&idt_desc); in xen_copy_trap_info()
764 static void xen_load_idt(const struct desc_ptr *desc) in xen_load_idt()
/linux-5.19.10/arch/x86/kernel/
Didt.c169 static struct desc_ptr idt_descr __ro_after_init = {
329 static const struct desc_ptr idt = { .address = 0, .size = 0 }; in idt_invalidate()
Dhead64.c82 static struct desc_ptr startup_gdt_descr = {
573 static struct desc_ptr bringup_idt_descr = {
593 struct desc_ptr *desc = fixup_pointer(&bringup_idt_descr, physbase); in startup_64_load_idt()
/linux-5.19.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()
/linux-5.19.10/arch/x86/platform/efi/
Defi_32.c100 struct desc_ptr gdt_descr; in efi_set_virtual_address_map()
/linux-5.19.10/arch/x86/kernel/acpi/
Dsleep.c73 native_store_gdt((struct desc_ptr *)&header->pmode_gdt); in x86_acpi_suspend_lowlevel()

12