Lines Matching defs:size

181 					  int size)
187 .size = size,
190 /* buf->data is maximum size - we may only use parts of it */
205 switch (size) {
214 WARN(1, "invalid config space read size %d\n", size);
221 switch (size) {
245 static void um_pci_cfgspace_write(void *priv, unsigned int offset, int size,
252 /* maximum size - we may only use parts of it */
257 .size = size,
265 switch (size) {
281 WARN(1, "invalid config space write size %d\n", size);
294 unsigned int offset, int size)
303 .size = size,
307 memset(buffer, 0xff, size);
309 um_pci_send_cmd(dev, &hdr, sizeof(hdr), NULL, 0, buffer, size);
313 int size)
315 /* buf->data is maximum size - we may only use parts of it */
323 switch (size) {
332 WARN(1, "invalid config space read size %d\n", size);
336 um_pci_bar_copy_from(priv, data, offset, size);
338 switch (size) {
363 const void *buffer, int size)
372 .size = size,
376 um_pci_send_cmd(dev, &hdr, sizeof(hdr), buffer, size, NULL, 0);
379 static void um_pci_bar_write(void *priv, unsigned int offset, int size,
382 /* maximum size - we may only use parts of it */
385 switch (size) {
401 WARN(1, "invalid config space write size %d\n", size);
405 um_pci_bar_copy_to(priv, offset, data, size);
408 static void um_pci_bar_set(void *priv, unsigned int offset, u8 value, int size)
421 .size = size,
502 if (msg->size == sizeof(u32))
768 static long um_pci_map_cfgspace(unsigned long offset, size_t size,
772 if (WARN_ON(size > CFG_SPACE_SIZE || offset % CFG_SPACE_SIZE))
781 WARN(1, "cannot map offset 0x%lx/0x%zx\n", offset, size);
798 size_t size;
826 if (data->offset + data->size - 1 > r->end)
842 static long um_pci_map_iomem(unsigned long offset, size_t size,
849 .size = size,
964 static long um_pci_map_platform(unsigned long offset, size_t size,