/linux-6.3-rc2/sound/core/oss/ |
A D | pcm_plugin.c | 84 c->frames = frames; in snd_pcm_plugin_alloc() 96 c->frames = frames; in snd_pcm_plugin_alloc() 117 frames = plugin->dst_frames(plugin, frames); in snd_pcm_plug_alloc() 129 frames = plugin->src_frames(plugin, frames); in snd_pcm_plug_alloc() 147 return frames; in snd_pcm_plugin_client_channels() 216 frames = plugin->dst_frames(plugin, frames); in calc_dst_frames() 222 return frames; in calc_dst_frames() 235 frames = plugin->src_frames(plugin, frames); in calc_src_frames() 244 return frames; in calc_src_frames() 646 frames = calc_src_frames(plug, frames, true); in snd_pcm_plug_read_transfer() [all …]
|
A D | route.c | 33 snd_pcm_area_silence(&dvp->area, 0, frames, format); in zero_areas() 41 snd_pcm_uframes_t frames, snd_pcm_format_t format) in copy_area() argument 50 snd_pcm_uframes_t frames) in route_transfer() argument 58 if (frames == 0) in route_transfer() 60 if (frames > dst_channels[0].frames) in route_transfer() 61 frames = dst_channels[0].frames; in route_transfer() 71 copy_area(src_channels, dvp, frames, format); in route_transfer() 74 return frames; in route_transfer() 78 copy_area(src_channels, dvp, frames, format); in route_transfer() 83 zero_areas(dvp, ndsts - dst, frames, format); in route_transfer() [all …]
|
A D | rate.c | 190 if (frames == 0) in rate_src_frames() 194 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_src_frames() 211 data->old_src_frames = frames; in rate_src_frames() 223 if (frames == 0) in rate_dst_frames() 229 res = (((frames * data->pitch) + (BITS/2)) >> SHIFT); in rate_dst_frames() 244 data->old_dst_frames = frames; in rate_dst_frames() 252 snd_pcm_uframes_t frames) in rate_transfer() argument 259 if (frames == 0) in rate_transfer() 275 dst_frames = rate_dst_frames(plugin, frames); in rate_transfer() 276 if (dst_frames > dst_channels[0].frames) in rate_transfer() [all …]
|
A D | mulaw.c | 144 snd_pcm_uframes_t frames); 171 snd_pcm_uframes_t frames) in mulaw_decode() argument 192 frames1 = frames; in mulaw_decode() 217 snd_pcm_uframes_t frames) in mulaw_encode() argument 238 frames1 = frames; in mulaw_encode() 251 snd_pcm_uframes_t frames) in mulaw_transfer() argument 257 if (frames == 0) in mulaw_transfer() 272 if (frames > dst_channels[0].frames) in mulaw_transfer() 273 frames = dst_channels[0].frames; in mulaw_transfer() 275 data->func(plugin, src_channels, dst_channels, frames); in mulaw_transfer() [all …]
|
A D | linear.c | 58 snd_pcm_uframes_t frames) in convert() argument 70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert() 79 frames1 = frames; in convert() 91 snd_pcm_uframes_t frames) in linear_transfer() argument 95 if (frames == 0) in linear_transfer() 110 if (frames > dst_channels[0].frames) in linear_transfer() 111 frames = dst_channels[0].frames; in linear_transfer() 112 convert(plugin, src_channels, dst_channels, frames); in linear_transfer() 113 return frames; in linear_transfer()
|
A D | io.c | 40 snd_pcm_uframes_t frames) in io_playback_transfer() argument 47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer() 59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer() 66 snd_pcm_uframes_t frames) in io_capture_transfer() argument 73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer() 85 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer() 91 snd_pcm_uframes_t frames, in io_src_channels() argument 97 err = snd_pcm_plugin_client_channels(plugin, frames, &v); in io_src_channels() 105 return frames; in io_src_channels()
|
A D | copy.c | 30 snd_pcm_uframes_t frames) in copy_transfer() argument 37 if (frames == 0) in copy_transfer() 49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer() 54 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer() 58 return frames; in copy_transfer()
|
A D | pcm_plugin.h | 28 snd_pcm_uframes_t frames; /* allocated frames */ member 50 snd_pcm_uframes_t frames, 55 snd_pcm_uframes_t frames); 78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 130 snd_pcm_uframes_t frames, 150 void **bufs, snd_pcm_uframes_t frames); 152 void **bufs, snd_pcm_uframes_t frames);
|
/linux-6.3-rc2/drivers/media/usb/pwc/ |
A D | pwc-ctrl.c | 168 if (frames < 4) in set_video_mode_Nala() 169 frames = 4; in set_video_mode_Nala() 171 frames = 15; in set_video_mode_Nala() 173 frames = 25; in set_video_mode_Nala() 174 frames = frames2frames[frames]; in set_video_mode_Nala() 225 frames = 5; in set_video_mode_Timon() 227 frames = 15; in set_video_mode_Timon() 229 frames = 30; in set_video_mode_Timon() 276 frames = 5; in set_video_mode_Kiara() 278 frames = 15; in set_video_mode_Kiara() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | agg-rx.c | 28 __skb_queue_tail(frames, skb); in mt76_aggr_release() 33 struct sk_buff_head *frames, in mt76_rx_aggr_release_frames() argument 40 mt76_aggr_release(tid, frames, idx); in mt76_rx_aggr_release_frames() 50 mt76_aggr_release(tid, frames, idx); in mt76_rx_aggr_release_head() 65 mt76_rx_aggr_release_head(tid, frames); in mt76_rx_aggr_check_release() 96 struct sk_buff_head frames; in mt76_rx_aggr_reorder_work() local 99 __skb_queue_head_init(&frames); in mt76_rx_aggr_reorder_work() 112 mt76_rx_complete(dev, &frames, NULL); in mt76_rx_aggr_reorder_work() 159 __skb_queue_tail(frames, skb); in mt76_rx_aggr_reorder() 199 __skb_unlink(skb, frames); in mt76_rx_aggr_reorder() [all …]
|
/linux-6.3-rc2/Documentation/networking/device_drivers/can/freescale/ |
A D | flexcan.rst | 10 On/off RTR frames reception 19 and i.MX53 SOCs) only receive RTR frames if the controller is 22 The RX FIFO mode uses a hardware FIFO with a depth of 6 CAN frames, 24 CAN frames. With the help of the bigger buffer, the mailbox mode 27 As reception of RTR frames is part of the CAN standard, all flexcan 30 With the "rx-rtr" private flag the ability to receive RTR frames can 35 Receive RTR frames. (default) 37 The CAN controller can and will receive RTR frames. 39 On some IP cores the controller cannot receive RTR frames in the 45 Waive ability to receive RTR frames. (not supported on all IP cores) [all …]
|
/linux-6.3-rc2/net/dsa/ |
A D | Kconfig | 25 frames over the CPU port. 30 Say Y or M if you want to enable support for tagging frames for 41 Say Y if you want to enable support for tagging frames for the 48 Say Y if you want to enable support for tagging frames for the 56 Say Y if you want to enable support for tagging frames for the 63 Say Y or M if you want to enable support for tagging frames 92 Say Y or M if you want to enable support for tagging frames for 98 Say Y if you want to enable support for tagging frames for the 107 the frames over the Ethernet CPU port are prepended with a 125 Say Y or M if you want to enable support for tagging frames for [all …]
|
/linux-6.3-rc2/drivers/xen/ |
A D | mem-reservation.c | 31 xen_pfn_t *frames) in __xenmem_reservation_va_mapping_update() argument 48 set_phys_to_machine(pfn, frames[i]); in __xenmem_reservation_va_mapping_update() 52 mfn_pte(frames[i], PAGE_KERNEL), 0); in __xenmem_reservation_va_mapping_update() 86 int xenmem_reservation_increase(int count, xen_pfn_t *frames) in xenmem_reservation_increase() argument 95 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase() 102 int xenmem_reservation_decrease(int count, xen_pfn_t *frames) in xenmem_reservation_decrease() argument 111 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease()
|
/linux-6.3-rc2/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
A D | pipe_util.c | 33 struct ia_css_frame *frames[]) in ia_css_pipe_util_create_output_frames() argument 37 assert(frames); in ia_css_pipe_util_create_output_frames() 39 frames[i] = NULL; in ia_css_pipe_util_create_output_frames() 44 struct ia_css_frame *frames[], in ia_css_pipe_util_set_output_frames() argument 50 frames[idx] = frame; in ia_css_pipe_util_set_output_frames()
|
/linux-6.3-rc2/include/xen/ |
A D | mem-reservation.h | 31 xen_pfn_t *frames); 39 xen_pfn_t *frames) in xenmem_reservation_va_mapping_update() argument 43 __xenmem_reservation_va_mapping_update(count, pages, frames); in xenmem_reservation_va_mapping_update() 56 int xenmem_reservation_increase(int count, xen_pfn_t *frames); 58 int xenmem_reservation_decrease(int count, xen_pfn_t *frames);
|
/linux-6.3-rc2/net/mac80211/ |
A D | mesh_ps.c | 414 struct sk_buff_head *frames) in mpsp_qos_null_append() argument 442 __skb_queue_tail(frames, new_skb); in mpsp_qos_null_append() 455 struct sk_buff_head frames; in mps_frame_deliver() local 459 skb_queue_head_init(&frames); in mps_frame_deliver() 474 __skb_queue_tail(&frames, skb); in mps_frame_deliver() 483 if (skb_queue_empty(&frames)) { in mps_frame_deliver() 490 mpsp_qos_null_append(sta, &frames); in mps_frame_deliver() 493 skb_queue_len(&frames), sta->sta.addr); in mps_frame_deliver() 496 skb_queue_walk(&frames, skb) { in mps_frame_deliver() 514 if (skb_queue_is_last(&frames, skb) && in mps_frame_deliver() [all …]
|
/linux-6.3-rc2/sound/firewire/ |
A D | amdtp-am824.c | 149 __be32 *buffer, unsigned int frames, in write_pcm_s32() argument 167 for (i = 0; i < frames; ++i) { in write_pcm_s32() 180 __be32 *buffer, unsigned int frames, in read_pcm_s32() argument 198 for (i = 0; i < frames; ++i) { in read_pcm_s32() 210 __be32 *buffer, unsigned int frames) in write_pcm_silence() argument 215 for (i = 0; i < frames; ++i) { in write_pcm_silence() 296 unsigned int frames, unsigned int data_block_counter) in write_midi_messages() argument 302 for (f = 0; f < frames; f++) { in write_midi_messages() 324 unsigned int frames, unsigned int data_block_counter) in read_midi_messages() argument 331 for (f = 0; f < frames; f++) { in read_midi_messages()
|
/linux-6.3-rc2/sound/core/ |
A D | pcm_compat.c | 29 snd_pcm_uframes_t frames; in snd_pcm_ioctl_rewind_compat() local 32 if (get_user(frames, src)) in snd_pcm_ioctl_rewind_compat() 34 err = snd_pcm_rewind(substream, frames); in snd_pcm_ioctl_rewind_compat() 43 snd_pcm_uframes_t frames; in snd_pcm_ioctl_forward_compat() local 46 if (get_user(frames, src)) in snd_pcm_ioctl_forward_compat() 284 u32 frames; member 291 u32 frames; in snd_pcm_ioctl_xferi_compat() local 302 get_user(frames, &data32->frames)) in snd_pcm_ioctl_xferi_compat() 322 u32 frames; member 336 u32 frames; in snd_pcm_ioctl_xfern_compat() local [all …]
|
A D | pcm_lib.c | 98 if (frames == 0) in snd_pcm_playback_silence() 101 while (frames > 0) { in snd_pcm_playback_silence() 106 frames -= transfer; in snd_pcm_playback_silence() 2041 frames = frames_to_bytes(runtime, frames); in interleaved_copy() 2064 frames = samples_to_bytes(runtime, frames); in noninterleaved_copy() 2071 frames); in noninterleaved_copy() 2271 frames = cont; in __snd_pcm_lib_xfer() 2301 offset += frames; in __snd_pcm_lib_xfer() 2302 size -= frames; in __snd_pcm_lib_xfer() 2303 xfer += frames; in __snd_pcm_lib_xfer() [all …]
|
/linux-6.3-rc2/drivers/dma/ |
A D | bcm2835-dma.c | 90 unsigned int frames; member 268 size_t frames = 0; in bcm2835_dma_count_frames_for_sg() local 277 return frames; in bcm2835_dma_count_frames_for_sg() 313 if (!frames) in bcm2835_dma_create_cb_chain() 329 for (frame = 0, total_len = 0; frame < frames; d->frames++, frame++) { in bcm2835_dma_create_cb_chain() 621 size_t frames; in bcm2835_dma_prep_dma_memcpy() local 632 info, extra, frames, in bcm2835_dma_prep_dma_memcpy() 651 size_t frames; in bcm2835_dma_prep_slave_sg() local 680 frames, src, dst, 0, 0, in bcm2835_dma_prep_slave_sg() 704 size_t frames; in bcm2835_dma_prep_dma_cyclic() local [all …]
|
/linux-6.3-rc2/sound/firewire/fireface/ |
A D | amdtp-ff.c | 31 __le32 *buffer, unsigned int frames, in write_pcm_s32() argument 49 for (i = 0; i < frames; ++i) { in write_pcm_s32() 61 __le32 *buffer, unsigned int frames, in read_pcm_s32() argument 79 for (i = 0; i < frames; ++i) { in read_pcm_s32() 91 __le32 *buffer, unsigned int frames) in write_pcm_silence() argument 96 for (i = 0; i < frames; ++i) { in write_pcm_silence()
|
/linux-6.3-rc2/net/can/ |
A D | bcm.c | 117 void *frames; member 699 (get_u64(op->frames, 0) & in bcm_rx_handler() 732 if ((op->frames) && (op->frames != &op->sframe)) in bcm_free_op_rcu() 733 kfree(op->frames); in bcm_free_op_rcu() 933 if (!op->frames) { in bcm_tx_setup() 938 op->frames = &op->sframe; in bcm_tx_setup() 955 kfree(op->frames); in bcm_tx_setup() 1108 if (!op->frames) { in bcm_rx_setup() 1118 kfree(op->frames); in bcm_rx_setup() 1124 op->frames = &op->sframe; in bcm_rx_setup() [all …]
|
/linux-6.3-rc2/sound/usb/misc/ |
A D | ua101.c | 211 unsigned int frames) in copy_playback_data() argument 230 stream->buffer_pos += frames; in copy_playback_data() 233 stream->period_pos += frames; in copy_playback_data() 253 unsigned int frames; in playback_work() local 291 frames); in playback_work() 315 unsigned int frames) in copy_capture_data() argument 335 stream->buffer_pos += frames; in copy_capture_data() 338 stream->period_pos += frames; in copy_capture_data() 351 unsigned int frames, write_ptr; in capture_urb_complete() local 365 frames = 0; in capture_urb_complete() [all …]
|
/linux-6.3-rc2/arch/x86/xen/ |
A D | grant-table.c | 31 int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes, in arch_gnttab_map_shared() argument 46 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_shared() 53 int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, in arch_gnttab_map_status() argument 68 mfn_pte(frames[i], PAGE_KERNEL)); in arch_gnttab_map_status()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | can.rst | 60 CAN-IDs, frames, etc. 93 CAN frames between them, (sophisticated) queueing of CAN frames, and 458 - The socket only receives valid data frames (=> no error message frames) 542 both SFF frames with CAN ID 0x123 and EFF frames with 0xXXXXX123 can pass. 625 and CAN FD frames. OTOH the application has to handle CAN and CAN FD frames 664 CANFD_MTU sized CAN FD frames. 672 or CAN FD frames and can process them the same way. 722 Periodic transmission tasks of CAN frames or a sequence of CAN frames can be 743 struct can_frame frames[0]; 1057 rcvlist_err - list for error message frames masks [all …]
|