Home
last modified time | relevance | path

Searched refs:header_size (Results 1 – 25 of 33) sorted by relevance

12

/drivers/media/usb/uvc/
Duvc_video.c424 unsigned int header_size; in uvc_video_clock_decode() local
434 header_size = 12; in uvc_video_clock_decode()
439 header_size = 6; in uvc_video_clock_decode()
443 header_size = 8; in uvc_video_clock_decode()
447 header_size = 2; in uvc_video_clock_decode()
452 if (len < header_size) in uvc_video_clock_decode()
471 dev_sof = get_unaligned_le16(&data[header_size - 2]); in uvc_video_clock_decode()
512 sample->dev_stc = get_unaligned_le32(&data[header_size - 6]); in uvc_video_clock_decode()
769 unsigned int header_size; in uvc_video_stats_decode() local
782 header_size = 12; in uvc_video_stats_decode()
[all …]
Duvcvideo.h491 unsigned int header_size; member
/drivers/mtd/
Drfd_ftl.c78 u_int header_size; /* bytes in header sector */ member
171 part->header_size = (HEADER_MAP_OFFSET + in scan_header()
183 part->header_cache = kmalloc(part->header_size, GFP_KERNEL); in scan_header()
204 part->header_size, &retlen, in scan_header()
207 if (!rc && retlen != part->header_size) in scan_header()
370 map = kmalloc(part->header_size, GFP_KERNEL); in move_block_contents()
375 part->header_size, &retlen, (u_char *)map); in move_block_contents()
377 if (!rc && retlen != part->header_size) in move_block_contents()
564 part->header_size, &retlen, in find_writable_block()
567 if (!rc && retlen != part->header_size) in find_writable_block()
/drivers/firewire/
Dcore-iso.c164 int type, int channel, int speed, size_t header_size, in fw_iso_context_create() argument
170 type, channel, header_size); in fw_iso_context_create()
178 ctx->header_size = header_size; in fw_iso_context_create()
Dohci.c2752 if (ctx->header_length + ctx->base.header_size > PAGE_SIZE) { in copy_iso_headers()
2766 if (ctx->base.header_size > 0) in copy_iso_headers()
2768 if (ctx->base.header_size > 4) in copy_iso_headers()
2770 if (ctx->base.header_size > 8) in copy_iso_headers()
2771 memcpy(&ctx_hdr[2], &dma_hdr[2], ctx->base.header_size - 8); in copy_iso_headers()
2772 ctx->header_length += ctx->base.header_size; in copy_iso_headers()
2948 int type, int channel, size_t header_size) in ohci_allocate_iso_context() argument
3321 int page, offset, packet_count, header_size, payload_per_buffer; in queue_iso_packet_per_buffer() local
3327 packet_count = packet->header_length / ctx->base.header_size; in queue_iso_packet_per_buffer()
3328 header_size = max(ctx->base.header_size, (size_t)8); in queue_iso_packet_per_buffer()
[all …]
Dcore.h95 int type, int channel, size_t header_size);
Dcore-cdev.c990 if (a->header_size < 4 || (a->header_size & 3) || in ioctl_create_iso_context()
1006 a->channel, a->speed, a->header_size, cb, client); in ioctl_create_iso_context()
1121 u.packet.header_length % ctx->header_size != 0) in ioctl_queue_iso()
Dcore-card.c627 int type, int channel, size_t header_size) in dummy_allocate_iso_context() argument
/drivers/mmc/host/
Dvub300.c64 u8 header_size; member
79 u8 header_size; member
90 u8 header_size; member
96 u8 header_size; member
105 u8 header_size; member
116 u8 header_size; member
123 u8 header_size; member
135 u8 header_size; member
142 u8 header_size; member
485 vub300->cmnd.poll.header_size = 22; in send_irqpoll()
[all …]
/drivers/isdn/hardware/eicon/
Ddsp_defs.h98 word header_size; member
118 word header_size; member
/drivers/staging/rdma/hfi1/
Ddiag.c1507 int header_size = packet->hlen; in snoop_recv_handler() local
1516 snoop_dbg("PACKET IN: hdr size %d tlen %d data %p", header_size, tlen, in snoop_recv_handler()
1519 trace_snoop_capture(ppd->dd, header_size, hdr, tlen - header_size, in snoop_recv_handler()
1546 s_packet = allocate_snoop_packet(header_size, in snoop_recv_handler()
1547 tlen - header_size, in snoop_recv_handler()
1565 memcpy(s_packet->data + md_len, hdr, header_size); in snoop_recv_handler()
1580 memcpy(s_packet->data + header_size + md_len, data, in snoop_recv_handler()
1581 tlen - header_size); in snoop_recv_handler()
/drivers/tty/ipwireless/
Dhardware.c462 unsigned short header_size; in do_send_packet() local
465 header_size = in do_send_packet()
469 fragment_data_len = hw->ll_mtu - header_size; in do_send_packet()
489 memcpy(pkt.rawpkt + header_size, in do_send_packet()
498 do_send_fragment(hw, pkt.rawpkt, header_size + fragment_data_len); in do_send_packet()
1269 static void *alloc_ctrl_packet(int header_size, in alloc_ctrl_packet() argument
1279 struct ipw_control_packet *packet = kzalloc(header_size, GFP_ATOMIC); in alloc_ctrl_packet()
1287 packet->header.length = header_size - sizeof(struct ipw_tx_packet); in alloc_ctrl_packet()
/drivers/block/drbd/
Ddrbd_main.c647 unsigned int header_size, void *data, in __send_command() argument
662 header_size += prepare_header(connection, vnr, sock->sbuf, cmd, in __send_command()
663 header_size + size); in __send_command()
664 err = drbd_send_all(connection, sock->socket, sock->sbuf, header_size, in __send_command()
677 enum drbd_packet cmd, unsigned int header_size, in __conn_send_command() argument
680 return __send_command(connection, 0, sock, cmd, header_size, data, size); in __conn_send_command()
684 enum drbd_packet cmd, unsigned int header_size, in conn_send_command() argument
689 err = __conn_send_command(connection, sock, cmd, header_size, data, size); in conn_send_command()
695 enum drbd_packet cmd, unsigned int header_size, in drbd_send_command() argument
701 sock, cmd, header_size, data, size); in drbd_send_command()
[all …]
Ddrbd_receiver.c795 unsigned int header_size = drbd_header_size(connection); in receive_first_packet() local
809 err = drbd_recv_short(sock, connection->data.rbuf, header_size, 0); in receive_first_packet()
810 if (err != header_size) { in receive_first_packet()
1126 unsigned int header_size = drbd_header_size(connection); in decode_header() local
1128 if (header_size == sizeof(struct p_header100) && in decode_header()
1138 } else if (header_size == sizeof(struct p_header95) && in decode_header()
1144 } else if (header_size == sizeof(struct p_header80) && in decode_header()
1156 pi->data = header + header_size; in decode_header()
3507 unsigned int header_size, data_size, exp_max_sz; in receive_SyncParam() local
3535 header_size = sizeof(struct p_rs_param); in receive_SyncParam()
[all …]
/drivers/infiniband/hw/mlx4/
Dqp.c2159 int header_size; in build_sriov_qp0_header() local
2220 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_sriov_qp0_header()
2230 if (header_size <= spc) { in build_sriov_qp0_header()
2231 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_sriov_qp0_header()
2232 memcpy(inl + 1, sqp->header_buf, header_size); in build_sriov_qp0_header()
2239 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_sriov_qp0_header()
2254 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_sriov_qp0_header()
2259 ALIGN(i * sizeof (struct mlx4_wqe_inline_seg) + header_size, 16); in build_sriov_qp0_header()
2284 int header_size; in build_mlx_header() local
2446 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_mlx_header()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dump.h39 u32 header_size; /* Size in DWORDs excluding this field */ member
/drivers/acpi/apei/
Deinj.c261 if (trigger_tab->header_size != sizeof(struct acpi_einj_trigger)) in einj_check_trigger_header()
264 trigger_tab->table_size < trigger_tab->header_size) in einj_check_trigger_header()
267 (trigger_tab->table_size - trigger_tab->header_size) / in einj_check_trigger_header()
/drivers/gpu/drm/gma500/
Dintel_bios.h31 u16 header_size; /**< in bytes */ member
43 u16 header_size; /**< in bytes */ member
Dintel_bios.c40 index += bdb->header_size; in find_section()
/drivers/gpu/drm/i915/
Dintel_bios.h36 u16 header_size; /**< in bytes */ member
47 u16 header_size; /**< in bytes */ member
/drivers/s390/char/
Dzcore.c184 u32 header_size; member
211 .header_size = 4096,
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h299 unsigned short header_size,
/drivers/scsi/qla2xxx/
Dqla_dbg.h286 uint32_t header_size; member
/drivers/staging/unisys/include/
Dchannel.h160 u32 header_size; /* sizeof(struct channel_header) */ member
/drivers/media/usb/gspca/
Dsonixb.c1260 int i, header_size = (sd->bridge == BRIDGE_103) ? 18 : 12; in find_sof() local
1316 if (sd->header_read == header_size) { in find_sof()

12