Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.4.37.9/drivers/sound/
Dharmony.c538 int frame_size; in harmony_audio_write() local
565 frame_size = HARMONY_BUF_SIZE - harmony.play_offset; in harmony_audio_write()
567 frame_size = total_count - count; in harmony_audio_write()
571 HARMONY_BUF_SIZE*buf_to_fill+frame_size+harmony.play_offset, in harmony_audio_write()
572 HARMONY_BUF_SIZE-frame_size-harmony.play_offset); in harmony_audio_write()
577 buffer+count, frame_size); in harmony_audio_write()
579 frame_size); in harmony_audio_write()
584 count += frame_size; in harmony_audio_write()
585 harmony.play_offset += frame_size; in harmony_audio_write()
Dvwsnd.c1473 int frame_size; member
1691 aport->frame_size = aport->sw_channels * aport->sample_size; in pcm_setup()
1756 wport->frame_size = rport->frame_size; in pcm_setup()
2035 ASSERT(wport->byte_count % wport->frame_size == 0); in pcm_output()
2036 wport->MSC_offset = ustmsc.msc - wport->byte_count / wport->frame_size; in pcm_output()
2719 info.bytes *= rport->frame_size; in vwsnd_audio_do_ioctl()
2741 info.bytes *= wport->frame_size; in vwsnd_audio_do_ioctl()
2758 int fsize = wport->frame_size; in vwsnd_audio_do_ioctl()
/linux-2.4.37.9/arch/mips64/kernel/
Dsignal_n32.c126 size_t frame_size) in get_sigframe() argument
144 return (void *)((sp - frame_size) & ALMASK); in get_sigframe()
Dsignal.c253 size_t frame_size) in get_sigframe() argument
271 return (void *)((sp - frame_size) & ALMASK); in get_sigframe()
/linux-2.4.37.9/drivers/net/wireless/prism54/
Dislpci_eth.c83 int frame_size; in islpci_eth_transmit() local
102 frame_size = skb->len < ETH_ZLEN ? ETH_ZLEN : skb->len; in islpci_eth_transmit()
104 frame_size += 6; in islpci_eth_transmit()
216 fragment->size = cpu_to_le16(frame_size); in islpci_eth_transmit()
/linux-2.4.37.9/drivers/usb/
Dpwc-ctrl.c271 pdev->frame_size = (pdev->image.x * pdev->image.y * 3) / 2; in set_video_mode_Nala()
275 pdev->frame_size /= 4; in set_video_mode_Nala()
279 pdev->frame_size /= 3; in set_video_mode_Nala()
339 pdev->frame_size = (pChoose->bandlength * pdev->image.y) / 4; in set_video_mode_Timon()
341 pdev->frame_size = (pdev->image.x * pdev->image.y * 12) / 8; in set_video_mode_Timon()
400 pdev->frame_size = (pChoose->bandlength * pdev->image.y) / 4; in set_video_mode_Kiara()
402 pdev->frame_size = (pdev->image.x * pdev->image.y * 12) / 8; in set_video_mode_Kiara()
403 pdev->frame_size += (pdev->frame_header_size + pdev->frame_trailer_size); in set_video_mode_Kiara()
Dpwc.h166 int frame_size; member
/linux-2.4.37.9/drivers/ieee1394/
Dvideo1394.c90 unsigned int frame_size; member
219 d->frame_size = buf_size; in alloc_dma_iso_ctx()
280 d->left_size = (d->frame_size % PAGE_SIZE) ? in alloc_dma_iso_ctx()
281 d->frame_size % PAGE_SIZE : PAGE_SIZE; in alloc_dma_iso_ctx()
320 d->nb_cmd = d->frame_size / d->packet_size; in alloc_dma_iso_ctx()
321 if (d->frame_size % d->packet_size) { in alloc_dma_iso_ctx()
323 d->left_size = d->frame_size % d->packet_size; in alloc_dma_iso_ctx()
377 d->num_desc, d->buf_size, d->frame_size, d->nb_cmd); in alloc_dma_iso_ctx()
Ddv1394.c565 dma_region_sync(&video->dv_buf, f->data - (unsigned long) video->dv_buf.kvirt, video->frame_size); in frame_prepare()
995 video->frame_size = DV1394_NTSC_FRAME_SIZE; in do_dv1394_init()
999 video->frame_size = DV1394_PAL_FRAME_SIZE; in do_dv1394_init()
1059 video->frames[i]->data = (unsigned long) video->dv_buf.kvirt + i * video->frame_size; in do_dv1394_init()
1392 cnt = video->frame_size - (video->write_off - target_frame * video->frame_size); in dv1394_write()
1426 video->write_off = (video->write_off + cnt) % (video->n_frames * video->frame_size); in dv1394_write()
1432 if (video->write_off == video->frame_size * ((target_frame + 1) % video->n_frames)) in dv1394_write()
1496 cnt = video->frame_size - (video->write_off - target_frame * video->frame_size); in dv1394_read()
1530 video->write_off = (video->write_off + cnt) % (video->n_frames * video->frame_size); in dv1394_read()
1536 if (video->write_off == video->frame_size * ((target_frame + 1) % video->n_frames)) { in dv1394_read()
[all …]
Ddv1394-private.h549 unsigned int frame_size; /* in bytes */ member
/linux-2.4.37.9/drivers/net/e1000/
De1000_ethtool.c1467 e1000_create_lbtest_frame(struct sk_buff *skb, unsigned int frame_size) in e1000_create_lbtest_frame() argument
1469 memset(skb->data, 0xFF, frame_size); in e1000_create_lbtest_frame()
1470 frame_size &= ~1; in e1000_create_lbtest_frame()
1471 memset(&skb->data[frame_size / 2], 0xAA, frame_size / 2 - 1); in e1000_create_lbtest_frame()
1472 memset(&skb->data[frame_size / 2 + 10], 0xBE, 1); in e1000_create_lbtest_frame()
1473 memset(&skb->data[frame_size / 2 + 12], 0xAF, 1); in e1000_create_lbtest_frame()
1477 e1000_check_lbtest_frame(struct sk_buff *skb, unsigned int frame_size) in e1000_check_lbtest_frame() argument
1479 frame_size &= ~1; in e1000_check_lbtest_frame()
1481 if ((*(skb->data + frame_size / 2 + 10) == 0xBE) && in e1000_check_lbtest_frame()
1482 (*(skb->data + frame_size / 2 + 12) == 0xAF)) { in e1000_check_lbtest_frame()
/linux-2.4.37.9/drivers/scsi/dpt/
Ddpti_i2o.h133 u16 frame_size; member
/linux-2.4.37.9/arch/cris/kernel/
Dsignal.c368 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
382 return (void *)(sp - frame_size); in get_sigframe()
/linux-2.4.37.9/arch/s390x/kernel/
Dsignal.c277 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
297 return (void *)((sp - frame_size) & -8ul); in get_sigframe()
Dsignal32.c418 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
438 return (void *)((sp - frame_size) & -8ul); in get_sigframe()
/linux-2.4.37.9/arch/s390/kernel/
Dsignal.c279 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
299 return (void *)((sp - frame_size) & -8ul); in get_sigframe()
/linux-2.4.37.9/net/packet/
Daf_packet.c186 unsigned int frame_size; member
215 frame = (unsigned long) (po->pg_vec[pg_vec_pos] + (frame_offset * po->frame_size)); in packet_lookup_frame()
592 if (macoff + snaplen > po->frame_size) { in tpacket_rcv()
604 snaplen = po->frame_size - macoff; in tpacket_rcv()
1730 po->frame_size = req->tp_frame_size; in packet_set_ring()
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_signal.c369 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
389 return (void *)((rsp - frame_size) & -8UL); in get_sigframe()
/linux-2.4.37.9/arch/mips/kernel/
Dsignal.c370 size_t frame_size) in get_sigframe() argument
388 return (void *)((sp - frame_size) & ALMASK); in get_sigframe()
/linux-2.4.37.9/arch/ppc64/kernel/
Dsignal.c294 get_sigframe(struct k_sigaction *ka, struct pt_regs *regs, size_t frame_size) in get_sigframe() argument
307 return (void *)((newsp - frame_size) & -16ul); in get_sigframe()
/linux-2.4.37.9/arch/sh/kernel/
Dsignal.c362 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument
367 return (void *)((sp - frame_size) & -8ul); in get_sigframe()
/linux-2.4.37.9/include/linux/
Di2o.h231 u16 frame_size; member
/linux-2.4.37.9/arch/i386/kernel/
Dsignal.c365 get_sigframe(struct k_sigaction *ka, struct pt_regs * regs, size_t frame_size) in get_sigframe() argument
385 return (void *)((esp - frame_size) & -8ul); in get_sigframe()
/linux-2.4.37.9/arch/alpha/kernel/
Dsignal.c377 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument
382 return (void *)((sp - frame_size) & -32ul); in get_sigframe()
/linux-2.4.37.9/arch/sh64/kernel/
Dsignal.c427 get_sigframe(struct k_sigaction *ka, unsigned long sp, size_t frame_size) in get_sigframe() argument
432 return (void *)((sp - frame_size) & -8ul); in get_sigframe()

12