Searched defs:size (Results 151 - 175 of 2434) sorted by relevance

1234567891011>>

/drivers/mtd/maps/
H A Dimpa7.c37 .size = WINDOW_SIZE0,
42 .size = WINDOW_SIZE1,
54 .size = 0x800000,
63 static struct { u_long addr; u_long size; } pt[NUM_FLASHBANKS] = { member in struct:__anon2625
72 pt[i].size, pt[i].addr);
75 impa7_map[i].virt = ioremap(pt[i].addr, pt[i].size);
H A Dpmcmsp-flash.c60 unsigned addr, size; local
113 if (sscanf(env, "%x:%x", &addr, &size) < 2) {
122 flash_name, size, addr);
123 /* This must matchs the actual size of the flash chip */
124 msp_maps[i].size = size;
128 * Platforms have a specific limit of the size of memory
131 if (size > CONFIG_MSP_FLASH_MAP_LIMIT)
132 size = CONFIG_MSP_FLASH_MAP_LIMIT;
134 msp_maps[i].virt = ioremap(addr, size);
[all...]
H A Dscx200_docflash.c27 static unsigned size = 0x1000000; /* 16 MiB the whole ISA address space */ variable
33 module_param(size, int, 0);
34 MODULE_PARM_DESC(size, "Size of the flash mapping");
51 .size = 0xc0000
56 .size = 0x40000
61 .size = ~0 /* calculate from flash size */
65 .offset = ~0, /* calculate from flash size */
66 .size = 0x80000
109 size
[all...]
/drivers/net/ethernet/8390/
H A D8390.c74 struct net_device *__alloc_ei_netdev(int size) argument
76 struct net_device *dev = ____alloc_ei_netdev(size);
/drivers/net/ethernet/intel/i40e/
H A Di40e_osdep.h57 u32 size; member in struct:i40e_dma_mem
66 u32 size; member in struct:i40e_virt_mem
/drivers/net/ethernet/intel/i40evf/
H A Di40e_osdep.h56 u32 size; member in struct:i40e_dma_mem
65 u32 size; member in struct:i40e_virt_mem
/drivers/net/ethernet/mellanox/mlx4/
H A Den_resources.c40 void mlx4_en_fill_qp_context(struct mlx4_en_priv *priv, int size, int stride, argument
52 context->rq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
54 context->sq_size_stride = ilog2(size) << 3 | (ilog2(stride) - 4);
/drivers/net/wireless/ath/wil6210/
H A Dioctl.c28 uint32_t size, enum wil_memio_op op)
49 if (size >= WIL6210_MEM_SIZE - off) {
51 "off = 0x%08x size = 0x%08x\n", off, size);
112 wil_dbg_ioctl(wil, "IO: addr = 0x%08x size = 0x%08x op = 0x%08x\n",
113 io.addr, io.size, io.op);
115 /* size */
116 if (io.size % 4) {
117 wil_err(wil, "size is not multiple of 4: 0x%08x\n", io.size);
27 wil_ioc_addr(struct wil6210_priv *wil, uint32_t addr, uint32_t size, enum wil_memio_op op) argument
[all...]
/drivers/net/wireless/zd1211rw/
H A Dzd_rf.c114 int zd_rf_scnprint_id(struct zd_rf *rf, char *buffer, size_t size) argument
116 return scnprintf(buffer, size, "%s", zd_rf_name(rf->type));
/drivers/parisc/
H A Diommu-helpers.h31 long size; local
71 size = startsg->length + dma_offset;
80 size -= IOVP_SIZE;
82 } while(unlikely(size > 0));
/drivers/pci/
H A Drom.c60 * pci_get_rom_size - obtain the actual size of the ROM image
63 * @size: size of PCI window
64 * return: size of actual ROM image
67 * The PCI window size could be much larger than the
68 * actual image size.
70 size_t pci_get_rom_size(struct pci_dev *pdev, void __iomem *rom, size_t size) argument
100 /* never return a size larger than the PCI resource window */
101 /* there are known ROMs that get the size wrong */
102 return min((size_t)(image - rom), size);
116 pci_map_rom(struct pci_dev *pdev, size_t *size) argument
220 pci_platform_rom(struct pci_dev *pdev, size_t *size) argument
[all...]
/drivers/staging/vme/devices/
H A Dvme_user.h12 __u64 size; /* Window Size */ member in struct:vme_master
36 __u64 size; /* Window Size */ member in struct:vme_slave
/drivers/tty/serial/
H A Dearlycon.c40 static void __iomem * __init earlycon_map(unsigned long paddr, size_t size) argument
48 base = ioremap(paddr, size);
/drivers/usb/wusbcore/
H A Ddev-sysfs.c33 const char *buf, size_t size)
43 return size;
54 return size;
76 const char *buf, size_t size)
106 return result < 0 ? result : size;
31 wusb_disconnect_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
74 wusb_ck_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t size) argument
/drivers/uwb/i1480/dfu/
H A Dphy.c41 * @size: Size of the data array
52 int i1480_mpi_write(struct i1480 *i1480, const void *data, size_t size) argument
58 BUG_ON(size > 480);
62 cmd->size = cpu_to_le16(size);
63 memcpy(cmd->data, data, size);
66 result = i1480_cmd(i1480, "MPI-WRITE", sizeof(*cmd) + size, sizeof(*reply));
85 * @size: Size of the data read array
100 int i1480_mpi_read(struct i1480 *i1480, u8 *data, u16 srcaddr, size_t size) argument
110 BUG_ON(size > (i148
[all...]
/drivers/video/fbdev/mmp/
H A Dcore.c168 size_t size; local
172 size = sizeof(struct mmp_path)
174 path = kzalloc(size, GFP_KERNEL);
/drivers/xen/xenbus/
H A Dxenbus_dev_backend.c95 size_t size = vma->vm_end - vma->vm_start; local
100 if ((size > PAGE_SIZE) || (vma->vm_pgoff != 0))
105 size, vma->vm_page_prot))
/drivers/acpi/acpica/
H A Duttrack.c70 acpi_size size,
116 * PARAMETERS: size - Size of the allocation
127 void *acpi_ut_allocate_and_track(acpi_size size, argument
133 /* Check for an inadvertent size of zero bytes */
135 if (!size) {
138 size = 1;
142 acpi_os_allocate(size + sizeof(struct acpi_debug_mem_header));
148 "Could not allocate size %u", (u32)size));
153 status = acpi_ut_track_allocation(allocation, size,
188 acpi_ut_allocate_zeroed_and_track(acpi_size size, u32 component, const char *module, u32 line) argument
365 acpi_ut_track_allocation(struct acpi_debug_mem_block *allocation, acpi_size size, u8 alloc_type, u32 component, const char *module, u32 line) argument
[all...]
/drivers/acpi/
H A Dec_sys.c37 unsigned int size = EC_SPACE_SIZE; local
41 if (*off >= size)
43 if (*off + count >= size) {
44 size -= *off;
45 count = size;
47 size = count;
49 while (size) {
60 size--;
72 unsigned int size = count; local
79 size
[all...]
H A Dnvs.c22 __u64 size; member in struct:nvs_region
29 static int suspend_nvs_register(unsigned long start, unsigned long size);
37 int acpi_nvs_register(__u64 start, __u64 size) argument
45 region->size = size;
48 return suspend_nvs_register(start, size);
51 int acpi_nvs_for_each_region(int (*func)(__u64 start, __u64 size, void *data), argument
58 rc = func(region->phys_start, region->size, data);
76 unsigned int size; member in struct:nvs_page
88 * @size
94 suspend_nvs_register(unsigned long start, unsigned long size) argument
179 unsigned int size = entry->size; local
[all...]
/drivers/block/drbd/
H A Ddrbd_interval.c18 * The end of an interval is the highest (start + (size >> 9)) value of this
25 sector_t max = node->sector + (node->size >> 9);
50 sector_t this_end = this->sector + (this->size >> 9);
52 BUG_ON(!IS_ALIGNED(this->size, 512));
123 * drbd_find_overlap - search for an interval overlapping with [sector, sector + size)
125 * @size: size, aligned to 512 bytes
127 * Returns an interval overlapping with [sector, sector + size), or NULL if
134 drbd_find_overlap(struct rb_root *root, sector_t sector, unsigned int size) argument
138 sector_t end = sector + (size >>
164 drbd_next_overlap(struct drbd_interval *i, sector_t sector, unsigned int size) argument
[all...]
/drivers/char/ipmi/
H A Dipmi_si_sm.h99 * return -2 if the state machine is not idle, -1 if the size
104 unsigned char *data, unsigned int size);
133 /* Return the size of the SMI structure in bytes. */
134 int (*size)(void); member in struct:si_sm_handlers
/drivers/char/tpm/
H A Dtpm_atmel.h42 unsigned long address, size; local
71 size =
74 size = reg[naddrc];
77 *region_size = size;
/drivers/char/xillybus/
H A Dxillybus_of.c44 size_t size,
47 dma_sync_single_for_cpu(ep->dev, dma_handle, size, direction);
52 size_t size,
55 dma_sync_single_for_device(ep->dev, dma_handle, size, direction);
60 size_t size,
70 data->size, data->direction);
77 size_t size,
90 addr = dma_map_single(ep->dev, ptr, size, direction);
99 this->size = size;
42 xilly_dma_sync_single_for_cpu_of(struct xilly_endpoint *ep, dma_addr_t dma_handle, size_t size, int direction) argument
50 xilly_dma_sync_single_for_device_of(struct xilly_endpoint *ep, dma_addr_t dma_handle, size_t size, int direction) argument
58 xilly_dma_sync_single_nop(struct xilly_endpoint *ep, dma_addr_t dma_handle, size_t size, int direction) argument
75 xilly_map_single_of(struct xilly_endpoint *ep, void *ptr, size_t size, int direction, dma_addr_t *ret_dma_handle ) argument
[all...]
H A Dxillybus_pcie.c55 size_t size,
60 size,
66 size_t size,
71 size,
80 data->size, data->direction);
93 size_t size,
109 addr = pci_map_single(ep->pdev, ptr, size, pci_direction);
118 this->size = size;
125 pci_unmap_single(ep->pdev, addr, size, pci_directio
53 xilly_dma_sync_single_for_cpu_pci(struct xilly_endpoint *ep, dma_addr_t dma_handle, size_t size, int direction) argument
64 xilly_dma_sync_single_for_device_pci(struct xilly_endpoint *ep, dma_addr_t dma_handle, size_t size, int direction) argument
91 xilly_map_single_pci(struct xilly_endpoint *ep, void *ptr, size_t size, int direction, dma_addr_t *ret_dma_handle ) argument
[all...]

Completed in 1471 milliseconds

1234567891011>>