/linux-master/drivers/media/pci/cx25821/ |
H A D | cx25821-i2c.c | 52 int count; local 54 for (count = 0; count < I2C_WAIT_RETRY; count++) { 60 if (I2C_WAIT_RETRY == count)
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtv-fileops.c | 403 static ssize_t ivtv_read_pos(struct ivtv_stream *s, char __user *ubuf, size_t count, argument 406 ssize_t rc = count ? ivtv_read(s, ubuf, count, non_block) : 0; 409 IVTV_DEBUG_HI_FILE("read %zd from %s, got %zd\n", count, s->name, rc); 493 ssize_t ivtv_v4l2_read(struct file * filp, char __user *buf, size_t count, loff_t * pos) argument 500 IVTV_DEBUG_HI_FILE("read %zd bytes from %s\n", count, s->name); 506 rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); 536 static ssize_t ivtv_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) argument 549 IVTV_DEBUG_HI_FILE("write %zd bytes to %s\n", count, s->name); 563 int elems = count / sizeo 708 ivtv_v4l2_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *pos) argument [all...] |
H A D | ivtv-fileops.h | 14 ssize_t ivtv_v4l2_read(struct file *filp, char __user *buf, size_t count, 16 ssize_t ivtv_v4l2_write(struct file *filp, const char __user *buf, size_t count,
|
H A D | ivtv-vbi.h | 14 size_t count);
|
/linux-master/drivers/media/pci/mantis/ |
H A D | mantis_hif.c | 80 u32 hif_addr = 0, data, count = 4; local 90 mmwrite(count, MANTIS_GPIF_BRBYTES);
|
/linux-master/drivers/media/pci/ngene/ |
H A D | ngene-dvb.c | 37 size_t count, loff_t *ppos) 45 (&dev->tsout_rbuf) >= count) < 0) 48 dvb_ringbuffer_write_user(&dev->tsout_rbuf, buf, count); 50 return count; 54 size_t count, loff_t *ppos) 61 left = count; 74 return count; 36 ts_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument 53 ts_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/media/pci/tw5864/ |
H A D | tw5864-h264.c | 44 static void bs_write(struct bs *s, int count, u32 bits) argument 48 while (count > 0) { 49 if (count < 32) 50 bits &= (1 << count) - 1; 51 if (count < s->bits_left) { 52 *s->ptr = (*s->ptr << count) | bits; 53 s->bits_left -= count; 57 (bits >> (count - s->bits_left)); 58 count -= s->bits_left;
|
/linux-master/drivers/media/radio/ |
H A D | radio-cadet.c | 326 static ssize_t cadet_read(struct file *file, char __user *data, size_t count, loff_t *ppos) argument 344 while (i < count && dev->rdsin != dev->rdsout)
|
/linux-master/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 460 size_t count, loff_t *ppos) 483 /* calculate block count from byte count */ 484 count /= 3; 487 while (block_count < count) { 459 si470x_fops_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.c | 33 size_t count, loff_t *ppos) 65 ret = fmc_transfer_rds_from_internal_buff(fmdev, file, buf, count); 73 size_t count, loff_t *ppos) 32 fm_v4l2_fops_read(struct file *file, char __user * buf, size_t count, loff_t *ppos) argument 72 fm_v4l2_fops_write(struct file *file, const char __user * buf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/media/usb/as102/ |
H A D | as102_fw.c | 44 int count = 0; local 56 switch (count) { 76 addr[(count - 4)] = dst; 78 data[(count - 4)] = dst; 81 data[(count - 4)] = dst; 84 count++; 88 return (count * 2) + 2;
|
/linux-master/drivers/media/usb/au0828/ |
H A D | au0828.h | 321 unsigned int count);
|
/linux-master/drivers/media/usb/dvb-usb-v2/ |
H A D | mxl111sf-demod.c | 310 /* resets TS Packet error count */ 324 /* returns TS Packet error count */ 365 #define CALCULATE_BER(avg_errors, count) \ 366 ((u32)(avg_errors * 4)/(count*64*188*8)) 370 #define CALCULATE_BER(avg_errors, count) 0
|
H A D | mxl111sf-i2c.c | 382 u8 count, u8 *rbuf) 390 mxl_i2c("read %d bytes", count); 401 for (i = 0; i < count; i++) { 413 for (i = 0; i < count; i++) { 381 mxl111sf_i2c_readagain(struct mxl111sf_state *state, u8 count, u8 *rbuf) argument
|
H A D | usb_urb.c | 141 for (i = 0; i < stream->props.count; i++) { 168 for (i = 0; i < stream->props.count; i++) { 269 if (stream->buf_num < props->count || stream->buf_size < buf_size) { 278 stream->props.count == props->count && 325 ret = usb_alloc_stream_buffers(stream, stream->props.count, 332 ret = usb_alloc_stream_buffers(stream, stream->props.count,
|
/linux-master/drivers/media/usb/dvb-usb/ |
H A D | usb-urb.c | 142 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, 147 for (i = 0; i < stream->props.count; i++) { 172 if ((i = usb_allocate_stream_buffers(stream,stream->props.count, 177 for (i = 0; i < stream->props.count; i++) {
|
/linux-master/drivers/media/usb/gspca/ |
H A D | topro.c | 1075 int count, actual_count, ret; local 1080 count = length > BULK_OUT_SIZE - 1 1083 memcpy(&gspca_dev->usb_buf[1], data, count); 1086 gspca_dev->usb_buf, count + 1, 1094 length -= count; 1097 data += count;
|
/linux-master/drivers/media/usb/hdpvr/ |
H A D | hdpvr.h | 324 int hdpvr_alloc_buffers(struct hdpvr_device *dev, uint count);
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-debugifc.c | 19 unsigned int count) 24 for (scnt = 0; scnt < count; scnt++) { 36 unsigned int count) 41 for (scnt = 0; scnt < count; scnt++) { 51 static unsigned int debugifc_isolate_word(const char *buf,unsigned int count, argument 62 scnt = debugifc_count_whitespace(buf,count); 63 consume_cnt += scnt; count -= scnt; buf += scnt; 64 if (!count) goto done; 66 scnt = debugifc_count_nonwhitespace(buf,count); 70 consume_cnt += scnt; count 18 debugifc_count_whitespace(const char *buf, unsigned int count) argument 35 debugifc_count_nonwhitespace(const char *buf, unsigned int count) argument 79 debugifc_parse_unsigned_number(const char *buf,unsigned int count, u32 *num_ptr) argument 105 debugifc_match_keyword(const char *buf,unsigned int count, const char *keyword) argument 179 pvr2_debugifc_do1cmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument 289 pvr2_debugifc_docmd(struct pvr2_hdw *hdw,const char *buf, unsigned int count) argument [all...] |
H A D | pvrusb2-hdw-internal.h | 104 unsigned int count; /* enum value count */ member in struct:pvr2_ctl_info::__anon381::__anon383
|
/linux-master/drivers/mfd/ |
H A D | 88pm860x-i2c.c | 45 int count, unsigned char *buf) 52 ret = regmap_raw_read(map, reg, buf, count); 58 int count, unsigned char *buf) 65 ret = regmap_raw_write(map, reg, buf, count); 159 int count, unsigned char *buf) 168 ret = read_device(i2c, reg, count, buf); 44 pm860x_bulk_read(struct i2c_client *i2c, int reg, int count, unsigned char *buf) argument 57 pm860x_bulk_write(struct i2c_client *i2c, int reg, int count, unsigned char *buf) argument 158 pm860x_page_bulk_read(struct i2c_client *i2c, int reg, int count, unsigned char *buf) argument
|
/linux-master/drivers/misc/altera-stapl/ |
H A D | altera-jtag.c | 117 u32 count, u32 start_index, 124 if (count > js->dr_pre) { 126 js->dr_pre_data = (u8 *)alt_malloc((count + 7) >> 3); 130 js->dr_pre = count; 132 js->dr_pre = count; 135 for (i = 0; i < count; ++i) { 155 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, argument 162 if (count > js->ir_pre) { 164 js->ir_pre_data = (u8 *)alt_malloc((count + 7) >> 3); 168 js->ir_pre = count; 116 altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index, u8 *preamble_data) argument 193 altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, u8 *postamble_data) argument 233 altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, u8 *postamble_data) argument 290 int count = 0; local 343 s32 count; local 434 alt_jtag_drscan(struct altera_state *astate, int start_state, int count, u8 *tdi, u8 *tdo) argument 495 alt_jtag_irscan(struct altera_state *astate, int start_state, int count, u8 *tdi, u8 *tdo) argument 583 altera_irscan(struct altera_state *astate, u32 count, u8 *tdi_data, u32 start_index) argument 680 altera_swap_ir(struct altera_state *astate, u32 count, u8 *in_data, u32 in_index, u8 *out_data, u32 out_index) argument 786 altera_drscan(struct altera_state *astate, u32 count, u8 *tdi_data, u32 start_index) argument 878 altera_swap_dr(struct altera_state *astate, u32 count, u8 *in_data, u32 in_index, u8 *out_data, u32 out_index) argument [all...] |
H A D | altera-jtag.h | 73 int altera_set_dr_pre(struct altera_jtag *js, u32 count, u32 start_index, 75 int altera_set_ir_pre(struct altera_jtag *js, u32 count, u32 start_index, 77 int altera_set_dr_post(struct altera_jtag *js, u32 count, u32 start_index, 79 int altera_set_ir_post(struct altera_jtag *js, u32 count, u32 start_index, 87 int altera_irscan(struct altera_state *astate, u32 count, 90 u32 count, u8 *in_data, 93 int altera_drscan(struct altera_state *astate, u32 count, 95 int altera_swap_dr(struct altera_state *astate, u32 count,
|
/linux-master/drivers/misc/ |
H A D | dummy-irq.c | 22 static int count = 0; local 24 if (count == 0) { 27 count++;
|
/linux-master/drivers/mtd/devices/ |
H A D | slram.c | 310 int count; local 313 for (count = 0; count < SLRAM_MAX_DEVICES_PARAMS && map[count]; 314 count++) { 317 if ((count % 3 != 0) || (count == 0)) { 321 for (i = 0; i < (count / 3); i++) {
|