Searched defs:count (Results 1 - 25 of 2553) sorted by relevance

1234567891011>>

/drivers/infiniband/hw/qib/
H A Dqib_pio_copy.c39 * @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 Ddummy-irq.c26 static int count = 0; local
28 if (count == 0) {
31 count++;
H A Dti_dac7512.c28 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 Dnwbutton.h22 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 Dfw.c37 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 Dacpi_platform.c51 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 Dcustom_method.c23 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 Dutbuffer.c55 * 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 Dclksrc-dbx500-prcmu.c35 u32 count, count2; local
38 count = readl_relaxed(base + PRCMU_TIMER_DOWNCOUNT);
40 } while (count2 != count);
43 return ~count;
/drivers/gpu/drm/
H A Ddrm_flip_work.c60 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 Dm68kspkr.c32 unsigned int count = 0; local
44 count = 1193182 / value;
46 mach_beep(count, -1);
H A Dpcspkr.c30 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 Dproc.c27 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 Ddqueue.h13 int count; member in struct:_diva_um_idi_data_queue
/drivers/media/pci/cx18/
H A Dcx18-io.c27 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 Domap_vout_vrfb.h21 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 Dsysfs.c36 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 Dtdls.c93 int count = 0; local
110 count++;
113 return count;
/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c51 * @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 Duserimask.c32 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 Dadt7316-i2c.c53 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 Dfail.c83 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 Dmdc_internal.h175 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 Dhvc_dcc.c24 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 Dhvc_rtas.c48 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

Completed in 4192 milliseconds

1234567891011>>