Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/scsi/fnic/
Dcq_exch_desc.h34 static inline void cq_exch_wq_desc_dec(struct cq_exch_wq_desc *desc_ptr, in cq_exch_wq_desc_dec() argument
41 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_exch_wq_desc_dec()
43 *exch_status = desc_ptr->exch_status & CQ_EXCH_WQ_STATUS_MASK; in cq_exch_wq_desc_dec()
74 static inline void cq_fcp_rq_desc_dec(struct cq_fcp_rq_desc *desc_ptr, in cq_fcp_rq_desc_dec() argument
94 cq_desc_dec((struct cq_desc *)desc_ptr, type, in cq_fcp_rq_desc_dec()
96 *eop = (desc_ptr->completed_index_eop_sop_prt & in cq_fcp_rq_desc_dec()
98 *sop = (desc_ptr->completed_index_eop_sop_prt & in cq_fcp_rq_desc_dec()
101 (desc_ptr->completed_index_eop_sop_prt & in cq_fcp_rq_desc_dec()
103 *exchange_id = desc_ptr->exchange_id; in cq_fcp_rq_desc_dec()
104 *tmpl = desc_ptr->tmpl & CQ_FCP_RQ_DESC_TMPL_MASK; in cq_fcp_rq_desc_dec()
[all …]
/linux-6.1.9/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-6.1.9/drivers/mailbox/
Dbcm-flexrm-mailbox.c294 static u64 flexrm_read_desc(void *desc_ptr) in flexrm_read_desc() argument
296 return le64_to_cpu(*((u64 *)desc_ptr)); in flexrm_read_desc()
299 static void flexrm_write_desc(void *desc_ptr, u64 desc) in flexrm_write_desc() argument
301 *((u64 *)desc_ptr) = cpu_to_le64(desc); in flexrm_write_desc()
327 static bool flexrm_is_next_table_desc(void *desc_ptr) in flexrm_is_next_table_desc() argument
329 u64 desc = flexrm_read_desc(desc_ptr); in flexrm_is_next_table_desc()
366 static void flexrm_flip_header_toggle(void *desc_ptr) in flexrm_flip_header_toggle() argument
368 u64 desc = flexrm_read_desc(desc_ptr); in flexrm_flip_header_toggle()
375 flexrm_write_desc(desc_ptr, desc); in flexrm_flip_header_toggle()
395 u64 desc, void **desc_ptr, u32 *toggle, in flexrm_enqueue_desc() argument
[all …]
/linux-6.1.9/drivers/hid/
Dhid-uclogic-params.c63 hid_dbg(hdev, "\t.desc_ptr = %p\n", pen->desc_ptr); in uclogic_params_pen_hid_dbg()
94 hid_dbg(hdev, "\t\t.desc_ptr = %p\n", frame->desc_ptr); in uclogic_params_frame_hid_dbg()
122 hid_dbg(hdev, ".desc_ptr = %p\n", params->desc_ptr); in uclogic_params_hid_dbg()
210 kfree(pen->desc_ptr); in uclogic_params_pen_cleanup()
243 __u8 *desc_ptr = NULL; in uclogic_params_pen_init_v1() local
299 desc_ptr = uclogic_rdesc_template_apply( in uclogic_params_pen_init_v1()
303 if (desc_ptr == NULL) { in uclogic_params_pen_init_v1()
312 pen->desc_ptr = desc_ptr; in uclogic_params_pen_init_v1()
313 desc_ptr = NULL; in uclogic_params_pen_init_v1()
322 kfree(desc_ptr); in uclogic_params_pen_init_v1()
[all …]
Dhid-uclogic-params.h78 __u8 *desc_ptr; member
117 __u8 *desc_ptr; member
200 __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()
224 &drvdata->desc_ptr, in uclogic_probe()
473 kfree(drvdata->desc_ptr); in uclogic_remove()
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/x86/kvm/
Dkvm_emulate.h203 void (*get_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
204 void (*get_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
205 void (*set_gdt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
206 void (*set_idt)(struct x86_emulate_ctxt *ctxt, struct desc_ptr *dt);
Demulate.c1492 struct desc_ptr dt; in read_interrupt_descriptor()
1505 u16 selector, struct desc_ptr *dt) in get_descriptor_table_ptr()
1528 struct desc_ptr dt; in get_descriptor_ptr()
2047 struct desc_ptr dt; in __emulate_int_real()
2454 struct desc_ptr dt; in rsm_load_state_32()
2515 struct desc_ptr dt; in rsm_load_state_64()
3821 struct desc_ptr *ptr)) in emulate_store_desc_ptr()
3823 struct desc_ptr desc_ptr; in emulate_store_desc_ptr() local
3831 get(ctxt, &desc_ptr); in emulate_store_desc_ptr()
3834 desc_ptr.address &= 0x00ffffff; in emulate_store_desc_ptr()
[all …]
/linux-6.1.9/arch/x86/boot/compressed/
Didt_64.c25 static void load_boot_idt(const struct desc_ptr *dtr) in load_boot_idt()
Dmisc.h183 extern struct desc_ptr boot_idt_desc;
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h211 struct desc_ptr { struct
384 static inline struct desc_ptr get_gdt(void) in get_gdt()
386 struct desc_ptr gdt; in get_gdt()
392 static inline struct desc_ptr get_idt(void) in get_idt()
394 struct desc_ptr idt; in get_idt()
/linux-6.1.9/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-6.1.9/drivers/gpu/drm/via/
Dvia_dri1.c1512 drm_via_descriptor_t *desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device() local
1520 desc_ptr = vsg->desc_pages[cur_descriptor_page] + in via_unmap_blit_from_device()
1523 dma_unmap_single(&pdev->dev, next, sizeof(*desc_ptr), DMA_TO_DEVICE); in via_unmap_blit_from_device()
1524 dma_unmap_page(&pdev->dev, desc_ptr->mem_addr, desc_ptr->size, vsg->direction); in via_unmap_blit_from_device()
1525 next = (dma_addr_t) desc_ptr->next; in via_unmap_blit_from_device()
1526 desc_ptr--; in via_unmap_blit_from_device()
1554 drm_via_descriptor_t *desc_ptr = NULL; in via_map_blit_for_device() local
1557 desc_ptr = vsg->desc_pages[cur_descriptor_page]; in via_map_blit_for_device()
1571 desc_ptr->mem_addr = in via_map_blit_for_device()
1577 desc_ptr->dev_addr = cur_fb; in via_map_blit_for_device()
[all …]
/linux-6.1.9/arch/x86/xen/
Denlighten_pv.c423 static void xen_load_gdt(const struct desc_ptr *dtr) in xen_load_gdt()
460 static void __init xen_load_gdt_boot(const struct desc_ptr *dtr) in xen_load_gdt_boot()
714 static DEFINE_PER_CPU(struct desc_ptr, idt_desc);
747 static unsigned xen_convert_trap_info(const struct desc_ptr *desc, in xen_convert_trap_info()
767 const struct desc_ptr *desc = this_cpu_ptr(&idt_desc); in xen_copy_trap_info()
775 static void xen_load_idt(const struct desc_ptr *desc) in xen_load_idt()
/linux-6.1.9/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-6.1.9/arch/x86/platform/efi/
Defi_32.c100 struct desc_ptr gdt_descr; in efi_set_virtual_address_map()
/linux-6.1.9/arch/x86/kernel/acpi/
Dsleep.c73 native_store_gdt((struct desc_ptr *)&header->pmode_gdt); in x86_acpi_suspend_lowlevel()

12