/drivers/infiniband/hw/qib/ |
H A D | qib_pio_copy.c | 39 * @count: number of 32-bit quantities to copy 45 void qib_pio_copy(void __iomem *to, const void *from, size_t count) argument 50 const u64 *end = src + (count >> 1); 54 if (count & 1) 59 const u32 *end = src + count;
|
/drivers/misc/ |
H A D | dummy-irq.c | 26 static int count = 0; local 28 if (count == 0) { 31 count++;
|
H A D | ti_dac7512.c | 28 const char *buf, size_t count) 42 return count; 26 dac7512_store_val(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/drivers/char/ |
H A D | nwbutton.h | 22 int count; member in struct:button_callback 30 int button_add_callback (void (*callback) (void), int count); 36 extern int button_add_callback (void (*callback) (void), int count);
|
/drivers/net/wireless/ath/wil6210/ |
H A D | fw.c | 37 size_t count) 41 for (count += 4; count > 4; count -= 4) 36 wil_memset_toio_32(volatile void __iomem *dst, u32 val, size_t count) argument
|
/drivers/acpi/ |
H A D | acpi_platform.c | 51 int count; local 61 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL); 62 if (count < 0) { 64 } else if (count > 0) { 65 resources = kmalloc(count * sizeof(struct resource), 72 count = 0; 74 resources[count++] = rentry->res; 104 pdevinfo.num_res = count;
|
H A D | custom_method.c | 23 size_t count, loff_t *ppos) 34 if (count <= sizeof(struct acpi_table_header)) 49 (*ppos + count > max_size) || 50 (*ppos + count < count) || 51 (count > uncopied_bytes)) 54 if (copy_from_user(buf + (*ppos), user_buf, count)) { 60 uncopied_bytes -= count; 61 *ppos += count; 72 return count; 22 cm_write(struct file *file, const char __user * user_buf, size_t count, loff_t *ppos) argument [all...] |
/drivers/acpi/acpica/ |
H A D | utbuffer.c | 55 * count - Amount to dump, in bytes 68 void acpi_ut_dump_buffer(u8 *buffer, u32 count, u32 display, u32 base_offset) argument 80 if ((count < 4) || (count & 0x01)) { 86 while (i < count) { 95 if (i + j >= count) { 148 if (i + j >= count) { 175 * count - Amount to dump, in bytes 190 acpi_ut_debug_dump_buffer(u8 *buffer, u32 count, u32 display, u32 component_id) argument 200 acpi_ut_dump_buffer(buffer, count, displa 225 acpi_ut_dump_buffer_to_file(ACPI_FILE file, u8 *buffer, u32 count, u32 display, u32 base_offset) argument [all...] |
/drivers/clocksource/ |
H A D | clksrc-dbx500-prcmu.c | 35 u32 count, count2; local 38 count = readl_relaxed(base + PRCMU_TIMER_DOWNCOUNT); 40 } while (count2 != count); 43 return ~count;
|
/drivers/gpu/drm/ |
H A D | drm_flip_work.c | 60 atomic_add(pending, &work->count); 69 uint32_t count = atomic_read(&work->count); local 72 atomic_sub(count, &work->count); 74 while(count--) 97 atomic_set(&work->count, 0);
|
/drivers/input/misc/ |
H A D | m68kspkr.c | 32 unsigned int count = 0; local 44 count = 1193182 / value; 46 mach_beep(count, -1);
|
H A D | pcspkr.c | 30 unsigned int count = 0; local 43 count = PIT_TICK_RATE / value; 47 if (count) { 51 outb_p(count & 0xff, 0x42); 52 outb((count >> 8) & 0xff, 0x42);
|
/drivers/isdn/gigaset/ |
H A D | proc.c | 27 const char *buf, size_t count) 56 return count; 26 set_cidmode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/drivers/isdn/hardware/eicon/ |
H A D | dqueue.h | 13 int count; member in struct:_diva_um_idi_data_queue
|
/drivers/media/pci/cx18/ |
H A D | cx18-io.c | 27 void cx18_memset_io(struct cx18 *cx, void __iomem *addr, int val, size_t count) argument 34 if ((count > 0) && ((unsigned long)dst & 1)) { 36 count--; 39 if ((count > 1) && ((unsigned long)dst & 2)) { 41 count -= 2; 44 while (count > 3) { 46 count -= 4; 49 if (count > 1) { 51 count -= 2; 54 if (count > [all...] |
/drivers/media/platform/omap/ |
H A D | omap_vout_vrfb.h | 21 unsigned int *count, unsigned int startindex); 32 unsigned int *count, unsigned int startindex) 31 omap_vout_vrfb_buffer_setup(struct omap_vout_device *vout, unsigned int *count, unsigned int startindex) argument
|
/drivers/net/wireless/b43/ |
H A D | sysfs.c | 36 static int get_integer(const char *buf, size_t count) argument 41 if (count == 0) 43 count = min_t(size_t, count, 10); 44 memcpy(tmp, buf, count); 55 ssize_t count = 0; local 69 count = 74 count = 79 count = 89 return count; 92 b43_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | tdls.c | 93 int count = 0; local 110 count++; 113 return count;
|
/drivers/scsi/bnx2i/ |
H A D | bnx2i_sysfs.c | 51 * @count: parameter buffer size 59 const char *buf, size_t count) 79 return count; 107 * @count: parameter buffer size 113 const char *buf, size_t count) 128 return count; 57 bnx2i_set_sq_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 111 bnx2i_set_ccell_info(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/drivers/sh/intc/ |
H A D | userimask.c | 32 const char *buf, size_t count) 55 return count; 30 store_intc_userimask(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
|
/drivers/staging/iio/addac/ |
H A D | adt7316-i2c.c | 53 static int adt7316_i2c_multi_read(void *client, u8 reg, u8 count, u8 *data) argument 58 if (count > ADT7316_REG_MAX_ADDR) 59 count = ADT7316_REG_MAX_ADDR; 61 for (i = 0; i < count; i++) { 72 static int adt7316_i2c_multi_write(void *client, u8 reg, u8 count, u8 *data) argument 77 if (count > ADT7316_REG_MAX_ADDR) 78 count = ADT7316_REG_MAX_ADDR; 80 for (i = 0; i < count; i++) {
|
/drivers/staging/lustre/lustre/libcfs/ |
H A D | fail.c | 83 int count = atomic_inc_return(&cfs_fail_count); local 85 if (count >= cfs_fail_val) { 89 if (count > cfs_fail_val)
|
/drivers/staging/lustre/lustre/mdc/ |
H A D | mdc_internal.h | 175 struct list_head *cancels, int count) 178 count); 173 mdc_prep_elc_req(struct obd_export *exp, struct ptlrpc_request *req, int opc, struct list_head *cancels, int count) argument
|
/drivers/tty/hvc/ |
H A D | hvc_dcc.c | 24 static int hvc_dcc_put_chars(uint32_t vt, const char *buf, int count) argument 28 for (i = 0; i < count; i++) { 35 return count; 38 static int hvc_dcc_get_chars(uint32_t vt, char *buf, int count) argument 42 for (i = 0; i < count; ++i)
|
H A D | hvc_rtas.c | 48 int count) 52 for (i = 0; i < count; i++) { 60 static int hvc_rtas_read_console(uint32_t vtermno, char *buf, int count) argument 64 for (i = 0; i < count; i++) { 47 hvc_rtas_write_console(uint32_t vtermno, const char *buf, int count) argument
|