/drivers/ieee1394/ |
D | ieee1394_core.c | 626 size_t size = packet->data_size + packet->header_size; in hpsb_send_packet() 634 memcpy(data, packet->header, packet->header_size); in hpsb_send_packet() 637 memcpy(((u8*)data) + packet->header_size, packet->data, packet->data_size); in hpsb_send_packet() 639 dump_packet("send packet local", packet->header, packet->header_size, -1); in hpsb_send_packet() 654 dump_packet("send packet", packet->header, packet->header_size, packet->speed_code); in hpsb_send_packet() 695 static size_t packet_size_to_data_size(size_t packet_size, size_t header_size, in packet_size_to_data_size() argument 698 size_t ret = packet_size <= header_size ? 0 : packet_size - header_size; in packet_size_to_data_size() 703 if (unlikely(ret + header_size != packet_size)) in packet_size_to_data_size() 714 size_t header_size; in handle_packet_response() local 736 header_size = 12; in handle_packet_response() [all …]
|
D | ieee1394_transactions.c | 47 packet->header_size = 12; in fill_async_readquad() 57 packet->header_size = 16; in fill_async_readblock() 67 packet->header_size = 16; in fill_async_writequad() 77 packet->header_size = 16; in fill_async_writeblock() 87 packet->header_size = 16; in fill_async_lock() 96 packet->header_size = 8; in fill_phy_packet() 109 packet->header_size = 4; in fill_async_stream_packet()
|
D | ieee1394_core.h | 69 size_t header_size; /* as filled in, not counting the CRC */ member
|
D | pcilynx.c | 476 packet->header_size, PCI_DMA_TODEVICE); in send_next() 488 pcl.buffer[0].control = packet->speed_code << 14 | packet->header_size; in send_next() 758 packet->header_size, PCI_DMA_TODEVICE); in lynx_devctl() 949 packet->header_size, PCI_DMA_TODEVICE); in lynx_irq_handler() 995 packet->header_size, PCI_DMA_TODEVICE); in lynx_irq_handler()
|
D | eth1394.c | 1426 p->header_size = 16; in ether1394_prep_write_packet() 1443 p->header_size = 4; in ether1394_prep_gasp_packet()
|
D | ohci1394.c | 734 (packet->header_size + 4)); in insert_packet() 741 packet->header_size); in insert_packet()
|
D | raw1394.c | 826 packet->header_size = header_length; in handle_async_send()
|
/drivers/firewire/ |
D | fw-iso.c | 110 int channel, int speed, size_t header_size, in fw_iso_context_create() argument 115 ctx = card->driver->allocate_iso_context(card, type, header_size); in fw_iso_context_create() 123 ctx->header_size = header_size; in fw_iso_context_create()
|
D | fw-ohci.c | 1794 while (p < end && i + ctx->base.header_size <= PAGE_SIZE) { in handle_ir_dualbuffer_packet() 1803 memcpy(ctx->header + i + 4, p + 8, ctx->base.header_size - 4); in handle_ir_dualbuffer_packet() 1804 i += ctx->base.header_size; in handle_ir_dualbuffer_packet() 1807 p += ctx->base.header_size + 4; in handle_ir_dualbuffer_packet() 1848 if (ctx->base.header_size > 0 && in handle_ir_packet_per_buffer() 1849 i + ctx->base.header_size <= PAGE_SIZE) { in handle_ir_packet_per_buffer() 1857 memcpy(ctx->header + i + 4, p + 8, ctx->base.header_size - 4); in handle_ir_packet_per_buffer() 1858 ctx->header_length += ctx->base.header_size; in handle_ir_packet_per_buffer() 1892 ohci_allocate_iso_context(struct fw_card *card, int type, size_t header_size) in ohci_allocate_iso_context() argument 2143 int page, offset, packet_count, header_size; in ohci_queue_iso_receive_dualbuffer() local [all …]
|
D | fw-transaction.h | 342 size_t header_size; member 359 int channel, int speed, size_t header_size, 418 int type, size_t header_size);
|
D | fw-cdev.c | 686 if (request->header_size < 4 || (request->header_size & 3)) in ioctl_create_iso_context() 705 request->header_size, in ioctl_create_iso_context() 785 if (ctx->header_size == 0) { in ioctl_queue_iso() 788 } else if (u.packet.header_length % ctx->header_size != 0) { in ioctl_queue_iso()
|
D | fw-sbp2.c | 413 size_t header_size; in sbp2_status_write() local 422 header_size = min(length, 2 * sizeof(u32)); in sbp2_status_write() 423 fw_memcpy_from_be32(&status, payload, header_size); in sbp2_status_write() 424 if (length > header_size) in sbp2_status_write() 425 memcpy(status.data, payload + 8, length - header_size); in sbp2_status_write()
|
/drivers/mtd/ |
D | rfd_ftl.c | 77 u_int header_size; /* bytes in header sector */ member 170 part->header_size = (HEADER_MAP_OFFSET + in scan_header() 182 part->header_cache = kmalloc(part->header_size, GFP_KERNEL); in scan_header() 203 i * part->block_size, part->header_size, in scan_header() 206 if (!rc && retlen != part->header_size) in scan_header() 370 map = kmalloc(part->header_size, GFP_KERNEL); in move_block_contents() 375 part->blocks[block_no].offset, part->header_size, in move_block_contents() 378 if (!rc && retlen != part->header_size) in move_block_contents() 566 part->header_size, &retlen, (u_char*)part->header_cache); in find_writable_block() 568 if (!rc && retlen != part->header_size) in find_writable_block()
|
/drivers/media/video/uvc/ |
D | uvc_video.c | 550 if (video->bulk.header_size == 0 && !video->bulk.skip_payload) { in uvc_video_decode_bulk() 562 video->bulk.header_size = ret; in uvc_video_decode_bulk() 591 video->bulk.header_size = 0; in uvc_video_decode_bulk() 609 if (video->bulk.header_size == 0) { in uvc_video_encode_bulk() 611 video->bulk.header_size = ret; in uvc_video_encode_bulk() 632 video->bulk.header_size = 0; in uvc_video_encode_bulk() 878 video->bulk.header_size = 0; in uvc_init_video()
|
D | uvcvideo.h | 609 unsigned int header_size; member
|
/drivers/isdn/hardware/eicon/ |
D | dsp_defs.h | 98 word header_size; member 118 word header_size; member
|
/drivers/char/pcmcia/ipwireless/ |
D | hardware.c | 462 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/staging/poch/ |
D | poch.c | 201 unsigned long header_size; member 323 header_pages = npages(channel->header_size); in show_mmap_size() 362 header_pages = npages(channel->header_size); in poch_channel_alloc_groups() 524 channel->header_size = sizeof(*header) + tot_group_offsets_size; in poch_channel_alloc_header() 526 get_order(channel->header_size)); in poch_channel_alloc_header() 539 order = get_order(channel->header_size); in poch_channel_free_header() 899 header_pages = npages(channel->header_size); in poch_mmap()
|
/drivers/gpu/drm/i915/ |
D | intel_bios.h | 36 u16 header_size; /**< in bytes */ member 47 u16 header_size; /**< in bytes */ member
|
D | intel_bios.c | 43 index += bdb->header_size; in find_section()
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1218 int header_size; in build_mlx_header() local 1280 header_size = ib_ud_header_pack(&sqp->ud_header, sqp->header_buf); in build_mlx_header() 1283 printk(KERN_ERR "built UD header of size %d:\n", header_size); in build_mlx_header() 1284 for (i = 0; i < header_size / 4; ++i) { in build_mlx_header() 1303 if (header_size <= spc) { in build_mlx_header() 1304 inl->byte_count = cpu_to_be32(1 << 31 | header_size); in build_mlx_header() 1305 memcpy(inl + 1, sqp->header_buf, header_size); in build_mlx_header() 1312 memcpy(inl + 1, sqp->header_buf + spc, header_size - spc); in build_mlx_header() 1327 inl->byte_count = cpu_to_be32(1 << 31 | (header_size - spc)); in build_mlx_header() 1332 ALIGN(i * sizeof (struct mlx4_wqe_inline_seg) + header_size, 16); in build_mlx_header()
|
/drivers/s390/char/ |
D | zcore.c | 261 u32 header_size; member 281 .header_size = 4096,
|
/drivers/scsi/qla2xxx/ |
D | qla_dbg.h | 348 uint32_t header_size; member
|
D | qla_init.c | 892 ha->fw_dump->header_size = in qla2x00_alloc_fw_dump()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 1488 int header_size; in build_mlx_header() local 1538 header_size = ib_ud_header_pack(&sqp->ud_header, in build_mlx_header() 1542 data->byte_count = cpu_to_be32(header_size); in build_mlx_header()
|