/arch/microblaze/kernel/ |
D | reset.c | 19 static int handle; /* reset pin handle */ variable 25 handle = of_get_named_gpio(of_find_node_by_path("/"), in of_platform_reset_gpio_probe() 28 if (!gpio_is_valid(handle)) { in of_platform_reset_gpio_probe() 30 handle, "reset"); in of_platform_reset_gpio_probe() 34 ret = gpio_request(handle, "reset"); in of_platform_reset_gpio_probe() 41 reset_val = gpio_get_value(handle); in of_platform_reset_gpio_probe() 46 ret = gpio_direction_output(handle, 0); in of_platform_reset_gpio_probe() 51 gpio_set_value(handle, 0); in of_platform_reset_gpio_probe() 54 handle, reset_val); in of_platform_reset_gpio_probe() 57 gpio_free(handle); in of_platform_reset_gpio_probe() [all …]
|
/arch/arm/xen/ |
D | mm32.c | 56 static void* xen_mm32_remap_page(dma_addr_t handle) in xen_mm32_remap_page() argument 61 *ptep = pfn_pte(handle >> PAGE_SHIFT, PAGE_KERNEL); in xen_mm32_remap_page() 75 static void dma_cache_maint(dma_addr_t handle, unsigned long offset, in dma_cache_maint() argument 82 pfn = (handle >> PAGE_SHIFT) + offset / PAGE_SIZE; in dma_cache_maint() 95 vaddr = xen_mm32_remap_page(handle) + offset; in dma_cache_maint() 128 static void __xen_dma_page_dev_to_cpu(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_dev_to_cpu() argument 135 outer_inv_range(handle, handle + size); in __xen_dma_page_dev_to_cpu() 137 dma_cache_maint(handle & PAGE_MASK, handle & ~PAGE_MASK, size, dir, dmac_unmap_area); in __xen_dma_page_dev_to_cpu() 140 static void __xen_dma_page_cpu_to_dev(struct device *hwdev, dma_addr_t handle, in __xen_dma_page_cpu_to_dev() argument 144 dma_cache_maint(handle & PAGE_MASK, handle & ~PAGE_MASK, size, dir, dmac_map_area); in __xen_dma_page_cpu_to_dev() [all …]
|
/arch/powerpc/include/asm/ |
D | mpic_timer.h | 33 void mpic_start_timer(struct mpic_timer *handle); 34 void mpic_stop_timer(struct mpic_timer *handle); 35 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time); 36 void mpic_free_timer(struct mpic_timer *handle); 40 void mpic_start_timer(struct mpic_timer *handle) { } in mpic_start_timer() argument 41 void mpic_stop_timer(struct mpic_timer *handle) { } in mpic_stop_timer() argument 42 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time) { } in mpic_get_remain_time() argument 43 void mpic_free_timer(struct mpic_timer *handle) { } in mpic_free_timer() argument
|
D | fsl_hcalls.h | 121 static inline unsigned int fh_partition_get_dtprop(int handle, in fh_partition_get_dtprop() argument 138 r3 = handle; in fh_partition_get_dtprop() 175 static inline unsigned int fh_partition_set_dtprop(int handle, in fh_partition_set_dtprop() argument 192 r3 = handle; in fh_partition_set_dtprop() 534 static inline unsigned int fh_get_core_state(unsigned int handle, in fh_get_core_state() argument 542 r3 = handle; in fh_get_core_state() 565 static inline unsigned int fh_enter_nap(unsigned int handle, unsigned int vcpu) in fh_enter_nap() argument 572 r3 = handle; in fh_enter_nap() 590 static inline unsigned int fh_exit_nap(unsigned int handle, unsigned int vcpu) in fh_exit_nap() argument 597 r3 = handle; in fh_exit_nap() [all …]
|
D | epapr_hcalls.h | 282 static inline unsigned int ev_byte_channel_send(unsigned int handle, in ev_byte_channel_send() argument 295 r3 = handle; in ev_byte_channel_send() 325 static inline unsigned int ev_byte_channel_receive(unsigned int handle, in ev_byte_channel_receive() argument 338 r3 = handle; in ev_byte_channel_receive() 368 static inline unsigned int ev_byte_channel_poll(unsigned int handle, in ev_byte_channel_poll() argument 377 r3 = handle; in ev_byte_channel_poll() 402 static inline unsigned int ev_int_iack(unsigned int handle, in ev_int_iack() argument 410 r3 = handle; in ev_int_iack() 428 static inline unsigned int ev_doorbell_send(unsigned int handle) in ev_doorbell_send() argument 434 r3 = handle; in ev_doorbell_send()
|
/arch/avr32/mm/ |
D | dma-coherent.c | 41 dma_addr_t *handle, gfp_t gfp) in __dma_alloc() argument 72 *handle = page_to_bus(page); in __dma_alloc() 88 struct page *page, dma_addr_t handle) in __dma_free() argument 97 dma_addr_t *handle, gfp_t gfp) in dma_alloc_coherent() argument 102 page = __dma_alloc(dev, size, handle, gfp); in dma_alloc_coherent() 111 void *cpu_addr, dma_addr_t handle) in dma_free_coherent() argument 117 cpu_addr, (unsigned long)handle, (unsigned)size); in dma_free_coherent() 120 __dma_free(dev, size, page, handle); in dma_free_coherent() 125 dma_addr_t *handle, gfp_t gfp) in dma_alloc_writecombine() argument 130 page = __dma_alloc(dev, size, handle, gfp); in dma_alloc_writecombine() [all …]
|
/arch/m68k/kernel/ |
D | dma.c | 22 dma_addr_t *handle, gfp_t flag) in dma_alloc_coherent() argument 38 *handle = page_to_phys(page); in dma_alloc_coherent() 65 void *addr, dma_addr_t handle) in dma_free_coherent() argument 67 pr_debug("dma_free_coherent: %p, %x\n", addr, handle); in dma_free_coherent() 104 void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, in dma_sync_single_for_device() argument 110 cache_push(handle, size); in dma_sync_single_for_device() 113 cache_clear(handle, size); in dma_sync_single_for_device() 136 dma_addr_t handle = virt_to_bus(addr); in dma_map_single() local 138 dma_sync_single_for_device(dev, handle, size, dir); in dma_map_single() 139 return handle; in dma_map_single() [all …]
|
/arch/mips/include/asm/fw/cfe/ |
D | cfe_api.h | 97 int cfe_close(int handle); 109 int cfe_init(uint64_t handle, uint64_t ept); 110 int cfe_inpstat(int handle); 111 int cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, 114 int cfe_read(int handle, unsigned char *buffer, int length); 115 int cfe_readblk(int handle, int64_t offset, unsigned char *buffer, 118 int cfe_write(int handle, const char *buffer, int length); 119 int cfe_writeblk(int handle, int64_t offset, const char *buffer,
|
/arch/c6x/include/asm/ |
D | dma-mapping.h | 42 extern void dma_unmap_single(struct device *dev, dma_addr_t handle, 55 dma_addr_t handle; in dma_map_page() local 57 handle = dma_map_single(dev, page_address(page) + offset, size, dir); in dma_map_page() 59 debug_dma_map_page(dev, page, offset, size, dir, handle, false); in dma_map_page() 61 return handle; in dma_map_page() 64 static inline void dma_unmap_page(struct device *dev, dma_addr_t handle, in dma_unmap_page() argument 67 dma_unmap_single(dev, handle, size, dir); in dma_unmap_page() 69 debug_dma_unmap_page(dev, handle, size, dir, false); in dma_unmap_page() 72 extern void dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, 75 extern void dma_sync_single_for_device(struct device *dev, dma_addr_t handle,
|
/arch/c6x/kernel/ |
D | dma.c | 17 static void c6x_dma_sync(dma_addr_t handle, size_t size, in c6x_dma_sync() argument 20 unsigned long paddr = handle; in c6x_dma_sync() 54 void dma_unmap_single(struct device *dev, dma_addr_t handle, in dma_unmap_single() argument 57 c6x_dma_sync(handle, size, dir); in dma_unmap_single() 59 debug_dma_unmap_page(dev, handle, size, dir, true); in dma_unmap_single() 94 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, in dma_sync_single_for_cpu() argument 97 c6x_dma_sync(handle, size, dir); in dma_sync_single_for_cpu() 99 debug_dma_sync_single_for_cpu(dev, handle, size, dir); in dma_sync_single_for_cpu() 104 void dma_sync_single_for_device(struct device *dev, dma_addr_t handle, in dma_sync_single_for_device() argument 107 c6x_dma_sync(handle, size, dir); in dma_sync_single_for_device() [all …]
|
/arch/mips/include/asm/mach-goldfish/ |
D | hardware.h | 29 #define dma_alloc_writecombine(dev, size, handle, gfp) \ argument 30 dma_alloc_coherent(dev, size, handle, gfp) 33 #define dma_free_writecombine(dev, size, cpu_addr, handle) \ argument 34 dma_free_coherent(dev, size, cpu_addr, handle)
|
/arch/powerpc/sysdev/ |
D | mpic_timer.c | 282 void mpic_start_timer(struct mpic_timer *handle) in mpic_start_timer() argument 284 struct timer_group_priv *priv = container_of(handle, in mpic_start_timer() 285 struct timer_group_priv, timer[handle->num]); in mpic_start_timer() 287 clrbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP); in mpic_start_timer() 297 void mpic_stop_timer(struct mpic_timer *handle) in mpic_stop_timer() argument 299 struct timer_group_priv *priv = container_of(handle, in mpic_stop_timer() 300 struct timer_group_priv, timer[handle->num]); in mpic_stop_timer() 303 setbits32(&priv->regs[handle->num].gtbcr, TIMER_STOP); in mpic_stop_timer() 305 casc_priv = priv->timer[handle->num].cascade_handle; in mpic_stop_timer() 307 out_be32(&priv->regs[handle->num].gtccr, 0); in mpic_stop_timer() [all …]
|
/arch/ia64/sn/kernel/ |
D | io_acpi_init.c | 39 acpi_handle handle; member 65 sn_acpi_hubdev_init(acpi_handle handle, u32 depth, void *context, void **ret) in sn_acpi_hubdev_init() argument 79 status = acpi_get_vendor_resource(handle, METHOD_NAME__CRS, in sn_acpi_hubdev_init() 82 acpi_get_name(handle, ACPI_FULL_PATHNAME, &name_buffer); in sn_acpi_hubdev_init() 95 acpi_get_name(handle, ACPI_FULL_PATHNAME, &name_buffer); in sn_acpi_hubdev_init() 128 acpi_handle handle; in sn_get_bussoft_ptr() local 135 handle = acpi_device_handle(PCI_CONTROLLER(bus)->companion); in sn_get_bussoft_ptr() 136 status = acpi_get_vendor_resource(handle, METHOD_NAME__CRS, in sn_get_bussoft_ptr() 139 acpi_get_name(handle, ACPI_FULL_PATHNAME, &name_buffer); in sn_get_bussoft_ptr() 171 sn_extract_device_info(acpi_handle handle, struct pcidev_info **pcidev_info, in sn_extract_device_info() argument [all …]
|
/arch/sparc/include/asm/ |
D | mdesc.h | 20 u64 mdesc_node_by_name(struct mdesc_handle *handle, 37 const void *mdesc_get_property(struct mdesc_handle *handle, 53 u64 mdesc_next_arc(struct mdesc_handle *handle, u64 from, 65 void (*add)(struct mdesc_handle *handle, u64 node); 66 void (*remove)(struct mdesc_handle *handle, u64 node);
|
/arch/sparc/kernel/ |
D | ds.c | 85 __u64 handle; member 93 __u64 handle; member 99 __u64 handle; member 105 __u64 handle; member 110 __u64 handle; member 115 __u64 handle; member 120 __u64 handle; member 125 __u64 handle; member 131 __u64 handle; member 219 static struct ds_cap_state *find_cap(struct ds_info *dp, u64 handle) in find_cap() argument [all …]
|
/arch/mips/fw/cfe/ |
D | cfe_api.c | 48 static int (*cfe_dispfunc) (intptr_t handle, intptr_t xiocb); 51 int cfe_init(u64 handle, u64 ept) in cfe_init() argument 54 cfe_handle = handle; in cfe_init() 65 int cfe_close(int handle) in cfe_close() argument 71 xiocb.xiocb_handle = handle; in cfe_close() 303 int cfe_inpstat(int handle) in cfe_inpstat() argument 309 xiocb.xiocb_handle = handle; in cfe_inpstat() 322 cfe_ioctl(int handle, unsigned int ioctlnum, unsigned char *buffer, in cfe_ioctl() argument 329 xiocb.xiocb_handle = handle; in cfe_ioctl() 364 int cfe_read(int handle, unsigned char *buffer, int length) in cfe_read() argument [all …]
|
/arch/m68k/include/asm/ |
D | dma-mapping.h | 40 dma_addr_t *handle, gfp_t flag) in dma_alloc_noncoherent() argument 42 return dma_alloc_coherent(dev, size, handle, flag); in dma_alloc_noncoherent() 45 void *addr, dma_addr_t handle) in dma_free_noncoherent() argument 47 dma_free_coherent(dev, size, addr, handle); in dma_free_noncoherent() 90 static inline void dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, in dma_sync_single_for_cpu() argument 108 static inline int dma_mapping_error(struct device *dev, dma_addr_t handle) in dma_mapping_error() argument
|
/arch/arm/mm/ |
D | dma-mapping.c | 105 static void arm_dma_unmap_page(struct device *dev, dma_addr_t handle, in arm_dma_unmap_page() argument 110 __dma_page_dev_to_cpu(pfn_to_page(dma_to_pfn(dev, handle)), in arm_dma_unmap_page() 111 handle & ~PAGE_MASK, size, dir); in arm_dma_unmap_page() 115 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu() argument 117 unsigned int offset = handle & (PAGE_SIZE - 1); in arm_dma_sync_single_for_cpu() 118 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_cpu() 123 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device() argument 125 unsigned int offset = handle & (PAGE_SIZE - 1); in arm_dma_sync_single_for_device() 126 struct page *page = pfn_to_page(dma_to_pfn(dev, handle-offset)); in arm_dma_sync_single_for_device() 148 dma_addr_t *handle, gfp_t gfp, struct dma_attrs *attrs); [all …]
|
/arch/blackfin/include/asm/ |
D | dma-mapping.h | 110 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t handle, in dma_sync_single_range_for_cpu() argument 118 dma_sync_single_range_for_device(struct device *dev, dma_addr_t handle, in dma_sync_single_range_for_device() argument 122 _dma_sync(handle + offset, size, dir); in dma_sync_single_range_for_device() 126 dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, size_t size, in dma_sync_single_for_cpu() argument 129 dma_sync_single_range_for_cpu(dev, handle, 0, size, dir); in dma_sync_single_for_cpu() 133 dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, in dma_sync_single_for_device() argument 136 dma_sync_single_range_for_device(dev, handle, 0, size, dir); in dma_sync_single_for_device()
|
/arch/x86/include/asm/xen/ |
D | page-coherent.h | 28 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page() argument 33 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_cpu() argument 36 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_device() argument
|
/arch/arm64/include/asm/xen/ |
D | page-coherent.h | 28 static inline void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, in xen_dma_unmap_page() argument 35 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu() argument 40 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device() argument
|
/arch/arm/include/asm/xen/ |
D | page-coherent.h | 29 void xen_dma_unmap_page(struct device *hwdev, dma_addr_t handle, 34 dma_addr_t handle, size_t size, enum dma_data_direction dir); 37 dma_addr_t handle, size_t size, enum dma_data_direction dir);
|
/arch/x86/boot/compressed/ |
D | eboot.c | 55 void **handle, u64 *file_sz) in __file_size32() argument 72 *handle = h; in __file_size32() 108 void **handle, u64 *file_sz) in __file_size64() argument 125 *handle = h; in __file_size64() 160 efi_char16_t *filename_16, void **handle, u64 *file_sz) in efi_file_size() argument 163 return __file_size64(__fh, filename_16, handle, file_sz); in efi_file_size() 165 return __file_size32(__fh, filename_16, handle, file_sz); in efi_file_size() 169 efi_file_read(void *handle, unsigned long *size, void *addr) in efi_file_read() argument 174 efi_file_handle_64_t *fh = handle; in efi_file_read() 177 return efi_early->call(func, handle, size, addr); in efi_file_read() [all …]
|
/arch/powerpc/boot/dts/ |
D | mpc8569mds.dts | 263 pio-handle = <&pio1>; 264 tbi-handle = <&tbi1>; 265 phy-handle = <&qe_phy0>; 334 pio-handle = <&pio3>; 335 tbi-handle = <&tbi3>; 336 phy-handle = <&qe_phy2>; 357 pio-handle = <&pio2>; 358 tbi-handle = <&tbi2>; 359 phy-handle = <&qe_phy1>; 380 pio-handle = <&pio4>; [all …]
|
/arch/tile/include/hv/ |
D | drv_xgbe_intf.h | 206 #define __netio_fastio_free_buffer(fastio_index, handle) \ argument 207 __netio_fastio1((fastio_index) + NETIO_FASTIO_FREE_BUFFER, handle) 223 #define __netio_fastio_send_pkt_nock(fastio_index, ackflag, size, va, handle) \ argument 225 size, va, handle) 236 #define __netio_fastio_send_pkt_ck(fastio_index, ackflag, size, va, handle, \ argument 239 size, va, handle, csum0, csum1)
|