/drivers/acpi/ |
H A D | utils.c | 70 || (package->package.count < 1)) { 86 if (format_count > package->package.count) { 89 format_count, package->package.count); 332 if (!package->package.count) { 340 if (package->package.count > ACPI_MAX_HANDLES) { 343 list->count = package->package.count; 347 for (i = 0; i < list->count; i++) { 375 list->count = 0;
|
/drivers/char/ |
H A D | msm_smd_pkt.c | 112 size_t count, loff_t *ppos) 118 DBG("read %d bytes\n", count); 119 if (count > MAX_BUF_SIZE) 149 if (bytes_read > count) { 151 pr_info("packet size %d > buffer size %d", bytes_read, count); 177 size_t count, loff_t *ppos) 182 if (count > MAX_BUF_SIZE) 185 DBG("writting %d bytes\n", count); 192 if (smd_write_avail(smd_pkt_devp->ch) < count) { 198 D_DUMP_BUFFER("write: ", count, bu 111 smd_pkt_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 176 smd_pkt_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/drivers/cpufreq/ |
H A D | freq_table.c | 59 unsigned int count = 0; local 75 count++; 80 if (!count) 182 ssize_t count = 0; local 193 count += sprintf(&buf[count], "%d ", table[i].frequency); 195 count += sprintf(&buf[count], "\n"); 197 return count;
|
/drivers/infiniband/hw/ehca/ |
H A D | ehca_uverbs.c | 73 u32 *count = (u32 *)vma->vm_private_data; local 74 if (!count) { 79 (*count)++; 80 if (!(*count)) 81 ehca_gen_err("Use count overflow vm_start=%lx vm_end=%lx", 83 ehca_gen_dbg("vm_start=%lx vm_end=%lx count=%x", 84 vma->vm_start, vma->vm_end, *count); 89 u32 *count = (u32 *)vma->vm_private_data; local 90 if (!count) { 95 (*count) [all...] |
/drivers/input/touchscreen/ |
H A D | ad7879.h | 20 int (*multi_read)(struct device *dev, u8 first_reg, u8 count, u16 *buf);
|
/drivers/isdn/hardware/eicon/ |
H A D | dqueue.h | 13 int count; member in struct:_diva_um_idi_data_queue
|
/drivers/media/rc/ |
H A D | ir-rc6-decoder.c | 124 data->count = 0; 145 data->count++; 153 if (data->count == RC6_HEADER_NBITS) 181 data->count = 0; 200 if (data->count++ < CHAR_BIT * sizeof data->body) { 218 if (data->count == data->wanted_bits) 238 if (data->count > CHAR_BIT * sizeof data->body) { 240 data->count); 245 if (data->count == RC6_6A_32_NBITS &&
|
/drivers/net/ethernet/8390/ |
H A D | hp-plus.c | 103 static void hpp_mem_block_input(struct net_device *dev, int count, 105 static void hpp_mem_block_output(struct net_device *dev, int count, 109 static void hpp_io_block_input(struct net_device *dev, int count, 111 static void hpp_io_block_output(struct net_device *dev, int count, 372 hpp_io_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument 378 insw(ioaddr + HP_DATAPORT, buf, count>>1); 379 if (count & 0x01) 380 buf[count-1] = inw(ioaddr + HP_DATAPORT); 395 hdr->count = (le16_to_cpu(hdr->count) 399 hpp_mem_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument 419 hpp_io_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument 428 hpp_mem_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument [all...] |
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_osdep.h | 48 #define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \ 49 (iowrite16_rep(base + offset, data, count)) 51 #define GBE_CONFIG_FLASH_READ(base, offset, count, data) \ 52 (ioread16_rep(base + (offset << 1), data, count))
|
/drivers/net/wireless/b43/ |
H A D | debugfs.c | 45 int (*write)(struct b43_wldev *dev, const char *buf, size_t count); 66 if (bufsize - count) \ 67 count += snprintf(buf + count, \ 68 bufsize - count, \ 82 ssize_t count = 0; local 95 return count; 99 const char *buf, size_t count) 123 const char *buf, size_t count) 158 ssize_t count local 98 shm16read__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 122 shm16write__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 174 shm32read__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 198 shm32write__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 237 ssize_t count = 0; local 251 mmio16read__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 270 mmio16write__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 301 ssize_t count = 0; local 315 mmio32read__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 334 mmio32write__write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 366 ssize_t count = 0; local 407 restart_write_file(struct b43_wldev *dev, const char *buf, size_t count) argument 441 ssize_t count = 0; local 509 b43_debugfs_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument 571 b43_debugfs_write(struct file *file, const char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
/drivers/net/wireless/bcmdhd/include/ |
H A D | msgtrace.h | 67 extern void msgtrace_put(char *buf, int count);
|
/drivers/scsi/fnic/ |
H A D | vnic_resource.h | 58 u32 count; member in struct:vnic_resource
|
/drivers/staging/cxt1e1/ |
H A D | pmc93x6_eeprom.c | 165 eeprom_put_byte (long addr, long data, int count) argument 169 while (--count >= 0) 194 int count; local 205 count = NUM_OF_BITS; 206 while (--count >= 0) 306 int count; local 348 count = 1000; 349 while (count--) 358 if (count == -1)
|
/drivers/staging/iio/magnetometer/ |
H A D | hmc5843.c | 195 size_t count) 207 count = error; 212 count = -EINVAL; 219 count = -EINVAL; 226 return count; 271 size_t count) 284 count = -EINVAL; 291 return count; 331 const char *buf, size_t count) 359 count 192 hmc5843_set_operating_mode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 268 hmc5843_set_measurement_configuration(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 329 set_sampling_frequency(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 414 set_range(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/drivers/staging/tidspbridge/include/dspbridge/ |
H A D | mgr.h | 32 * count : number of elements in above array 43 u32 count, u32 *pu_index, 160 * Decrement reference count, and free resources when reference count is 167 * When reference count == 0, MGR's private resources are freed. 194 * Initialize MGR's private state, keeping a reference count on each
|
/drivers/usb/serial/ |
H A D | console.c | 129 ++port->port.count; 178 * the tty port count */ 179 --port->port.count; 192 port->port.count = 0; 201 const char *buf, unsigned count) 212 if (count == 0) 215 dbg("%s - port %d, %d byte(s)", __func__, port->number, count); 222 while (count) { 226 for (i = 0, lf = 0 ; i < count ; i++) { 252 count 200 usb_console_write(struct console *co, const char *buf, unsigned count) argument [all...] |
/drivers/video/console/ |
H A D | mdacon.c | 202 int count=0; local 213 scr_writew(0xAA55, p); if (scr_readw(p) == 0xAA55) count++; 214 scr_writew(0x55AA, p); if (scr_readw(p) == 0x55AA) count++; 217 if (count != 2) { 224 if (scr_readw(q) == 0xA55A) count++; 227 if (scr_readw(q) == 0x5AA5) count++; 231 if (count == 4) { 260 for (count=0; count < 50000 && p_save == q_save; count 405 mdacon_invert_region(struct vc_data *c, u16 *p, int count) argument 420 mdacon_putcs(struct vc_data *c, const unsigned short *s, int count, int y, int x) argument [all...] |
/drivers/staging/android/ |
H A D | logger.c | 159 * do_read_log_to_user - reads exactly 'count' bytes from 'log' into the 160 * user-space buffer 'buf'. Returns 'count' on success. 167 size_t count) 182 count -= get_user_hdr_len(reader->r_ver); 188 * the current msg head offset up to 'count' bytes or to the end of 191 len = min(count, log->size - msg_start); 199 if (count != len) 200 if (copy_to_user(buf + len, log->buffer, count - len)) 204 sizeof(struct logger_entry) + count); 206 return count 164 do_read_log_to_user(struct logger_log *log, struct logger_reader *reader, char __user *buf, size_t count) argument 245 logger_read(struct file *file, char __user *buf, size_t count, loff_t *pos) argument 317 size_t count = 0; local 373 do_write_log(struct logger_log *log, const void *buf, size_t count) argument 395 do_write_log_from_user(struct logger_log *log, const void __user *buf, size_t count) argument [all...] |
/drivers/input/tablet/ |
H A D | aiptek.c | 27 * v1.0 - Added support for diagnostic messages, count of messages 319 unsigned long eventCount; /* event count */ 374 static int map_str_to_val(const struct aiptek_map *map, const char *str, size_t count) argument 378 if (str[count - 1] == '\n') 379 count--; 382 if (!strncmp(str, p->string, count)) 1086 store_tabletPointerMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1089 int new_mode = map_str_to_val(pointer_mode_map, buf, count); 1095 return count; 1123 store_tabletCoordinateMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1165 store_tabletToolMode(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1198 store_tabletXtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1240 store_tabletYtilt(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1277 store_tabletJitterDelay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1307 store_tabletProgrammableDelay(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1397 store_tabletStylusUpper(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1428 store_tabletStylusLower(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1466 store_tabletMouseLeft(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1496 store_tabletMouseMiddle(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1526 store_tabletMouseRight(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1559 store_tabletWheel(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1589 store_tabletExecute(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument [all...] |
/drivers/scsi/ |
H A D | scsi_transport_fc.c | 705 const char *buf, size_t count) \ 720 return count; \ 778 i->private_rport_attrs[count] = device_attr_rport_##field; \ 779 i->private_rport_attrs[count].attr.mode = S_IRUGO; \ 780 i->private_rport_attrs[count].store = NULL; \ 781 i->rport_attrs[count] = &i->private_rport_attrs[count]; \ 783 count++ 786 i->private_rport_attrs[count] = device_attr_rport_##field; \ 787 i->private_rport_attrs[count] 879 store_fc_rport_dev_loss_tmo(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 956 store_fc_rport_fast_io_fail_tmo(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1265 store_fc_vport_delete(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1292 store_fc_vport_disable(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1586 store_fc_private_host_tgtid_bind_type(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1619 store_fc_private_host_issue_lip(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1639 store_fc_private_host_dev_loss_tmo(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1728 fc_reset_statistics(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1814 store_fc_host_vport_create(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 1861 store_fc_host_vport_delete(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument 2138 int count; local [all...] |
/drivers/media/dvb/frontends/ |
H A D | dvb-pll.c | 68 int count; member in struct:dvb_pll_desc 86 .count = 4, 109 .count = 5, 125 .count = 5, 140 .count = 9, 162 .count = 3, 176 .count = 4, 202 .count = 12, 234 .count = 3, 259 .count [all...] |
/drivers/net/arcnet/ |
H A D | com90xx.c | 64 void *buf, int count); 66 void *buf, int count); 117 int count, status, ioaddr, numprint, airq, openparen = 0; local 148 for (count = 0x200; count <= 0x3f0; count += 16) 149 ports[numports++] = count; 153 for (count = 0xA0000; count <= 0xFF800; count 623 com90xx_copy_to_card(struct net_device *dev, int bufnum, int offset, void *buf, int count) argument 632 com90xx_copy_from_card(struct net_device *dev, int bufnum, int offset, void *buf, int count) argument 657 int count; local [all...] |
/drivers/net/ppp/ |
H A D | ppp_synctty.c | 100 char *flags, int count); 111 ppp_print_hex (register __u8 * out, const __u8 * in, int count) argument 116 while (count-- > 0) { 125 ppp_print_char (register __u8 * out, const __u8 * in, int count) argument 129 while (count-- > 0) { 144 ppp_print_buffer (const char *name, const __u8 *buf, int count) argument 149 printk(KERN_DEBUG "ppp_synctty: %s, count = %d\n", name, count); 151 while (count > 8) { 156 count 311 ppp_sync_read(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t count) argument 322 ppp_sync_write(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t count) argument 386 ppp_sync_receive(struct tty_struct *tty, const unsigned char *buf, char *cflags, int count) argument 719 ppp_sync_input(struct syncppp *ap, const unsigned char *buf, char *flags, int count) argument [all...] |
/drivers/video/ |
H A D | epson1355fb.c | 394 epson1355fb_read(struct fb_info *info, char *buf, size_t count, loff_t * ppos) argument 400 if (count >= info->fix.smem_len) 401 count = info->fix.smem_len; 402 if (count + p > info->fix.smem_len) 403 count = info->fix.smem_len - p; 405 if (count) { 409 count -= copy_to_user16(buf, base_addr + p, count); 410 if (!count) 412 *ppos += count; 418 epson1355fb_write(struct fb_info *info, const char *buf, size_t count, loff_t * ppos) argument [all...] |
/drivers/media/dvb/ttpci/ |
H A D | av7110_hw.h | 380 int addr, u32 val, int count); 382 int addr, int count); 387 static inline void iwdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count) argument 389 av7110_debiwrite(av7110, config, addr, val, count); 394 const u8 *val, int count) 396 memcpy(av7110->debi_virt, val, count); 397 av7110_debiwrite(av7110, config, addr, 0, count); 400 static inline u32 irdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count) argument 404 res=av7110_debiread(av7110, config, addr, count); 405 if (count< 393 mwdebi(struct av7110 *av7110, u32 config, int addr, const u8 *val, int count) argument 411 wdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count) argument 420 rdebi(struct av7110 *av7110, u32 config, int addr, u32 val, int count) argument [all...] |