/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 207 pdev->frame_size = (pdev->width * pdev->height * 3) / 2; in set_video_mode_Nala() 211 pdev->frame_size /= 4; in set_video_mode_Nala() 215 pdev->frame_size /= 3; in set_video_mode_Nala() 272 pdev->frame_size = (pChoose->bandlength * pdev->height) / 4; in set_video_mode_Timon() 274 pdev->frame_size = (pdev->width * pdev->height * 12) / 8; in set_video_mode_Timon() 322 pdev->frame_size = (pdev->vbandlength * pdev->height) / 4; in set_video_mode_Kiara() 324 pdev->frame_size = (pdev->width * pdev->height * 12) / 8; in set_video_mode_Kiara() 326 pdev->frame_size, pdev->vframes, size, pdev->vbandlength); in set_video_mode_Kiara() 354 pdev->frame_total_size = pdev->frame_size + pdev->frame_header_size + pdev->frame_trailer_size; in pwc_set_video_mode()
|
D | pwc-uncompress.c | 57 memcpy(raw_frame+1, yuv, pdev->frame_size); in pwc_decompress() 59 pdev->frame_size + sizeof(struct pwc_raw_frame)); in pwc_decompress()
|
/drivers/media/pci/cx25821/ |
D | cx25821-video-upstream.c | 184 int frame_size = 0; in cx25821_risc_buffer_upstream() local 194 frame_size = (bpl == Y411_LINE_SZ) ? in cx25821_risc_buffer_upstream() 198 frame_size = (bpl == Y411_LINE_SZ) ? in cx25821_risc_buffer_upstream() 206 databuf_offset = frame_size * frame; in cx25821_risc_buffer_upstream() 311 int frame_size = 0; in cx25821_write_frame() local 316 frame_size = (line_size == Y411_LINE_SZ) ? in cx25821_write_frame() 319 frame_size = (line_size == Y411_LINE_SZ) ? in cx25821_write_frame() 329 frame_offset = out->cur_frame_index ? frame_size : 0; in cx25821_write_frame() 331 if (frame_size - curpos < count) in cx25821_write_frame() 332 count = frame_size - curpos; in cx25821_write_frame() [all …]
|
D | cx25821-audio-upstream.c | 143 int frame_size = AUDIO_DATA_BUF_SZ; in cx25821_risc_buffer_upstream_audio() local 155 databuf_offset = frame_size * frame; in cx25821_risc_buffer_upstream_audio() 265 int frame_size = AUDIO_DATA_BUF_SZ; in cx25821_get_audio_data() local 266 int frame_offset = frame_size * frame_index_temp; in cx25821_get_audio_data() 268 loff_t file_offset = dev->_audioframe_count * frame_size; in cx25821_get_audio_data()
|
/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_ethtool.c | 506 unsigned int frame_size) in ql_create_lb_frame() argument 508 memset(skb->data, 0xFF, frame_size); in ql_create_lb_frame() 509 frame_size &= ~1; in ql_create_lb_frame() 510 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in ql_create_lb_frame() 511 memset(&skb->data[frame_size / 2 + 10], 0xBE, 1); in ql_create_lb_frame() 512 memset(&skb->data[frame_size / 2 + 12], 0xAF, 1); in ql_create_lb_frame() 518 unsigned int frame_size = skb->len; in ql_check_lb_frame() local 521 (*(skb->data + frame_size / 2 + 10) == 0xBE) && in ql_check_lb_frame() 522 (*(skb->data + frame_size / 2 + 12) == 0xAF)) { in ql_check_lb_frame()
|
/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 400 u16 frame_size = le16_to_cpu( in flexcop_usb_transfer_init() local 403 frame_size, i, j, ret; in flexcop_usb_transfer_init() 408 B2C2_USB_FRAMES_PER_ISO, frame_size, bufsize); in flexcop_usb_transfer_init() 442 urb->transfer_buffer_length = frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init() 445 buffer_offset += frame_size * B2C2_USB_FRAMES_PER_ISO; in flexcop_usb_transfer_init() 450 urb->iso_frame_desc[j].length = frame_size; in flexcop_usb_transfer_init() 451 frame_offset += frame_size; in flexcop_usb_transfer_init()
|
/drivers/media/platform/davinci/ |
D | vpss.c | 387 void vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size) in vpss_set_pg_frame_size() argument 392 oper_cfg.hw_ops.set_pg_frame_size(frame_size); in vpss_set_pg_frame_size() 396 void dm365_vpss_set_pg_frame_size(struct vpss_pg_frame_size frame_size) in dm365_vpss_set_pg_frame_size() argument 398 int current_reg = ((frame_size.hlpfr >> 1) - 1) << 16; in dm365_vpss_set_pg_frame_size() 400 current_reg |= (frame_size.pplen - 1); in dm365_vpss_set_pg_frame_size()
|
D | isif.c | 548 struct vpss_pg_frame_size frame_size; in isif_config_raw() local 696 frame_size.hlpfr = isif_cfg.bayer.win.width; in isif_config_raw() 697 frame_size.pplen = isif_cfg.bayer.win.height; in isif_config_raw() 698 dm365_vpss_set_pg_frame_size(frame_size); in isif_config_raw() 893 struct vpss_pg_frame_size frame_size; in isif_config_ycbcr() local 988 dm365_vpss_set_pg_frame_size(frame_size); in isif_config_ycbcr()
|
/drivers/video/omap/ |
D | lcdc.c | 672 int frame_size; in alloc_fbmem() local 678 frame_size = PAGE_ALIGN(panel->x_res * bpp / 8 * panel->y_res); in alloc_fbmem() 679 if (region->size > frame_size) in alloc_fbmem() 680 frame_size = region->size; in alloc_fbmem() 681 lcdc.vram_size = frame_size; in alloc_fbmem() 688 region->size = frame_size; in alloc_fbmem()
|
/drivers/input/touchscreen/ |
D | atmel_mxt_ts.c | 386 const u8 *data, unsigned int frame_size) in mxt_fw_write() argument 388 if (i2c_master_send(client, data, frame_size) != frame_size) { in mxt_fw_write() 984 unsigned int frame_size; in mxt_load_fw() local 1018 frame_size = ((*(fw->data + pos) << 8) | *(fw->data + pos + 1)); in mxt_load_fw() 1023 frame_size += 2; in mxt_load_fw() 1026 mxt_fw_write(client, fw->data + pos, frame_size); in mxt_load_fw() 1033 pos += frame_size; in mxt_load_fw()
|
/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 360 && fb->v4lbuf.bytesused != dev->frame_size) { in stk_isoc_handler() 367 } else if (fb->v4lbuf.bytesused == dev->frame_size) { in stk_isoc_handler() 388 if (framelen + fb->v4lbuf.bytesused > dev->frame_size) { in stk_isoc_handler() 514 buf->v4lbuf.length = PAGE_ALIGN(dev->frame_size); in stk_setup_siobuf() 683 if (count + *f_pos > dev->frame_size) in stk_read() 684 count = dev->frame_size - *f_pos; in stk_read() 699 if (*f_pos >= dev->frame_size) { in stk_read() 1030 dev->frame_size = fmtd->fmt.pix.sizeimage; in stk_vidioc_s_fmt_vid_cap() 1360 dev->frame_size = 640 * 480 * 2; in stk_camera_probe()
|
D | stk-webcam.h | 119 int frame_size; member
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1388 unsigned int frame_size) in e1000_create_lbtest_frame() argument 1390 memset(skb->data, 0xFF, frame_size); in e1000_create_lbtest_frame() 1391 frame_size &= ~1; in e1000_create_lbtest_frame() 1392 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in e1000_create_lbtest_frame() 1393 memset(&skb->data[frame_size / 2 + 10], 0xBE, 1); in e1000_create_lbtest_frame() 1394 memset(&skb->data[frame_size / 2 + 12], 0xAF, 1); in e1000_create_lbtest_frame() 1398 unsigned int frame_size) in e1000_check_lbtest_frame() argument 1400 frame_size &= ~1; in e1000_check_lbtest_frame() 1402 if ((*(skb->data + frame_size / 2 + 10) == 0xBE) && in e1000_check_lbtest_frame() 1403 (*(skb->data + frame_size / 2 + 12) == 0xAF)) { in e1000_check_lbtest_frame()
|
/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 1551 unsigned int frame_size) in e1000_create_lbtest_frame() argument 1553 memset(skb->data, 0xFF, frame_size); in e1000_create_lbtest_frame() 1554 frame_size &= ~1; in e1000_create_lbtest_frame() 1555 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in e1000_create_lbtest_frame() 1556 memset(&skb->data[frame_size / 2 + 10], 0xBE, 1); in e1000_create_lbtest_frame() 1557 memset(&skb->data[frame_size / 2 + 12], 0xAF, 1); in e1000_create_lbtest_frame() 1561 unsigned int frame_size) in e1000_check_lbtest_frame() argument 1563 frame_size &= ~1; in e1000_check_lbtest_frame() 1565 if ((*(skb->data + frame_size / 2 + 10) == 0xBE) && in e1000_check_lbtest_frame() 1566 (*(skb->data + frame_size / 2 + 12) == 0xAF)) in e1000_check_lbtest_frame()
|
/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 1063 const struct s5c73m3_frame_size *frame_size = NULL; in s5c73m3_set_fmt() local 1070 s5c73m3_try_format(state, fh, fmt, &frame_size); in s5c73m3_set_fmt() 1078 state->sensor_pix_size[RES_ISP] = frame_size; in s5c73m3_set_fmt() 1081 state->sensor_pix_size[RES_JPEG] = frame_size; in s5c73m3_set_fmt() 1102 const struct s5c73m3_frame_size *frame_size = NULL; in s5c73m3_oif_set_fmt() local 1109 s5c73m3_oif_try_format(state, fh, fmt, &frame_size); in s5c73m3_oif_set_fmt() 1117 state->oif_pix_size[RES_ISP] = frame_size; in s5c73m3_oif_set_fmt() 1120 state->oif_pix_size[RES_JPEG] = frame_size; in s5c73m3_oif_set_fmt()
|
/drivers/net/wireless/prism54/ |
D | islpci_eth.c | 83 int frame_size; in islpci_eth_transmit() local 207 frame_size = skb->len; in islpci_eth_transmit() 208 fragment->size = cpu_to_le16(frame_size); in islpci_eth_transmit()
|
/drivers/media/i2c/ |
D | ov9650.c | 264 const struct ov965x_framesize *frame_size; member 571 if (WARN_ON(!ctrl || !ov965x->frame_size)) { in ov965x_update_exposure_ctrl() 581 max = ov965x->frame_size->max_exp_lines * trow; in ov965x_update_exposure_ctrl() 621 ov965x->frame_size->max_exp_lines) / in ov965x_set_banding_filter() 1241 ov965x->frame_size = size; in ov965x_set_fmt() 1269 ov965x->frame_size->regs[i]); in ov965x_set_frame_size() 1513 ov965x->frame_size = &ov965x_framesizes[0]; in ov965x_probe()
|
/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 1180 u16 frame_size = (d->udev->speed == USB_SPEED_FULL ? 5 : 87) * 188 / 4; in af9035_init() local 1190 { 0x00dd88, (frame_size >> 0) & 0xff, 0xff}, in af9035_init() 1191 { 0x00dd89, (frame_size >> 8) & 0xff, 0xff}, in af9035_init() 1194 { 0x00dd8a, (frame_size >> 0) & 0xff, 0xff}, in af9035_init() 1195 { 0x00dd8b, (frame_size >> 8) & 0xff, 0xff}, in af9035_init() 1205 d->udev->speed, frame_size, packet_size); in af9035_init()
|
D | af9015.c | 1058 u16 frame_size; in af9015_init_endpoint() local 1063 frame_size = TS_USB11_FRAME_SIZE/4; in af9015_init_endpoint() 1066 frame_size = TS_USB20_FRAME_SIZE/4; in af9015_init_endpoint() 1099 ret = af9015_write_reg(d, 0xdd88, frame_size & 0xff); in af9015_init_endpoint() 1102 ret = af9015_write_reg(d, 0xdd89, frame_size >> 8); in af9015_init_endpoint() 1106 ret = af9015_write_reg(d, 0xdd8a, frame_size & 0xff); in af9015_init_endpoint() 1109 ret = af9015_write_reg(d, 0xdd8b, frame_size >> 8); in af9015_init_endpoint()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | main.c | 102 u8 *beacon, u32 frame_size) in iwl_set_beacon_tim() argument 114 while ((tim_idx < (frame_size - 2)) && in iwl_set_beacon_tim() 119 if ((tim_idx < (frame_size - 1)) && (beacon[tim_idx] == WLAN_EID_TIM)) { in iwl_set_beacon_tim() 134 u32 frame_size; in iwlagn_send_beacon_cmd() local 160 frame_size = priv->beacon_skb->len; in iwlagn_send_beacon_cmd() 163 tx_beacon_cmd->tx.len = cpu_to_le16((u16)frame_size); in iwlagn_send_beacon_cmd() 171 frame_size); in iwlagn_send_beacon_cmd() 204 cmd.len[1] = frame_size; in iwlagn_send_beacon_cmd()
|
/drivers/staging/media/solo6x10/ |
D | solo6x10-v4l2-enc.c | 438 int frame_size; in solo_fill_jpeg() local 450 frame_size = (vh->jpeg_size + solo_enc->jpeg_len + (DMA_ALIGN - 1)) in solo_fill_jpeg() 457 frame_size, SOLO_JPEG_EXT_ADDR(solo_dev), in solo_fill_jpeg() 469 int frame_off, frame_size; in solo_fill_mpeg() local 494 frame_size = (vh->mpeg_size + skip + (DMA_ALIGN - 1)) in solo_fill_mpeg() 499 ret = solo_send_desc(solo_enc, skip, vbuf, frame_off, frame_size, in solo_fill_mpeg()
|
/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 359 f->fmt.pix.sizeimage = cam->frame_size; in cpia2_try_fmt_vid_cap() 470 f->fmt.pix.sizeimage = cam->frame_size; in cpia2_g_fmt_vid_cap() 819 buf->length = cam->frame_size; in cpia2_querybuf() 954 buf->length = cam->frame_size; in cpia2_dqbuf() 1031 cam->frame_size = buffer_size; in reset_camera_struct_v4l()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 1742 unsigned int frame_size) in igb_create_lbtest_frame() argument 1744 memset(skb->data, 0xFF, frame_size); in igb_create_lbtest_frame() 1745 frame_size /= 2; in igb_create_lbtest_frame() 1746 memset(&skb->data[frame_size], 0xAA, frame_size - 1); in igb_create_lbtest_frame() 1747 memset(&skb->data[frame_size + 10], 0xBE, 1); in igb_create_lbtest_frame() 1748 memset(&skb->data[frame_size + 12], 0xAF, 1); in igb_create_lbtest_frame() 1752 unsigned int frame_size) in igb_check_lbtest_frame() argument 1757 frame_size >>= 1; in igb_check_lbtest_frame() 1762 data[frame_size + 10] != 0xBE || in igb_check_lbtest_frame() 1763 data[frame_size + 12] != 0xAF) in igb_check_lbtest_frame()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 1673 unsigned int frame_size) in ixgbe_create_lbtest_frame() argument 1675 memset(skb->data, 0xFF, frame_size); in ixgbe_create_lbtest_frame() 1676 frame_size >>= 1; in ixgbe_create_lbtest_frame() 1677 memset(&skb->data[frame_size], 0xAA, frame_size / 2 - 1); in ixgbe_create_lbtest_frame() 1678 memset(&skb->data[frame_size + 10], 0xBE, 1); in ixgbe_create_lbtest_frame() 1679 memset(&skb->data[frame_size + 12], 0xAF, 1); in ixgbe_create_lbtest_frame() 1683 unsigned int frame_size) in ixgbe_check_lbtest_frame() argument 1688 frame_size >>= 1; in ixgbe_check_lbtest_frame() 1693 data[frame_size + 10] != 0xBE || in ixgbe_check_lbtest_frame() 1694 data[frame_size + 12] != 0xAF) in ixgbe_check_lbtest_frame()
|
/drivers/net/ethernet/ti/ |
D | tlan.c | 1055 tail_list->frame_size = (u16) txlen; in tlan_start_tx() 1360 dev->stats.tx_bytes += head_list->frame_size; in tlan_handle_tx_eof() 1483 u32 frame_size = head_list->frame_size; in tlan_handle_rx_eof() local 1498 skb_put(skb, frame_size); in tlan_handle_rx_eof() 1500 dev->stats.rx_bytes += frame_size; in tlan_handle_rx_eof() 1912 list->frame_size = TLAN_MAX_FRAME_SIZE; in tlan_reset_lists() 2036 pr_info(" Frame Size = 0x%04hx\n", list->frame_size); in tlan_print_list()
|