/drivers/scsi/fnic/ |
D | cq_exch_desc.h | 46 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 …]
|
/drivers/scsi/ |
D | ses.c | 155 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 …]
|
/drivers/hid/ |
D | hid-uclogic-params.c | 120 kfree(pen->desc_ptr); in uclogic_params_pen_cleanup() 153 __u8 *desc_ptr = NULL; in uclogic_params_pen_init_v1() local 209 desc_ptr = uclogic_rdesc_template_apply( in uclogic_params_pen_init_v1() 213 if (desc_ptr == NULL) { in uclogic_params_pen_init_v1() 222 pen->desc_ptr = desc_ptr; in uclogic_params_pen_init_v1() 223 desc_ptr = NULL; in uclogic_params_pen_init_v1() 232 kfree(desc_ptr); in uclogic_params_pen_init_v1() 281 __u8 *desc_ptr = NULL; in uclogic_params_pen_init_v2() local 353 desc_ptr = uclogic_rdesc_template_apply( in uclogic_params_pen_init_v2() 357 if (desc_ptr == NULL) { in uclogic_params_pen_init_v2() [all …]
|
D | hid-uclogic-params.h | 49 __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, \
|
D | hid-uclogic-core.c | 30 __u8 *desc_ptr; member 77 if (drvdata->desc_ptr != NULL) { in uclogic_report_fixup() 78 rdesc = drvdata->desc_ptr; in uclogic_report_fixup() 204 &drvdata->desc_ptr, in uclogic_probe() 355 kfree(drvdata->desc_ptr); in uclogic_remove()
|
/drivers/mailbox/ |
D | bcm-flexrm-mailbox.c | 304 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 …]
|
/drivers/gpu/drm/via/ |
D | via_dmablit.c | 72 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 …]
|
/drivers/net/ethernet/pensando/ionic/ |
D | ionic_stats.h | 48 #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)))
|
/drivers/usb/usbip/ |
D | vudc_sysfs.c | 75 char *desc_ptr = (char *) &udc->dev_desc; in dev_desc_read() local 85 memcpy(out, desc_ptr + off, count); in dev_desc_read()
|
/drivers/mtd/nand/raw/ |
D | cadence-nand-controller.c | 967 struct cadence_nand_cdma_desc *desc_ptr = cdns_ctrl->cdma_desc; in cadence_nand_cdma_finish() local 970 if (desc_ptr->status & CDMA_CS_FAIL) { in cadence_nand_cdma_finish() 972 desc_ptr->status); in cadence_nand_cdma_finish() 973 dev_err(cdns_ctrl->dev, ":CDMA error %x\n", desc_ptr->status); in cadence_nand_cdma_finish() 974 } else if (desc_ptr->status & CDMA_CS_COMP) { in cadence_nand_cdma_finish() 976 if (desc_ptr->command_flags & CDMA_CF_CONT) { in cadence_nand_cdma_finish()
|
/drivers/vme/bridges/ |
D | vme_ca91cx42.c | 1024 dma_addr_t desc_ptr; in ca91cx42_dma_list_add() local 1147 desc_ptr = virt_to_bus(&entry->descriptor); in ca91cx42_dma_list_add() 1148 prev->descriptor.dcpp = desc_ptr & ~CA91CX42_DCPP_M; in ca91cx42_dma_list_add()
|