/linux-4.4.14/drivers/target/iscsi/ |
D | iscsi_target_datain_values.c | 30 struct iscsi_datain_req *dr; in iscsit_allocate_datain_req() local 32 dr = kmem_cache_zalloc(lio_dr_cache, GFP_ATOMIC); in iscsit_allocate_datain_req() 33 if (!dr) { in iscsit_allocate_datain_req() 38 INIT_LIST_HEAD(&dr->cmd_datain_node); in iscsit_allocate_datain_req() 40 return dr; in iscsit_allocate_datain_req() 43 void iscsit_attach_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_attach_datain_req() argument 46 list_add_tail(&dr->cmd_datain_node, &cmd->datain_list); in iscsit_attach_datain_req() 50 void iscsit_free_datain_req(struct iscsi_cmd *cmd, struct iscsi_datain_req *dr) in iscsit_free_datain_req() argument 53 list_del(&dr->cmd_datain_node); in iscsit_free_datain_req() 56 kmem_cache_free(lio_dr_cache, dr); in iscsit_free_datain_req() [all …]
|
D | iscsi_target_erl1.c | 203 struct iscsi_datain_req *dr) in iscsit_create_recovery_datain_values_datasequenceinorder_yes() argument 207 u32 begrun = dr->begrun; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 212 if ((dr->next_burst_len + in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 215 dr->read_data_done += in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 217 dr->next_burst_len += in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 220 dr->read_data_done += in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 222 dr->next_burst_len); in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 223 dr->next_burst_len = 0; in iscsit_create_recovery_datain_values_datasequenceinorder_yes() 249 struct iscsi_datain_req *dr) in iscsit_create_recovery_datain_values_datasequenceinorder_no() argument 253 u32 begrun = dr->begrun; in iscsit_create_recovery_datain_values_datasequenceinorder_no() [all …]
|
D | iscsi_target_tmr.c | 311 struct iscsi_datain_req *dr; in iscsit_task_reassign_complete_read() local 340 dr = iscsit_allocate_datain_req(); in iscsit_task_reassign_complete_read() 341 if (!dr) in iscsit_task_reassign_complete_read() 347 dr->data_sn = dr->begrun = tmr_req->exp_data_sn; in iscsit_task_reassign_complete_read() 348 dr->runlength = 0; in iscsit_task_reassign_complete_read() 349 dr->generate_recovery_values = 1; in iscsit_task_reassign_complete_read() 350 dr->recovery = DATAIN_CONNECTION_RECOVERY; in iscsit_task_reassign_complete_read() 352 iscsit_attach_datain_req(cmd, dr); in iscsit_task_reassign_complete_read()
|
D | iscsi_target.c | 970 struct iscsi_datain_req *dr; in iscsit_setup_scsi_cmd() local 972 dr = iscsit_allocate_datain_req(); in iscsit_setup_scsi_cmd() 973 if (!dr) in iscsit_setup_scsi_cmd() 977 iscsit_attach_datain_req(cmd, dr); in iscsit_setup_scsi_cmd() 2633 struct iscsi_datain_req *dr; in iscsit_send_datain() local 2640 dr = iscsit_get_datain_values(cmd, &datain); in iscsit_send_datain() 2641 if (!dr) { in iscsit_send_datain() 2666 if ((dr->dr_complete == DATAIN_COMPLETE_NORMAL) || in iscsit_send_datain() 2667 (dr->dr_complete == DATAIN_COMPLETE_CONNECTION_RECOVERY)) { in iscsit_send_datain() 2671 } else if (dr->dr_complete == in iscsit_send_datain() [all …]
|
/linux-4.4.14/drivers/gpio/ |
D | devres.c | 104 struct gpio_desc **dr; in devm_gpiod_get_index() local 107 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_gpiod_get_index() 109 if (!dr) in devm_gpiod_get_index() 114 devres_free(dr); in devm_gpiod_get_index() 118 *dr = desc; in devm_gpiod_get_index() 119 devres_add(dev, dr); in devm_gpiod_get_index() 140 struct gpio_desc **dr; in devm_get_gpiod_from_child() local 144 dr = devres_alloc(devm_gpiod_release, sizeof(struct gpio_desc *), in devm_get_gpiod_from_child() 146 if (!dr) in devm_get_gpiod_from_child() 162 devres_free(dr); in devm_get_gpiod_from_child() [all …]
|
/linux-4.4.14/kernel/irq/ |
D | devres.c | 52 struct irq_devres *dr; in devm_request_threaded_irq() local 55 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_threaded_irq() 57 if (!dr) in devm_request_threaded_irq() 63 devres_free(dr); in devm_request_threaded_irq() 67 dr->irq = irq; in devm_request_threaded_irq() 68 dr->dev_id = dev_id; in devm_request_threaded_irq() 69 devres_add(dev, dr); in devm_request_threaded_irq() 98 struct irq_devres *dr; in devm_request_any_context_irq() local 101 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_any_context_irq() 103 if (!dr) in devm_request_any_context_irq() [all …]
|
/linux-4.4.14/drivers/base/ |
D | devres.c | 88 struct devres *dr; in alloc_dr() local 90 dr = kmalloc_node_track_caller(tot_size, gfp, nid); in alloc_dr() 91 if (unlikely(!dr)) in alloc_dr() 94 memset(dr, 0, offsetof(struct devres, data)); in alloc_dr() 96 INIT_LIST_HEAD(&dr->node.entry); in alloc_dr() 97 dr->node.release = release; in alloc_dr() 98 return dr; in alloc_dr() 112 struct devres *dr; in __devres_alloc_node() local 114 dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); in __devres_alloc_node() 115 if (unlikely(!dr)) in __devres_alloc_node() [all …]
|
D | dma-mapping.c | 68 struct dma_devres *dr; in dmam_alloc_coherent() local 71 dr = devres_alloc(dmam_coherent_release, sizeof(*dr), gfp); in dmam_alloc_coherent() 72 if (!dr) in dmam_alloc_coherent() 77 devres_free(dr); in dmam_alloc_coherent() 81 dr->vaddr = vaddr; in dmam_alloc_coherent() 82 dr->dma_handle = *dma_handle; in dmam_alloc_coherent() 83 dr->size = size; in dmam_alloc_coherent() 85 devres_add(dev, dr); in dmam_alloc_coherent() 127 struct dma_devres *dr; in dmam_alloc_noncoherent() local 130 dr = devres_alloc(dmam_noncoherent_release, sizeof(*dr), gfp); in dmam_alloc_noncoherent() [all …]
|
/linux-4.4.14/fs/adfs/ |
D | super.c | 40 static int adfs_checkdiscrecord(struct adfs_discrecord *dr) in adfs_checkdiscrecord() argument 45 if (dr->log2secsize != 8 && in adfs_checkdiscrecord() 46 dr->log2secsize != 9 && in adfs_checkdiscrecord() 47 dr->log2secsize != 10) in adfs_checkdiscrecord() 51 if (dr->idlen < dr->log2secsize + 3) in adfs_checkdiscrecord() 58 if (le32_to_cpu(dr->disc_size_high) >> dr->log2secsize) in adfs_checkdiscrecord() 62 if (dr->idlen > 19) in adfs_checkdiscrecord() 66 for (i = 0; i < sizeof(dr->unused52); i++) in adfs_checkdiscrecord() 67 if (dr->unused52[i] != 0) in adfs_checkdiscrecord() 301 static struct adfs_discmap *adfs_read_map(struct super_block *sb, struct adfs_discrecord *dr) in adfs_read_map() argument [all …]
|
/linux-4.4.14/drivers/block/ |
D | sunvdc.c | 105 static inline u32 vdc_tx_dring_avail(struct vio_dring_state *dr) in vdc_tx_dring_avail() argument 107 return vio_dring_avail(dr, VDC_TX_RING_SIZE); in vdc_tx_dring_avail() 165 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_blk_queue_start() local 172 vdc_tx_dring_avail(dr) * 100 / VDC_TX_RING_SIZE >= 50) { in vdc_blk_queue_start() 289 static void vdc_end_one(struct vdc_port *port, struct vio_dring_state *dr, in vdc_end_one() argument 292 struct vio_disk_desc *desc = vio_dring_entry(dr, index); in vdc_end_one() 301 dr->cons = vio_dring_next(dr, index); in vdc_end_one() 318 struct vio_dring_state *dr = &port->vio.drings[VIO_DRIVER_TX_RING]; in vdc_ack() local 321 if (unlikely(pkt->dring_ident != dr->ident || in vdc_ack() 326 vdc_end_one(port, dr, pkt->start_idx); in vdc_ack() [all …]
|
D | swim3.c | 454 struct dbdma_regs __iomem *dr = fs->dma; in setup_transfer() local 477 out_le32(&dr->cmdptr, virt_to_bus(cp)); in setup_transfer() 496 out_le32(&dr->control, (RUN << 16) | RUN); in setup_transfer() 651 struct dbdma_regs __iomem *dr = fs->dma; in xfer_timeout() local 659 out_le32(&dr->control, RUN << 16); in xfer_timeout() 661 for (n = 0; (in_le32(&dr->status) & ACTIVE) && n < 1000; n++) in xfer_timeout() 681 struct dbdma_regs __iomem *dr; in swim3_interrupt() local 752 dr = fs->dma; in swim3_interrupt() 773 out_le32(&dr->control, (RUN | PAUSE) << 16); in swim3_interrupt()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | sunvnet.c | 63 static inline u32 vnet_tx_dring_avail(struct vio_dring_state *dr) in vnet_tx_dring_avail() argument 65 return vio_dring_avail(dr, VNET_TX_RING_SIZE); in vnet_tx_dring_avail() 276 struct vio_dring_state *dr; in vnet_handshake_complete() local 278 dr = &vio->drings[VIO_DRIVER_RX_RING]; in vnet_handshake_complete() 279 dr->snd_nxt = dr->rcv_nxt = 1; in vnet_handshake_complete() 281 dr = &vio->drings[VIO_DRIVER_TX_RING]; in vnet_handshake_complete() 282 dr->snd_nxt = dr->rcv_nxt = 1; in vnet_handshake_complete() 426 static int vnet_send_ack(struct vnet_port *port, struct vio_dring_state *dr, in vnet_send_ack() argument 436 .dring_ident = dr->ident, in vnet_send_ack() 444 hdr.seq = dr->snd_nxt; in vnet_send_ack() [all …]
|
D | sunvnet.h | 21 #define VNET_TX_WAKEUP_THRESH(dr) ((dr)->pending / 4) argument
|
/linux-4.4.14/block/partitions/ |
D | acorn.c | 34 struct adfs_discrecord *dr; in adfs_partition() local 40 dr = (struct adfs_discrecord *)(data + 0x1c0); in adfs_partition() 42 if (dr->disc_size == 0 && dr->disc_size_high == 0) in adfs_partition() 45 nr_sects = (le32_to_cpu(dr->disc_size_high) << 23) | in adfs_partition() 46 (le32_to_cpu(dr->disc_size) >> 9); in adfs_partition() 54 return dr; in adfs_partition() 189 struct adfs_discrecord *dr; in adfspart_check_CUMANA() local 199 dr = adfs_partition(state, name, data, first_sector, slot++); in adfspart_check_CUMANA() 200 if (!dr) in adfspart_check_CUMANA() 206 (dr->heads + (dr->lowsector & 0x40 ? 1 : 0)) * in adfspart_check_CUMANA() [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | viohs.c | 83 struct vio_dring_state *dr; in flush_rx_dring() local 88 dr = &vio->drings[VIO_DRIVER_RX_RING]; in flush_rx_dring() 89 ident = dr->ident; in flush_rx_dring() 95 memset(dr, 0, sizeof(*dr)); in flush_rx_dring() 96 dr->ident = ident; in flush_rx_dring() 135 struct vio_dring_state *dr; in handshake_failure() local 147 dr = &vio->drings[VIO_DRIVER_RX_RING]; in handshake_failure() 148 memset(dr, 0, sizeof(*dr)); in handshake_failure() 176 struct vio_dring_state *dr = &vio->drings[VIO_DRIVER_TX_RING]; in send_dreg() local 181 dr->ncookies)]; in send_dreg() [all …]
|
/linux-4.4.14/drivers/parisc/ |
D | power.c | 66 #define MTCPU(dr, gr) MFCPU_X(dr, gr, 0, 0x12) /* move value of gr to dr[dr] */ argument 67 #define MFCPU_C(dr, gr) MFCPU_X(dr, gr, 0, 0x30) /* for dr0 and dr8 only ! */ argument 68 #define MFCPU_T(dr, gr) MFCPU_X(dr, 0, gr, 0xa0) /* all dr except dr0 and dr8 */ argument 70 #define __getDIAG(dr) ( { \ argument 73 ".word %1" : "=&r" (__res) : "i" (MFCPU_T(dr,28) ) \
|
/linux-4.4.14/drivers/infiniband/core/ |
D | smi.c | 146 smp->route.dr.initial_path, in opa_smi_handle_dr_smp_send() 147 smp->route.dr.return_path, in opa_smi_handle_dr_smp_send() 149 smp->route.dr.dr_dlid == in opa_smi_handle_dr_smp_send() 151 smp->route.dr.dr_slid == in opa_smi_handle_dr_smp_send() 261 smp->route.dr.initial_path, in opa_smi_handle_dr_smp_recv() 262 smp->route.dr.return_path, in opa_smi_handle_dr_smp_recv() 264 smp->route.dr.dr_dlid == in opa_smi_handle_dr_smp_recv() 266 smp->route.dr.dr_slid == in opa_smi_handle_dr_smp_recv() 314 smp->route.dr.dr_dlid == in opa_smi_check_forward_dr_smp() 316 smp->route.dr.dr_slid == in opa_smi_check_forward_dr_smp() [all …]
|
D | mad.c | 778 ? opa_smp->route.dr.dr_dlid : opa_smp->route.dr.dr_slid) == in handle_outgoing_dr_smp() 787 opa_drslid = be32_to_cpu(opa_smp->route.dr.dr_slid); in handle_outgoing_dr_smp()
|
/linux-4.4.14/net/sunrpc/ |
D | svc_xprt.c | 960 struct svc_deferred_req *dr; in svc_delete_xprt() local 976 while ((dr = svc_deferred_dequeue(xprt)) != NULL) in svc_delete_xprt() 977 kfree(dr); in svc_delete_xprt() 1079 struct svc_deferred_req *dr = in svc_revisit() local 1081 struct svc_xprt *xprt = dr->xprt; in svc_revisit() 1089 kfree(dr); in svc_revisit() 1093 dr->xprt = NULL; in svc_revisit() 1094 list_add(&dr->handle.recent, &xprt->xpt_deferred); in svc_revisit() 1112 struct svc_deferred_req *dr; in svc_defer() local 1117 dr = rqstp->rq_deferred; in svc_defer() [all …]
|
D | cache.c | 579 struct thread_deferred_req *dr = in cache_restart_thread() local 581 complete(&dr->completion); in cache_restart_thread()
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | vio.h | 285 static inline void *vio_dring_cur(struct vio_dring_state *dr) in vio_dring_cur() argument 287 return dr->base + (dr->entry_size * dr->prod); in vio_dring_cur() 290 static inline void *vio_dring_entry(struct vio_dring_state *dr, in vio_dring_entry() argument 293 return dr->base + (dr->entry_size * index); in vio_dring_entry() 296 static inline u32 vio_dring_avail(struct vio_dring_state *dr, in vio_dring_avail() argument 299 return (dr->pending - in vio_dring_avail() 300 ((dr->prod - dr->cons) & (ring_size - 1)) - 1); in vio_dring_avail() 303 static inline u32 vio_dring_next(struct vio_dring_state *dr, u32 index) in vio_dring_next() argument 305 if (++index == dr->num_entries) in vio_dring_next() 310 static inline u32 vio_dring_prev(struct vio_dring_state *dr, u32 index) in vio_dring_prev() argument [all …]
|
/linux-4.4.14/drivers/usb/serial/ |
D | opticon.c | 189 struct usb_ctrlrequest *dr; in opticon_write() local 218 dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_ATOMIC); in opticon_write() 219 if (!dr) { in opticon_write() 224 dr->bRequestType = USB_TYPE_VENDOR | USB_RECIP_INTERFACE | USB_DIR_OUT; in opticon_write() 225 dr->bRequest = 0x01; in opticon_write() 226 dr->wValue = 0; in opticon_write() 227 dr->wIndex = 0; in opticon_write() 228 dr->wLength = cpu_to_le16(count); in opticon_write() 232 (unsigned char *)dr, buffer, count, in opticon_write() 251 kfree(dr); in opticon_write()
|
D | mos7840.c | 231 struct usb_ctrlrequest *dr; member 491 struct usb_ctrlrequest *dr = mcs->dr; in mos7840_get_reg() local 498 dr->bRequestType = MCS_RD_RTYPE; in mos7840_get_reg() 499 dr->bRequest = MCS_RDREQ; in mos7840_get_reg() 500 dr->wValue = cpu_to_le16(Wval); /* 0 */ in mos7840_get_reg() 501 dr->wIndex = cpu_to_le16(reg); in mos7840_get_reg() 502 dr->wLength = cpu_to_le16(2); in mos7840_get_reg() 505 (unsigned char *)dr, buffer, 2, in mos7840_get_reg() 538 struct usb_ctrlrequest *dr = mcs->led_dr; in mos7840_set_led_async() local 540 dr->bRequestType = MCS_WR_RTYPE; in mos7840_set_led_async() [all …]
|
D | keyspan.c | 1819 struct usb_ctrlrequest *dr = NULL; in keyspan_usa49_send_setup() local 1964 dr = (void *)(s_priv->ctrl_buf); in keyspan_usa49_send_setup() 1965 dr->bRequestType = USB_TYPE_VENDOR | USB_DIR_OUT; in keyspan_usa49_send_setup() 1966 dr->bRequest = 0xB0; /* 49wg control message */; in keyspan_usa49_send_setup() 1967 dr->wValue = 0; in keyspan_usa49_send_setup() 1968 dr->wIndex = 0; in keyspan_usa49_send_setup() 1969 dr->wLength = cpu_to_le16(sizeof(msg)); in keyspan_usa49_send_setup() 1975 (unsigned char *)dr, s_priv->glocont_buf, in keyspan_usa49_send_setup()
|
/linux-4.4.14/drivers/bluetooth/ |
D | bpa10x.c | 284 struct usb_ctrlrequest *dr; in bpa10x_send_frame() local 302 dr = kmalloc(sizeof(*dr), GFP_ATOMIC); in bpa10x_send_frame() 303 if (!dr) { in bpa10x_send_frame() 308 dr->bRequestType = USB_TYPE_VENDOR; in bpa10x_send_frame() 309 dr->bRequest = 0; in bpa10x_send_frame() 310 dr->wIndex = 0; in bpa10x_send_frame() 311 dr->wValue = 0; in bpa10x_send_frame() 312 dr->wLength = __cpu_to_le16(skb->len); in bpa10x_send_frame() 316 usb_fill_control_urb(urb, data->udev, pipe, (void *) dr, in bpa10x_send_frame()
|
D | btusb.c | 1136 struct usb_ctrlrequest *dr; in alloc_ctrl_urb() local 1144 dr = kmalloc(sizeof(*dr), GFP_KERNEL); in alloc_ctrl_urb() 1145 if (!dr) { in alloc_ctrl_urb() 1150 dr->bRequestType = data->cmdreq_type; in alloc_ctrl_urb() 1151 dr->bRequest = data->cmdreq; in alloc_ctrl_urb() 1152 dr->wIndex = 0; in alloc_ctrl_urb() 1153 dr->wValue = 0; in alloc_ctrl_urb() 1154 dr->wLength = __cpu_to_le16(skb->len); in alloc_ctrl_urb() 1158 usb_fill_control_urb(urb, data->udev, pipe, (void *)dr, in alloc_ctrl_urb()
|
/linux-4.4.14/drivers/macintosh/ |
D | macio_asic.c | 553 struct macio_devres *dr = res; in maciom_release() local 558 if (dr->res_mask & (1 << i)) in maciom_release() 565 struct macio_devres *dr; in macio_enable_devres() local 567 dr = devres_find(&dev->ofdev.dev, maciom_release, NULL, NULL); in macio_enable_devres() 568 if (!dr) { in macio_enable_devres() 569 dr = devres_alloc(maciom_release, sizeof(*dr), GFP_KERNEL); in macio_enable_devres() 570 if (!dr) in macio_enable_devres() 573 return devres_get(&dev->ofdev.dev, dr, NULL, NULL) != NULL; in macio_enable_devres() 598 struct macio_devres *dr = find_macio_dr(dev); in macio_request_resource() local 608 if (dr && resource_no < 32) in macio_request_resource() [all …]
|
/linux-4.4.14/drivers/leds/ |
D | led-class.c | 279 struct led_classdev **dr; in devm_led_classdev_register() local 282 dr = devres_alloc(devm_led_classdev_release, sizeof(*dr), GFP_KERNEL); in devm_led_classdev_register() 283 if (!dr) in devm_led_classdev_register() 288 devres_free(dr); in devm_led_classdev_register() 292 *dr = led_cdev; in devm_led_classdev_register() 293 devres_add(parent, dr); in devm_led_classdev_register()
|
/linux-4.4.14/include/rdma/ |
D | opa_smi.h | 75 } dr; member 132 return smp->route.dr.data; in opa_get_smp_data() 140 return sizeof(smp->route.dr.data); in opa_get_smp_data_size() 148 return sizeof(*smp) - sizeof(smp->route.dr.data); in opa_get_smp_header_size()
|
/linux-4.4.14/Documentation/devicetree/bindings/usb/ |
D | fsl-usb.txt | 10 controllers, or "fsl-usb2-dr" for dual role USB controllers 11 or "fsl,mpc5121-usb2-dr" for dual role USB controllers of MPC5121. 13 also be mentioned (for eg. fsl-usb2-dr-v2.2 for bsc9132). 26 - dr_mode : indicates the working mode for "fsl-usb2-dr" compatible 60 compatible = "fsl-usb2-dr"; 73 compatible = "fsl,mpc5121-usb2-dr";
|
/linux-4.4.14/arch/powerpc/sysdev/ |
D | dcr.c | 132 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_start() local 134 if (dr == NULL || ds & 1 || index >= (ds / 8)) in dcr_resource_start() 137 return dr[index * 2]; in dcr_resource_start() 144 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_len() local 146 if (dr == NULL || ds & 1 || index >= (ds / 8)) in dcr_resource_len() 149 return dr[index * 2 + 1]; in dcr_resource_len()
|
D | fsl_pci.c | 1115 u32 dr; in fsl_pci_pme_handle() local 1117 dr = in_be32(&pci->pex_pme_mes_dr); in fsl_pci_pme_handle() 1118 if (!dr) in fsl_pci_pme_handle() 1121 out_be32(&pci->pex_pme_mes_dr, dr); in fsl_pci_pme_handle() 1181 u32 dr; in send_pme_turnoff_message() local 1189 dr = in_be32(&pci->pex_pme_mes_dr); in send_pme_turnoff_message() 1190 if (dr) { in send_pme_turnoff_message() 1191 out_be32(&pci->pex_pme_mes_dr, dr); in send_pme_turnoff_message() 1217 u32 dr; in fsl_pci_syscore_do_resume() local 1225 dr = in_be32(&pci->pex_pme_mes_dr); in fsl_pci_syscore_do_resume() [all …]
|
/linux-4.4.14/fs/ubifs/ |
D | log.c | 555 struct done_ref *dr; in done_already() local 559 dr = rb_entry(parent, struct done_ref, rb); in done_already() 560 if (lnum < dr->lnum) in done_already() 562 else if (lnum > dr->lnum) in done_already() 568 dr = kzalloc(sizeof(struct done_ref), GFP_NOFS); in done_already() 569 if (!dr) in done_already() 572 dr->lnum = lnum; in done_already() 574 rb_link_node(&dr->rb, parent, p); in done_already() 575 rb_insert_color(&dr->rb, done_tree); in done_already() 586 struct done_ref *dr, *n; in destroy_done_tree() local [all …]
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | st5481_usb.c | 46 ((struct ctrl_msg *)urb->setup_packet)->dr.bRequest, in usb_next_ctrl_msg() 47 ((struct ctrl_msg *)urb->setup_packet)->dr.wValue, in usb_next_ctrl_msg() 48 ((struct ctrl_msg *)urb->setup_packet)->dr.wIndex); in usb_next_ctrl_msg() 74 ctrl_msg->dr.bRequestType = requesttype; in usb_ctrl_msg() 75 ctrl_msg->dr.bRequest = request; in usb_ctrl_msg() 76 ctrl_msg->dr.wValue = cpu_to_le16p(&value); in usb_ctrl_msg() 77 ctrl_msg->dr.wIndex = cpu_to_le16p(&index); in usb_ctrl_msg() 78 ctrl_msg->dr.wLength = 0; in usb_ctrl_msg() 149 if (ctrl_msg->dr.bRequest == USB_REQ_CLEAR_FEATURE) { in usb_ctrl_complete() 151 le16_to_cpus(&ctrl_msg->dr.wIndex); in usb_ctrl_complete() [all …]
|
D | st5481.h | 311 struct usb_ctrlrequest dr; member
|
/linux-4.4.14/lib/ |
D | devres.c | 263 struct pcim_iomap_devres *dr, *new_dr; in pcim_iomap_table() local 265 dr = devres_find(&pdev->dev, pcim_iomap_release, NULL, NULL); in pcim_iomap_table() 266 if (dr) in pcim_iomap_table() 267 return dr->table; in pcim_iomap_table() 272 dr = devres_get(&pdev->dev, new_dr, NULL, NULL); in pcim_iomap_table() 273 return dr->table; in pcim_iomap_table()
|
/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_expander.c | 186 static enum sas_device_type to_dev_type(struct discover_resp *dr) in to_dev_type() argument 191 if (dr->attached_dev_type == SAS_PHY_UNUSED && dr->attached_sata_dev && in to_dev_type() 192 dr->linkrate >= SAS_LINK_RATE_1_5_GBPS) in to_dev_type() 195 return dr->attached_dev_type; in to_dev_type() 204 struct discover_resp *dr = &resp->disc; in sas_set_ex_phy() local 249 phy->attached_dev_type = to_dev_type(dr); in sas_set_ex_phy() 253 phy->linkrate = dr->linkrate; in sas_set_ex_phy() 254 phy->attached_sata_host = dr->attached_sata_host; in sas_set_ex_phy() 255 phy->attached_sata_dev = dr->attached_sata_dev; in sas_set_ex_phy() 256 phy->attached_sata_ps = dr->attached_sata_ps; in sas_set_ex_phy() [all …]
|
/linux-4.4.14/arch/x86/mm/ |
D | kmmio.c | 473 struct kmmio_delayed_release *dr = container_of( in rcu_free_kmmio_fault_pages() local 477 struct kmmio_fault_page *f = dr->release_list; in rcu_free_kmmio_fault_pages() 484 kfree(dr); in rcu_free_kmmio_fault_pages() 489 struct kmmio_delayed_release *dr = in remove_kmmio_fault_pages() local 491 struct kmmio_fault_page *f = dr->release_list; in remove_kmmio_fault_pages() 492 struct kmmio_fault_page **prevp = &dr->release_list; in remove_kmmio_fault_pages() 510 call_rcu(&dr->rcu, rcu_free_kmmio_fault_pages); in remove_kmmio_fault_pages()
|
/linux-4.4.14/drivers/usb/misc/ |
D | uss720.c | 78 struct usb_ctrlrequest *dr; member 101 kfree(rq->dr); in destroy_async() 124 } else if (rq->dr->bRequest == 3) { in async_complete() 168 rq->dr = kmalloc(sizeof(*rq->dr), mem_flags); in submit_async_request() 169 if (!rq->dr) { in submit_async_request() 173 rq->dr->bRequestType = requesttype; in submit_async_request() 174 rq->dr->bRequest = request; in submit_async_request() 175 rq->dr->wValue = cpu_to_le16(value); in submit_async_request() 176 rq->dr->wIndex = cpu_to_le16(index); in submit_async_request() 177 rq->dr->wLength = cpu_to_le16((request == 3) ? sizeof(rq->reg) : 0); in submit_async_request() [all …]
|
/linux-4.4.14/arch/powerpc/boot/dts/fsl/ |
D | p1020si-post.dtsi | 145 /include/ "pq3-usb2-dr-0.dtsi" 147 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; 149 /include/ "pq3-usb2-dr-1.dtsi" 151 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
D | p1022si-post.dtsi | 206 /include/ "pq3-usb2-dr-0.dtsi" 208 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr"; 210 /include/ "pq3-usb2-dr-1.dtsi" 212 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
D | qoriq-usb2-dr-0.dtsi | 36 compatible = "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
|
D | bsc9131si-post.dtsi | 125 /include/ "pq3-usb2-dr-0.dtsi" 127 compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
|
D | bsc9132si-post.dtsi | 126 /include/ "pq3-usb2-dr-0.dtsi" 128 compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
|
D | p2020si-post.dtsi | 173 /include/ "pq3-usb2-dr-0.dtsi" 175 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
D | p1010si-post.dtsi | 158 /include/ "pq3-usb2-dr-0.dtsi" 160 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
D | p1021si-post.dtsi | 145 /include/ "pq3-usb2-dr-0.dtsi" 147 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
D | p5020si-post.dtsi | 419 /include/ "qoriq-usb2-dr-0.dtsi" 421 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
|
D | p2041si-post.dtsi | 405 /include/ "qoriq-usb2-dr-0.dtsi" 407 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
|
D | p1023si-post.dtsi | 207 /include/ "pq3-usb2-dr-0.dtsi" 209 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
D | p3041si-post.dtsi | 432 /include/ "qoriq-usb2-dr-0.dtsi" 434 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
|
D | p5040si-post.dtsi | 397 /include/ "qoriq-usb2-dr-0.dtsi" 399 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
|
D | t1023si-post.dtsi | 315 /include/ "qoriq-usb2-dr-0.dtsi" 317 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
|
D | p4080si-post.dtsi | 503 /include/ "qoriq-usb2-dr-0.dtsi" 505 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
|
D | pq3-usb2-dr-1.dtsi | 36 compatible = "fsl-usb2-dr";
|
D | qonverge-usb2-dr-0.dtsi | 36 compatible = "fsl-usb2-dr";
|
D | pq3-usb2-dr-0.dtsi | 36 compatible = "fsl-usb2-dr";
|
D | mpc8536si-post.dtsi | 231 compatible = "fsl,mpc8536-usb2-dr", "fsl-usb2-dr";
|
D | b4si-post.dtsi | 434 /include/ "qonverge-usb2-dr-0.dtsi" 436 compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr";
|
D | t1040si-post.dtsi | 522 /include/ "qoriq-usb2-dr-0.dtsi" 524 compatible = "fsl-usb2-dr-v2.4", "fsl-usb2-dr";
|
D | t2081si-post.dtsi | 621 /include/ "qoriq-usb2-dr-0.dtsi" 623 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
|
D | t4240si-post.dtsi | 1059 /include/ "qoriq-usb2-dr-0.dtsi" 1061 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
|
/linux-4.4.14/arch/x86/include/asm/ |
D | debugreg.h | 118 extern void set_dr_addr_mask(unsigned long mask, int dr); 120 static inline void set_dr_addr_mask(unsigned long mask, int dr) { } in set_dr_addr_mask() argument
|
D | kvm_emulate.h | 204 int (*get_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong *dest); 205 int (*set_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong value);
|
D | kvm_host.h | 1028 int kvm_set_dr(struct kvm_vcpu *vcpu, int dr, unsigned long val); 1029 int kvm_get_dr(struct kvm_vcpu *vcpu, int dr, unsigned long *val); 1051 bool kvm_require_dr(struct kvm_vcpu *vcpu, int dr);
|
/linux-4.4.14/drivers/usb/dwc2/ |
D | core.c | 142 struct dwc2_dregs_backup *dr; in dwc2_backup_device_registers() local 148 dr = &hsotg->dr_backup; in dwc2_backup_device_registers() 150 dr->dcfg = dwc2_readl(hsotg->regs + DCFG); in dwc2_backup_device_registers() 151 dr->dctl = dwc2_readl(hsotg->regs + DCTL); in dwc2_backup_device_registers() 152 dr->daintmsk = dwc2_readl(hsotg->regs + DAINTMSK); in dwc2_backup_device_registers() 153 dr->diepmsk = dwc2_readl(hsotg->regs + DIEPMSK); in dwc2_backup_device_registers() 154 dr->doepmsk = dwc2_readl(hsotg->regs + DOEPMSK); in dwc2_backup_device_registers() 158 dr->diepctl[i] = dwc2_readl(hsotg->regs + DIEPCTL(i)); in dwc2_backup_device_registers() 161 if (dr->diepctl[i] & DXEPCTL_DPID) in dwc2_backup_device_registers() 162 dr->diepctl[i] |= DXEPCTL_SETD1PID; in dwc2_backup_device_registers() [all …]
|
/linux-4.4.14/Documentation/fb/ |
D | cmap_xfbdev.txt | 41 dr = (long) pent->co.local.red - prgb->red; 44 sq = dr * dr;
|
/linux-4.4.14/net/ipv4/ |
D | inet_timewait_sock.c | 157 struct inet_timewait_death_row *dr, in inet_twsk_alloc() argument 162 if (atomic_read(&dr->tw_count) >= dr->sysctl_max_tw_buckets) in inet_twsk_alloc() 172 tw->tw_dr = dr; in inet_twsk_alloc()
|
/linux-4.4.14/drivers/pci/ |
D | pci.c | 1442 struct pci_devres *dr, *new_dr; in get_pci_dr() local 1444 dr = devres_find(&pdev->dev, pcim_release, NULL, NULL); in get_pci_dr() 1445 if (dr) in get_pci_dr() 1446 return dr; in get_pci_dr() 1469 struct pci_devres *dr; in pcim_enable_device() local 1472 dr = get_pci_dr(pdev); in pcim_enable_device() 1473 if (unlikely(!dr)) in pcim_enable_device() 1475 if (dr->enabled) in pcim_enable_device() 1481 dr->enabled = 1; in pcim_enable_device() 1497 struct pci_devres *dr; in pcim_pin_device() local [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/ |
D | usb.c | 67 struct usb_ctrlrequest *dr; in _usbctrl_vendorreq_async_write() local 78 dr = kzalloc(sizeof(*dr), GFP_ATOMIC); in _usbctrl_vendorreq_async_write() 79 if (!dr) in _usbctrl_vendorreq_async_write() 84 kfree(dr); in _usbctrl_vendorreq_async_write() 91 kfree(dr); in _usbctrl_vendorreq_async_write() 95 dr->bRequestType = reqtype; in _usbctrl_vendorreq_async_write() 96 dr->bRequest = request; in _usbctrl_vendorreq_async_write() 97 dr->wValue = cpu_to_le16(value); in _usbctrl_vendorreq_async_write() 98 dr->wIndex = cpu_to_le16(index); in _usbctrl_vendorreq_async_write() 99 dr->wLength = cpu_to_le16(len); in _usbctrl_vendorreq_async_write() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-hub.c | 745 void *dr, in request_single_step_set_feature_urb() argument 767 urb->setup_packet = (void *)dr; in request_single_step_set_feature_urb() 794 struct usb_ctrlrequest *dr; in ehset_single_step_set_feature() local 811 dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); in ehset_single_step_set_feature() 812 if (!dr) { in ehset_single_step_set_feature() 818 dr->bRequestType = USB_DIR_IN; in ehset_single_step_set_feature() 819 dr->bRequest = USB_REQ_GET_DESCRIPTOR; in ehset_single_step_set_feature() 820 dr->wValue = cpu_to_le16(USB_DT_DEVICE << 8); in ehset_single_step_set_feature() 821 dr->wIndex = 0; in ehset_single_step_set_feature() 822 dr->wLength = cpu_to_le16(USB_DT_DEVICE_SIZE); in ehset_single_step_set_feature() [all …]
|
D | Makefile | 73 obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o
|
/linux-4.4.14/drivers/net/usb/ |
D | kaweth.c | 265 struct usb_ctrlrequest *dr; in kaweth_control() local 275 dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_ATOMIC); in kaweth_control() 276 if (!dr) in kaweth_control() 279 dr->bRequestType = requesttype; in kaweth_control() 280 dr->bRequest = request; in kaweth_control() 281 dr->wValue = cpu_to_le16(value); in kaweth_control() 282 dr->wIndex = cpu_to_le16(index); in kaweth_control() 283 dr->wLength = cpu_to_le16(size); in kaweth_control() 287 dr, in kaweth_control() 292 kfree(dr); in kaweth_control()
|
D | rtl8150.c | 136 struct usb_ctrlrequest dr; member 145 struct usb_ctrlrequest dr; member 196 req->dr.bRequestType = RTL8150_REQT_WRITE; in async_set_registers() 197 req->dr.bRequest = RTL8150_REQ_SET_REGS; in async_set_registers() 198 req->dr.wIndex = 0; in async_set_registers() 199 req->dr.wValue = cpu_to_le16(indx); in async_set_registers() 200 req->dr.wLength = cpu_to_le16(size); in async_set_registers() 202 usb_sndctrlpipe(dev->udev, 0), (void *)&req->dr, in async_set_registers()
|
D | catc.c | 486 struct usb_ctrlrequest *dr = &catc->ctrl_dr; in catc_ctrl_run() local 489 dr->bRequest = q->request; in catc_ctrl_run() 490 dr->bRequestType = 0x40 | q->dir; in catc_ctrl_run() 491 dr->wValue = cpu_to_le16(q->value); in catc_ctrl_run() 492 dr->wIndex = cpu_to_le16(q->index); in catc_ctrl_run() 493 dr->wLength = cpu_to_le16(q->len); in catc_ctrl_run() 498 urb->setup_packet = (void *) dr; in catc_ctrl_run()
|
/linux-4.4.14/drivers/pinctrl/meson/ |
D | pinctrl-meson.h | 195 #define BANK(n, f, l, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ argument 203 [REG_DIR] = { dr, db }, \
|
/linux-4.4.14/Documentation/driver-model/ |
D | devres.txt | 78 struct dma_devres *dr; 81 dr = devres_alloc(dmam_coherent_release, sizeof(*dr), gfp); 88 /* record size, vaddr, dma_handle in dr */ 89 dr->vaddr = vaddr; 92 devres_add(dev, dr);
|
/linux-4.4.14/drivers/usb/class/ |
D | cdc-wdm.c | 216 struct usb_cdc_notification *dr; in wdm_int_callback() local 219 dr = (struct usb_cdc_notification *)desc->sbuf; in wdm_int_callback() 244 switch (dr->bNotificationType) { in wdm_int_callback() 248 le16_to_cpu(dr->wIndex), le16_to_cpu(dr->wLength)); in wdm_int_callback() 255 dr->wValue ? "connected to" : "disconnected from"); in wdm_int_callback() 265 dr->bNotificationType, in wdm_int_callback() 266 le16_to_cpu(dr->wIndex), in wdm_int_callback() 267 le16_to_cpu(dr->wLength)); in wdm_int_callback()
|
D | cdc-acm.c | 278 struct usb_cdc_notification *dr = urb->transfer_buffer; in acm_ctrl_irq() local 306 data = (unsigned char *)(dr + 1); in acm_ctrl_irq() 307 switch (dr->bNotificationType) { in acm_ctrl_irq() 310 __func__, dr->wValue); in acm_ctrl_irq() 353 dr->bNotificationType, dr->wIndex, in acm_ctrl_irq() 354 dr->wLength, data[0], data[1]); in acm_ctrl_irq()
|
/linux-4.4.14/drivers/mailbox/ |
D | pl320-ipc.c | 40 #define IPCMxDR(m, dr) (((m) * 0x40) + ((dr) * 4) + 0x024) argument
|
/linux-4.4.14/drivers/usb/core/ |
D | devio.c | 1293 struct usb_ctrlrequest *dr = NULL; in proc_do_submiturb() local 1331 dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); in proc_do_submiturb() 1332 if (!dr) in proc_do_submiturb() 1334 if (copy_from_user(dr, uurb->buffer, 8)) { in proc_do_submiturb() 1338 if (uurb->buffer_length < (le16_to_cpup(&dr->wLength) + 8)) { in proc_do_submiturb() 1342 ret = check_ctrlrecip(ps, dr->bRequestType, dr->bRequest, in proc_do_submiturb() 1343 le16_to_cpup(&dr->wIndex)); in proc_do_submiturb() 1346 uurb->buffer_length = le16_to_cpup(&dr->wLength); in proc_do_submiturb() 1348 if ((dr->bRequestType & USB_DIR_IN) && uurb->buffer_length) { in proc_do_submiturb() 1358 dr->bRequestType, dr->bRequest, in proc_do_submiturb() [all …]
|
D | message.c | 135 struct usb_ctrlrequest *dr; in usb_control_msg() local 138 dr = kmalloc(sizeof(struct usb_ctrlrequest), GFP_NOIO); in usb_control_msg() 139 if (!dr) in usb_control_msg() 142 dr->bRequestType = requesttype; in usb_control_msg() 143 dr->bRequest = request; in usb_control_msg() 144 dr->wValue = cpu_to_le16(value); in usb_control_msg() 145 dr->wIndex = cpu_to_le16(index); in usb_control_msg() 146 dr->wLength = cpu_to_le16(size); in usb_control_msg() 148 ret = usb_internal_control_msg(dev, pipe, dr, data, size, timeout); in usb_control_msg() 150 kfree(dr); in usb_control_msg()
|
/linux-4.4.14/drivers/misc/mic/bus/ |
D | mic_bus.c | 74 static int mbus_dev_match(struct device *dv, struct device_driver *dr) in mbus_dev_match() argument 80 ids = drv_to_mbus(dr)->id_table; in mbus_dev_match()
|
D | scif_bus.c | 73 static int scif_dev_match(struct device *dv, struct device_driver *dr) in scif_dev_match() argument 79 ids = drv_to_scif(dr)->id_table; in scif_dev_match()
|
/linux-4.4.14/kernel/ |
D | resource.c | 1360 struct region_devres *dr = NULL; in __devm_request_region() local 1363 dr = devres_alloc(devm_region_release, sizeof(struct region_devres), in __devm_request_region() 1365 if (!dr) in __devm_request_region() 1368 dr->parent = parent; in __devm_request_region() 1369 dr->start = start; in __devm_request_region() 1370 dr->n = n; in __devm_request_region() 1374 devres_add(dev, dr); in __devm_request_region() 1376 devres_free(dr); in __devm_request_region()
|
/linux-4.4.14/net/bluetooth/ |
D | hci_core.c | 1917 struct hci_dev_req dr; in hci_dev_cmd() local 1920 if (copy_from_user(&dr, arg, sizeof(dr))) in hci_dev_cmd() 1923 hdev = hci_dev_get(dr.dev_id); in hci_dev_cmd() 1949 err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, in hci_dev_cmd() 1961 err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, in hci_dev_cmd() 1967 err = hci_req_sync(hdev, hci_encrypt_req, dr.dev_opt, in hci_dev_cmd() 1972 err = hci_req_sync(hdev, hci_scan_req, dr.dev_opt, in hci_dev_cmd() 1979 hci_update_scan_state(hdev, dr.dev_opt); in hci_dev_cmd() 1983 err = hci_req_sync(hdev, hci_linkpol_req, dr.dev_opt, in hci_dev_cmd() 1988 hdev->link_mode = ((__u16) dr.dev_opt) & in hci_dev_cmd() [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | dev.c | 127 struct usb_ctrlrequest *dr; in rtl8187_iowrite_async() local 131 struct usb_ctrlrequest dr; in rtl8187_iowrite_async() member 145 dr = &buf->dr; in rtl8187_iowrite_async() 147 dr->bRequestType = RTL8187_REQT_WRITE; in rtl8187_iowrite_async() 148 dr->bRequest = RTL8187_REQ_SET_REG; in rtl8187_iowrite_async() 149 dr->wValue = addr; in rtl8187_iowrite_async() 150 dr->wIndex = 0; in rtl8187_iowrite_async() 151 dr->wLength = cpu_to_le16(len); in rtl8187_iowrite_async() 156 (unsigned char *)dr, buf, len, in rtl8187_iowrite_async()
|
/linux-4.4.14/drivers/staging/media/cxd2099/ |
D | cxd2099.c | 50 int dr; member 585 ci->dr = 1; in campoll() 644 if (!ci->dr) in read_data() 652 ci->dr = 0; in read_data()
|
/linux-4.4.14/include/net/ |
D | inet_timewait_sock.h | 107 struct inet_timewait_death_row *dr,
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | time.h | 200 unsigned divisor, struct div_result *dr);
|
/linux-4.4.14/arch/parisc/kernel/ |
D | perf_asm.S | 35 #define STDIAG(dr) .word 0x14000AA0 + dr*0x200000 argument 36 #define SFDIAG(dr) .word 0x14000BA0 + dr*0x200000 argument
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | amd.c | 923 void set_dr_addr_mask(unsigned long mask, int dr) in set_dr_addr_mask() argument 928 switch (dr) { in set_dr_addr_mask() 935 wrmsr(MSR_F16H_DR1_ADDR_MASK - 1 + dr, mask, 0); in set_dr_addr_mask()
|
/linux-4.4.14/kernel/locking/ |
D | lockdep_proc.c | 380 const struct lock_stat_data *dl = l, *dr = r; in lock_stat_cmp() local 384 nr = dr->stats.read_waittime.nr + dr->stats.write_waittime.nr; in lock_stat_cmp()
|
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/ |
D | gpmi-nand.h | 272 enum dma_data_direction dr);
|
D | gpmi-nand.c | 382 void prepare_data_dma(struct gpmi_nand_data *this, enum dma_data_direction dr) in prepare_data_dma() argument 391 ret = dma_map_sg(this->dev, sgl, 1, dr); in prepare_data_dma() 403 if (dr == DMA_TO_DEVICE) in prepare_data_dma() 406 dma_map_sg(this->dev, sgl, 1, dr); in prepare_data_dma()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | time.c | 1078 unsigned divisor, struct div_result *dr) in div128_by_32() argument 1101 dr->result_high = ((u64)w << 32) + x; in div128_by_32() 1102 dr->result_low = ((u64)y << 32) + z; in div128_by_32()
|
/linux-4.4.14/Documentation/isdn/ |
D | README.avmb1 | 80 dr-xr-xr-x 2 root root 0 Jul 1 14:03 . 81 dr-xr-xr-x 82 root root 0 Jun 30 19:08 ..
|
/linux-4.4.14/include/linux/ |
D | intel-iommu.h | 282 #define QI_IOTLB_DR(dr) (((u64)dr) << 7) argument
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | omap3-igep.dtsi | 54 OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2.dr */
|
D | ls1021a.dtsi | 528 compatible = "fsl-usb2-dr-v2.5", "fsl-usb2-dr";
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | mpc5121.dtsi | 298 compatible = "fsl,mpc5121-usb2-dr"; 311 compatible = "fsl,mpc5121-usb2-dr";
|
D | mpc8349emitxgp.dts | 142 compatible = "fsl-usb2-dr";
|
D | mpc8308_p1m.dts | 158 compatible = "fsl-usb2-dr";
|
D | mpc8308rdb.dts | 133 compatible = "fsl-usb2-dr";
|
D | mpc5125twr.dts | 237 compatible = "fsl,mpc5121-usb2-dr";
|
D | asp834x-redboot.dts | 174 compatible = "fsl-usb2-dr";
|
D | mpc8313erdb.dts | 169 compatible = "fsl-usb2-dr";
|
D | mpc8349emitx.dts | 206 compatible = "fsl-usb2-dr";
|
D | mpc8377_wlan.dts | 218 compatible = "fsl-usb2-dr";
|
D | mpc8379_rdb.dts | 240 compatible = "fsl-usb2-dr";
|
D | mpc834x_mds.dts | 160 compatible = "fsl-usb2-dr";
|
D | mpc8315erdb.dts | 184 compatible = "fsl-usb2-dr";
|
D | mpc8377_rdb.dts | 242 compatible = "fsl-usb2-dr";
|
D | mpc8379_mds.dts | 226 compatible = "fsl-usb2-dr";
|
D | mpc8378_rdb.dts | 242 compatible = "fsl-usb2-dr";
|
D | mpc8378_mds.dts | 228 compatible = "fsl-usb2-dr";
|
D | mpc8377_mds.dts | 189 compatible = "fsl-usb2-dr";
|
/linux-4.4.14/drivers/hid/ |
D | Makefile | 35 obj-$(CONFIG_HID_DRAGONRISE) += hid-dr.o
|
/linux-4.4.14/drivers/clk/tegra/ |
D | clk-tegra114.c | 1397 u32 dr = 0, r = 0; in tegra114_clock_tune_cpu_trimmers_init() local 1409 dr |= (CPU_FINETRIM_1_FCPU_1 | CPU_FINETRIM_1_FCPU_2 | in tegra114_clock_tune_cpu_trimmers_init() 1412 writel_relaxed(dr, clk_base + CPU_FINETRIM_DR); in tegra114_clock_tune_cpu_trimmers_init()
|
/linux-4.4.14/arch/x86/kvm/ |
D | x86.c | 476 bool kvm_require_dr(struct kvm_vcpu *vcpu, int dr) in kvm_require_dr() argument 478 if ((dr != 4 && dr != 5) || !kvm_read_cr4_bits(vcpu, X86_CR4_DE)) in kvm_require_dr() 858 static int __kvm_set_dr(struct kvm_vcpu *vcpu, int dr, unsigned long val) in __kvm_set_dr() argument 860 switch (dr) { in __kvm_set_dr() 862 vcpu->arch.db[dr] = val; in __kvm_set_dr() 864 vcpu->arch.eff_db[dr] = val; in __kvm_set_dr() 887 int kvm_set_dr(struct kvm_vcpu *vcpu, int dr, unsigned long val) in kvm_set_dr() argument 889 if (__kvm_set_dr(vcpu, dr, val)) { in kvm_set_dr() 897 int kvm_get_dr(struct kvm_vcpu *vcpu, int dr, unsigned long *val) in kvm_get_dr() argument 899 switch (dr) { in kvm_get_dr() [all …]
|
D | svm.c | 2931 int reg, dr; in dr_interception() local 2949 dr = svm->vmcb->control.exit_code - SVM_EXIT_READ_DR0; in dr_interception() 2951 if (dr >= 16) { /* mov to DRn */ in dr_interception() 2952 if (!kvm_require_dr(&svm->vcpu, dr - 16)) in dr_interception() 2955 kvm_set_dr(&svm->vcpu, dr - 16, val); in dr_interception() 2957 if (!kvm_require_dr(&svm->vcpu, dr)) in dr_interception() 2959 kvm_get_dr(&svm->vcpu, dr, &val); in dr_interception()
|
D | emulate.c | 3940 int dr = ctxt->modrm_reg; in check_dr_read() local 3943 if (dr > 7) in check_dr_read() 3947 if ((cr4 & X86_CR4_DE) && (dr == 4 || dr == 5)) in check_dr_read() 3966 int dr = ctxt->modrm_reg; in check_dr_write() local 3968 if ((dr == 6 || dr == 7) && (new_val & 0xffffffff00000000ULL)) in check_dr_write()
|
D | vmx.c | 5537 int dr, dr7, reg; in handle_dr() local 5540 dr = exit_qualification & DEBUG_REG_ACCESS_NUM; in handle_dr() 5543 if (!kvm_require_dr(vcpu, dr)) in handle_dr() 5591 if (kvm_get_dr(vcpu, dr, &val)) in handle_dr() 5595 if (kvm_set_dr(vcpu, dr, kvm_register_readl(vcpu, reg))) in handle_dr()
|
/linux-4.4.14/arch/mips/include/asm/txx9/ |
D | tx4939.h | 79 __u64 dr; member
|
/linux-4.4.14/drivers/iommu/ |
D | dmar.c | 1297 u8 dw = 0, dr = 0; in qi_flush_iotlb() local 1306 dr = 1; in qi_flush_iotlb() 1308 desc.low = QI_IOTLB_DID(did) | QI_IOTLB_DR(dr) | QI_IOTLB_DW(dw) in qi_flush_iotlb()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | pal.h | 446 dr : 1, /* Debug regs valid */ member 692 #define pmci_proc_debug_regs_valid pme_processor.dr
|
/linux-4.4.14/fs/nfsd/ |
D | xdr4.h | 710 struct nfsd4_compound_state *, struct nfsd4_delegreturn *dr);
|
D | nfs4xdr.c | 645 nfsd4_decode_delegreturn(struct nfsd4_compoundargs *argp, struct nfsd4_delegreturn *dr) in nfsd4_decode_delegreturn() argument 647 return nfsd4_decode_stateid(argp, &dr->dr_stateid); in nfsd4_decode_delegreturn()
|
D | nfs4state.c | 5184 struct nfsd4_delegreturn *dr) in nfsd4_delegreturn() argument 5187 stateid_t *stateid = &dr->dr_stateid; in nfsd4_delegreturn()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | mad.c | 3792 smp->route.dr.dr_slid == OPA_LID_PERMISSIVE && in is_local_mad() 3793 smp->route.dr.dr_dlid == OPA_LID_PERMISSIVE); in is_local_mad() 3867 smp->route.dr.dr_slid, smp->route.dr.return_path, in process_subn_opa() 3886 smp->mkey, smp->route.dr.dr_slid, in process_subn_opa() 3887 smp->route.dr.return_path, in process_subn_opa()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_pr.c | 540 bool dr = (kvmppc_get_msr(vcpu) & MSR_DR) ? true : false; in kvmppc_handle_pagefault() local 544 relocated = data ? dr : ir; in kvmppc_handle_pagefault()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-mio-defs.h | 4181 uint64_t dr:1; member 4183 uint64_t dr:1; 4918 uint64_t dr:1; member 4920 uint64_t dr:1;
|
D | cvmx-lmcx-defs.h | 250 uint64_t dr:1; member 262 uint64_t dr:1;
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.c | 176 MLXSW_ITEM32(emad, op_tlv, dr, 0x00, 15, 1);
|
/linux-4.4.14/drivers/md/ |
D | raid10.c | 2063 int dr = r10_bio->devs[0].devnum; in fix_recovery_read_error() local 2075 rdev = conf->mirrors[dr].rdev; in fix_recovery_read_error()
|
/linux-4.4.14/drivers/pinctrl/sirf/ |
D | pinctrl-atlas7.c | 244 #define MUX(b, pad, f, dr, db, dvr, dvb) \ argument 249 .dinput_reg = dr, \
|