Searched refs:count (Results 1 - 25 of 2420) sorted by relevance

1234567891011>>

/drivers/tty/
H A Dn_tracesink.h34 void n_tracesink_datadrain(u8 *buf, int count);
/drivers/scsi/pcmcia/
H A Dnsp_io.h70 unsigned long count)
72 insb(BaseAddr + Register, buf, count);
77 unsigned long count)
79 /*nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count=0x%lx", buf, count);*/
80 nsp_multi_read_1(base, FIFODATA, buf, count);
89 unsigned long count)
91 insw(BaseAddr + Register, buf, count);
96 unsigned long count)
98 //nsp_dbg(NSP_DEBUG_DATA_IO, "buf=0x%p, count
67 nsp_multi_read_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
75 nsp_fifo8_read(unsigned int base, void *buf, unsigned long count) argument
86 nsp_multi_read_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
94 nsp_fifo16_read(unsigned int base, void *buf, unsigned long count) argument
105 nsp_multi_read_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
113 nsp_fifo32_read(unsigned int base, void *buf, unsigned long count) argument
124 nsp_multi_write_1(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
132 nsp_fifo8_write(unsigned int base, void *buf, unsigned long count) argument
142 nsp_multi_write_2(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
150 nsp_fifo16_write(unsigned int base, void *buf, unsigned long count) argument
160 nsp_multi_write_4(unsigned int BaseAddr, unsigned int Register, void *buf, unsigned long count) argument
168 nsp_fifo32_write(unsigned int base, void *buf, unsigned long count) argument
219 nsp_mmio_multi_read_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) argument
237 nsp_mmio_fifo32_read(unsigned int base, void *buf, unsigned long count) argument
245 nsp_mmio_multi_write_4(unsigned long base, unsigned int Register, void *buf, unsigned long count) argument
263 nsp_mmio_fifo32_write(unsigned int base, void *buf, unsigned long count) argument
[all...]
/drivers/video/
H A Dfb_sys_fops.c16 ssize_t fb_sys_read(struct fb_info *info, char __user *buf, size_t count, argument
35 if (count >= total_size)
36 count = total_size;
38 if (count + p > total_size)
39 count = total_size - p;
46 if (copy_to_user(buf, src, count))
50 *ppos += count;
52 return (err) ? err : count;
57 size_t count, loff_t *ppos)
75 if (count > total_siz
56 fb_sys_write(struct fb_info *info, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
H A Datafb_utils.h48 static inline void *fb_memclear_small(void *s, size_t count) argument
50 if (!count)
59 : "=a" (s), "=d" (count)
60 : "d" (0), "0" ((char *)s + count), "1" (count));
68 : "=a" (s), "=d" (count)
69 : "d" (0), "0" (s), "1" (count)
77 static inline void *fb_memclear(void *s, size_t count) argument
79 if (!count)
82 if (count < 1
117 fb_memset255(void *s, size_t count) argument
144 fb_memmove(void *d, const void *s, size_t count) argument
[all...]
/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/b43legacy/
H A Dsysfs.c38 static int get_integer(const char *buf, size_t count) argument
43 if (count == 0)
45 count = min(count, (size_t)10);
46 memcpy(tmp, buf, count);
52 static int get_boolean(const char *buf, size_t count) argument
54 if (count != 0) {
59 if (count >= 4 && memcmp(buf, "true", 4) == 0)
61 if (count >= 5 && memcmp(buf, "false", 5) == 0)
63 if (count >
80 ssize_t count = 0; local
109 b43legacy_attr_interfmode_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
162 ssize_t count; local
181 b43legacy_attr_preamble_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]
/drivers/pci/hotplug/
H A Dibmphp_pci.c359 int count; local
372 for (count = 0; address[count]; count++) { /* for 6 BARs */
379 PCI_BASE_ADDRESS_0 + 4 * count, &tmp);
382 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFD);
385 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFF);
387 pci_bus_write_config_dword (ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF);
388 pci_bus_read_config_dword (ibmphp_pci_bus, devfn, address[count], &bar[count]);
566 int count; local
1078 int count, len[6]; local
1226 int count; local
1334 int count; local
1570 int count; local
[all...]
/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/media/dvb/ttpci/
H A Dav7110_ipack.c19 p->count = 0;
55 if (p->count < 10)
58 p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8);
59 p->buf[5] = (u8)((p->count - 6) & 0x00ff);
67 if (ac3_off < p->count)
69 p->count - ac3_off, &ai, 0);
71 nframes = (p->count - off - 3 - ac3_off) /
76 ac3_off += nframes * ai.framesize - p->count;
80 p->func(p->buf, p->count, p->data);
85 p->count
122 write_ipack(struct ipack *p, const u8 *data, int count) argument
145 av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p) argument
[all...]
/drivers/oprofile/
H A Doprofile_files.c31 size_t count, loff_t *offset)
34 buf, count, offset);
39 size_t count, loff_t *offset)
47 retval = oprofilefs_ulong_from_user(&val, buf, count);
55 return count;
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
70 return oprofilefs_ulong_to_user(oprofile_backtrace_depth, buf, count,
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
86 retval = oprofilefs_ulong_from_user(&val, buf, count);
94 return count;
30 timeout_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
38 timeout_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
105 pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
117 cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
129 enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) argument
135 enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
166 dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) argument
[all...]
/drivers/media/common/tuners/
H A Dtuner-types.c73 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
89 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges),
105 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges),
122 .count = ARRAY_SIZE(tuner_philips_secam_ranges),
139 .count = ARRAY_SIZE(tuner_philips_pal_ranges),
156 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
172 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges),
188 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
204 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
215 .count
[all...]
/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_debug.c38 off_t offset, int count,
49 len += snprintf(page + len, count - len,
53 len += snprintf(page + len, count - len,
56 len += snprintf(page + len, count - len,
66 off_t offset, int count,
77 len += snprintf(page + len, count - len,
80 len += snprintf(page + len, count - len,
84 len += snprintf(page + len, count - len, "\nD: %2x > ", n);
86 len += snprintf(page + len, count - len,
90 len += snprintf(page + len, count
37 proc_get_stats_ap(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
65 proc_get_registers_0(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
95 proc_get_registers_1(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
127 proc_get_registers_2(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
159 proc_get_registers_3(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
191 proc_get_registers_4(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
223 proc_get_registers_5(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
255 proc_get_registers_6(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
287 proc_get_registers_7(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
319 proc_get_registers_8(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
347 proc_get_registers_9(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
374 proc_get_registers_a(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
401 proc_get_registers_b(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
428 proc_get_registers_c(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
455 proc_get_registers_d(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
482 proc_get_registers_e(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
510 proc_get_reg_rf_a(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
537 proc_get_reg_rf_b(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
564 proc_get_reg_rf_c(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
591 proc_get_reg_rf_d(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
618 proc_get_cam_register_1(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
659 proc_get_cam_register_2(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
700 proc_get_cam_register_3(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
740 proc_get_stats_tx(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
784 proc_get_stats_rx(char *page, char **start, off_t offset, int count, int *eof, void *data) argument
[all...]
/drivers/acpi/
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/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(count, (size_t) 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/bcma/
H A Dhost_soc.c48 size_t count, u16 offset, u8 reg_width)
56 while (count) {
59 count--;
66 WARN_ON(count & 1);
67 while (count) {
70 count -= 2;
77 WARN_ON(count & 3);
78 while (count) {
81 count -= 4;
92 size_t count, u1
47 bcma_host_soc_block_read(struct bcma_device *core, void *buffer, size_t count, u16 offset, u8 reg_width) argument
90 bcma_host_soc_block_write(struct bcma_device *core, const void *buffer, size_t count, u16 offset, u8 reg_width) argument
[all...]
/drivers/media/video/pvrusb2/
H A Dpvrusb2-debugifc.c33 unsigned int count)
38 for (scnt = 0; scnt < count; scnt++) {
50 unsigned int count)
55 for (scnt = 0; scnt < count; scnt++) {
65 static unsigned int debugifc_isolate_word(const char *buf,unsigned int count, argument
76 scnt = debugifc_count_whitespace(buf,count);
77 consume_cnt += scnt; count -= scnt; buf += scnt;
78 if (!count) goto done;
80 scnt = debugifc_count_nonwhitespace(buf,count);
84 consume_cnt += scnt; count
32 debugifc_count_whitespace(const char *buf, unsigned int count) argument
49 debugifc_count_nonwhitespace(const char *buf, unsigned int count) argument
93 debugifc_parse_unsigned_number(const char *buf,unsigned int count, u32 *num_ptr) argument
119 debugifc_match_keyword(const char *buf,unsigned int count, const char *keyword) argument
195 pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument
305 pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument
[all...]
/drivers/net/wireless/iwmc3200wifi/
H A Dbus.h32 int (*send_chunk)(struct iwm_priv *iwm, u8* buf, int count);
42 static inline int iwm_bus_send_chunk(struct iwm_priv *iwm, u8 *buf, int count) argument
44 return iwm->bus_ops->send_chunk(iwm, buf, count);
/drivers/isdn/hisax/
H A Dhscx_irq.c53 hscx_empty_fifo(struct BCState *bcs, int count) argument
61 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) {
69 bcs->hw.hscx.rcvidx += count;
70 READHSCXFIFO(cs, bcs->hw.hscx.hscx, ptr, count);
76 bcs->hw.hscx.hscx ? 'B' : 'A', count);
77 QuickHex(t, ptr, count);
86 int more, count; local
101 count = fifo_size;
103 count = bcs->tx_skb->len;
107 skb_pull(bcs->tx_skb, count);
129 int count; local
172 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); local
[all...]
H A Djade_irq.c43 jade_empty_fifo(struct BCState *bcs, int count) argument
51 if (bcs->hw.hscx.rcvidx + count > HSCX_BUFMAX) {
59 bcs->hw.hscx.rcvidx += count;
60 READJADEFIFO(cs, bcs->hw.hscx.hscx, ptr, count);
66 bcs->hw.hscx.hscx ? 'B' : 'A', count);
67 QuickHex(t, ptr, count);
76 int more, count; local
91 count = fifo_size;
93 count = bcs->tx_skb->len;
97 skb_pull(bcs->tx_skb, count);
120 int count; local
150 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); local
[all...]
/drivers/staging/android/
H A Dram_console.c32 ram_console_write(struct console *console, const char *s, unsigned int count) argument
35 persistent_ram_write(prz, s, count);
95 ssize_t count; local
107 count = min(len, (size_t)(old_log_size - pos));
108 if (copy_to_user(buf, old_log + pos, count))
115 count = persistent_ram_ecc_string(prz, NULL, 0);
116 if (pos < count) {
117 str = kmalloc(count, GFP_KERNEL);
120 persistent_ram_ecc_string(prz, str, count + 1);
121 count
[all...]
/drivers/tty/hvc/
H A Dhvc_tile.c28 static int hvc_tile_put_chars(uint32_t vt, const char *buf, int count) argument
30 return hv_console_write((HV_VirtAddr)buf, count);
33 static int hvc_tile_get_chars(uint32_t vt, char *buf, int count) argument
37 for (i = 0; i < count; ++i) {
/drivers/clocksource/
H A Di8253.c33 int count; local
44 * before latching the timer count to guarantee that although
45 * the jiffies value might be older than the count (that is,
48 * count), it cannot be newer.
51 outb_p(0x00, PIT_MODE); /* latch the count ASAP */
52 count = inb_p(PIT_CH0); /* read the latched count */
53 count |= inb_p(PIT_CH0) << 8;
55 /* VIA686a test code... reset the latch if count > max + 1 */
56 if (count > PIT_LATC
[all...]
/drivers/parisc/
H A Deisa_eeprom.c51 char __user *buf, size_t count, loff_t *ppos )
60 count = *ppos + count < HPEE_MAX_LENGTH ? count : HPEE_MAX_LENGTH - *ppos;
61 tmp = kmalloc(count, GFP_KERNEL);
63 for (i = 0; i < count; i++)
66 if (copy_to_user (buf, tmp, count))
69 ret = count;
50 eisa_eeprom_read(struct file * file, char __user *buf, size_t count, loff_t *ppos ) argument
/drivers/platform/x86/
H A Dintel_scu_ipcutil.c38 u32 count; /* No. of registers */ member in struct:scu_ipc_data
55 int count = data->count; local
57 if (count == 0 || count == 3 || count > 4)
62 return intel_scu_ipc_readv(data->addr, data->data, count);
64 return intel_scu_ipc_writev(data->addr, data->data, count);
/drivers/staging/wlags49_h2/
H A Dwl_version.h164 #define GET_PACKET(dev, skb, count)\
166 BLOCK_INPUT(skb_put((skb), (count)), (count)); \
168 #define GET_PACKET_DMA(dev, skb, count)\
170 BLOCK_INPUT_DMA(skb_put((skb), (count)), (count)); \

Completed in 729 milliseconds

1234567891011>>