Home
last modified time | relevance | path

Searched refs:dr (Results 1 – 25 of 67) sorted by relevance

123

/arch/sparc/kernel/
Dviohs.c85 struct vio_dring_state *dr; in flush_rx_dring() local
90 dr = &vio->drings[VIO_DRIVER_RX_RING]; in flush_rx_dring()
91 ident = dr->ident; in flush_rx_dring()
97 memset(dr, 0, sizeof(*dr)); in flush_rx_dring()
98 dr->ident = ident; in flush_rx_dring()
137 struct vio_dring_state *dr; in handshake_failure() local
149 dr = &vio->drings[VIO_DRIVER_RX_RING]; in handshake_failure()
150 memset(dr, 0, sizeof(*dr)); in handshake_failure()
178 struct vio_dring_state *dr = &vio->drings[VIO_DRIVER_TX_RING]; in send_dreg() local
187 dr->ncookies); in send_dreg()
[all …]
/arch/sparc/include/asm/
Dvio.h295 static inline void *vio_dring_cur(struct vio_dring_state *dr) in vio_dring_cur() argument
297 return dr->base + (dr->entry_size * dr->prod); in vio_dring_cur()
300 static inline void *vio_dring_entry(struct vio_dring_state *dr, in vio_dring_entry() argument
303 return dr->base + (dr->entry_size * index); in vio_dring_entry()
306 static inline u32 vio_dring_avail(struct vio_dring_state *dr, in vio_dring_avail() argument
309 return (dr->pending - in vio_dring_avail()
310 ((dr->prod - dr->cons) & (ring_size - 1)) - 1); in vio_dring_avail()
313 static inline u32 vio_dring_next(struct vio_dring_state *dr, u32 index) in vio_dring_next() argument
315 if (++index == dr->num_entries) in vio_dring_next()
320 static inline u32 vio_dring_prev(struct vio_dring_state *dr, u32 index) in vio_dring_prev() argument
[all …]
/arch/powerpc/sysdev/
Ddcr.c119 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_start() local
121 if (dr == NULL || ds & 1 || index >= (ds / 8)) in dcr_resource_start()
124 return dr[index * 2]; in dcr_resource_start()
131 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_len() local
133 if (dr == NULL || ds & 1 || index >= (ds / 8)) in dcr_resource_len()
136 return dr[index * 2 + 1]; in dcr_resource_len()
Dfsl_pci.c1154 u32 dr; in fsl_pci_pme_handle() local
1156 dr = in_be32(&pci->pex_pme_mes_dr); in fsl_pci_pme_handle()
1157 if (!dr) in fsl_pci_pme_handle()
1160 out_be32(&pci->pex_pme_mes_dr, dr); in fsl_pci_pme_handle()
1220 u32 dr; in send_pme_turnoff_message() local
1228 dr = in_be32(&pci->pex_pme_mes_dr); in send_pme_turnoff_message()
1229 if (dr) { in send_pme_turnoff_message()
1230 out_be32(&pci->pex_pme_mes_dr, dr); in send_pme_turnoff_message()
1256 u32 dr; in fsl_pci_syscore_do_resume() local
1264 dr = in_be32(&pci->pex_pme_mes_dr); in fsl_pci_syscore_do_resume()
[all …]
/arch/x86/include/asm/
Ddebugreg.h151 extern void set_dr_addr_mask(unsigned long mask, int dr);
153 static inline void set_dr_addr_mask(unsigned long mask, int dr) { } in set_dr_addr_mask() argument
/arch/x86/mm/
Dkmmio.c475 struct kmmio_delayed_release *dr = container_of( in rcu_free_kmmio_fault_pages() local
479 struct kmmio_fault_page *f = dr->release_list; in rcu_free_kmmio_fault_pages()
486 kfree(dr); in rcu_free_kmmio_fault_pages()
491 struct kmmio_delayed_release *dr = in remove_kmmio_fault_pages() local
493 struct kmmio_fault_page *f = dr->release_list; in remove_kmmio_fault_pages()
494 struct kmmio_fault_page **prevp = &dr->release_list; in remove_kmmio_fault_pages()
512 call_rcu(&dr->rcu, rcu_free_kmmio_fault_pages); in remove_kmmio_fault_pages()
/arch/powerpc/boot/dts/fsl/
Dp1020si-post.dtsi145 /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";
Dp1022si-post.dtsi206 /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";
Dqoriq-usb2-dr-0.dtsi36 compatible = "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
Dbsc9131si-post.dtsi125 /include/ "pq3-usb2-dr-0.dtsi"
127 compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
Dbsc9132si-post.dtsi154 /include/ "pq3-usb2-dr-0.dtsi"
156 compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
Dp1010si-post.dtsi168 /include/ "pq3-usb2-dr-0.dtsi"
170 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
Dp2020si-post.dtsi173 /include/ "pq3-usb2-dr-0.dtsi"
175 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
Dp1021si-post.dtsi145 /include/ "pq3-usb2-dr-0.dtsi"
147 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
Dp2041si-post.dtsi403 /include/ "qoriq-usb2-dr-0.dtsi"
405 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
Dp3041si-post.dtsi414 /include/ "qoriq-usb2-dr-0.dtsi"
416 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
Dp5040si-post.dtsi379 /include/ "qoriq-usb2-dr-0.dtsi"
381 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
Dp5020si-post.dtsi419 /include/ "qoriq-usb2-dr-0.dtsi"
421 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
Dp1023si-post.dtsi207 /include/ "pq3-usb2-dr-0.dtsi"
209 compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
Dp4080si-post.dtsi433 /include/ "qoriq-usb2-dr-0.dtsi"
435 compatible = "fsl-usb2-dr-v1.6", "fsl,mpc85xx-usb2-dr", "fsl-usb2-dr";
Dpq3-usb2-dr-0.dtsi36 compatible = "fsl-usb2-dr";
Dqonverge-usb2-dr-0.dtsi36 compatible = "fsl-usb2-dr";
/arch/powerpc/include/asm/
Dtime.h95 unsigned divisor, struct div_result *dr);
/arch/parisc/kernel/
Dperf_asm.S22 #define STDIAG(dr) .word 0x14000AA0 + dr*0x200000 argument
23 #define SFDIAG(dr) .word 0x14000BA0 + dr*0x200000 argument
/arch/x86/kvm/
Dkvm_emulate.h209 void (*get_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong *dest);
210 int (*set_dr)(struct x86_emulate_ctxt *ctxt, int dr, ulong value);

123