| /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 …]
|
| /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 …]
|
| /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()
|
| A D | grant-table.c | 1089 args->frames[i] = xen_page_to_gfn(page); in gnttab_dma_alloc_pages() 1126 args->frames[i] = page_to_xen_pfn(args->pages[i]); in gnttab_dma_free_pages() 1137 args->frames); in gnttab_dma_free_pages() 1383 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v1() 1431 rc = arch_gnttab_map_shared(frames, nr_gframes, in gnttab_map_frames_v2() 1448 xen_pfn_t *frames; in gnttab_map() local 1481 if (!frames) in gnttab_map() 1486 set_xen_guest_handle(setup.frame_list, frames); in gnttab_map() 1490 kfree(frames); in gnttab_map() 1496 rc = gnttab_interface->map_frames(frames, nr_gframes); in gnttab_map() [all …]
|
| /drivers/staging/media/atomisp/pci/camera/pipe/src/ |
| A D | pipe_util.c | 24 struct ia_css_frame *frames[]) in ia_css_pipe_util_create_output_frames() argument 28 assert(frames); in ia_css_pipe_util_create_output_frames() 30 frames[i] = NULL; in ia_css_pipe_util_create_output_frames() 35 struct ia_css_frame *frames[], in ia_css_pipe_util_set_output_frames() argument 41 frames[idx] = frame; in ia_css_pipe_util_set_output_frames()
|
| /drivers/net/ethernet/meta/fbnic/ |
| A D | fbnic_hw_stats.c | 109 &tti->cm_drop.frames); in fbnic_reset_tti_stats() 137 &tti->cm_drop.frames); in fbnic_get_tti_stats32() 218 &fifo->drop.frames); in fbnic_reset_rxb_fifo_stats() 239 &enq->drbo.frames); in fbnic_reset_rxb_enq_stats() 257 &deq->intf.frames); in fbnic_reset_rxb_deq_stats() 262 &deq->pbuf.frames); in fbnic_reset_rxb_deq_stats() 285 &fifo->drop.frames); in fbnic_get_rxb_fifo_stats32() 287 &fifo->trunc.frames); in fbnic_get_rxb_fifo_stats32() 312 &enq->drbo.frames); in fbnic_get_rxb_enq_stats32() 337 &deq->intf.frames); in fbnic_get_rxb_deq_stats32() [all …]
|
| A D | fbnic_netdev.c | 427 tx_dropped += fbd->hw_stats.tmi.drop.frames.value + in fbnic_get_stats64() 428 fbd->hw_stats.tti.cm_drop.frames.value + in fbnic_get_stats64() 429 fbd->hw_stats.tti.frame_drop.frames.value + in fbnic_get_stats64() 430 fbd->hw_stats.tti.tbi_drop.frames.value; in fbnic_get_stats64() 470 rx_missed += fbd->hw_stats.rxb.fifo[i].drop.frames.value; in fbnic_get_stats64() 472 rx_missed += fbd->hw_stats.rxb.fifo[i].drop.frames.value; in fbnic_get_stats64()
|
| /drivers/spi/ |
| A D | spi-microchip-core-qspi.c | 399 int total_bytes, cmd_bytes, frames, ctrl; in mchp_coreqspi_config_op() local 433 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_config_op() 435 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_config_op() 441 frames |= idle_cycles << FRAMES_IDLE_SHIFT; in mchp_coreqspi_config_op() 445 frames |= (1 << FRAMES_SHIFT); in mchp_coreqspi_config_op() 447 frames |= FRAMES_FLAGWORD; in mchp_coreqspi_config_op() 610 u32 control, frames; in mchp_coreqspi_prepare_message() local 658 frames = total_bytes & BYTESUPPER_MASK; in mchp_coreqspi_prepare_message() 660 frames = total_bytes & BYTESLOWER_MASK; in mchp_coreqspi_prepare_message() 665 frames |= (1 << FRAMES_SHIFT); in mchp_coreqspi_prepare_message() [all …]
|
| /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 …]
|
| /drivers/net/thunderbolt/ |
| A D | main.c | 142 struct tbnet_frame frames[TBNET_RING_SIZE]; member 340 struct tbnet_frame *tf = &ring->frames[i]; in tbnet_free_buffers() 560 tf = &ring->frames[index]; in tbnet_get_tx_buffer() 589 struct tbnet_frame *tf = &ring->frames[i]; in tbnet_alloc_tx_buffers() 989 struct tbnet_frame **frames, u32 frame_count) in tbnet_xmit_csum_and_map() argument 1007 hdr = page_address(frames[i]->page); in tbnet_xmit_csum_and_map() 1012 frames[i]->frame.buffer_phy, in tbnet_xmit_csum_and_map() 1069 hdr = page_address(frames[i]->page); in tbnet_xmit_csum_and_map() 1106 struct tbnet_frame *frames[MAX_SKB_FRAGS]; in tbnet_start_xmit() local 1127 if (!frames[frame_index]) in tbnet_start_xmit() [all …]
|
| /drivers/staging/media/atomisp/pci/ |
| A D | sh_css_sp.c | 81 initialize_stage_frames(struct ia_css_frames_sp *frames); 343 initialize_stage_frames(&sh_css_sp_stage.frames); in sh_css_sp_start_isys_copy() 849 initialize_stage_frames(struct ia_css_frames_sp *frames) in initialize_stage_frames() argument 853 initialize_frame_buffer_attribute(&frames->in.buf_attr); in initialize_stage_frames() 858 initialize_frame_buffer_attribute(&frames->s3a_buf); in initialize_stage_frames() 859 initialize_frame_buffer_attribute(&frames->dvs_buf); in initialize_stage_frames() 860 initialize_frame_buffer_attribute(&frames->metadata_buf); in initialize_stage_frames() 916 initialize_stage_frames(&sh_css_sp_stage.frames); in sh_css_sp_init_stage() 1020 sh_css_sp_stage.frames.out[0].info.padded_width in sh_css_sp_init_stage() 1022 sh_css_sp_stage.frames.out[0].info.res.width in sh_css_sp_init_stage() [all …]
|
| /drivers/media/platform/nvidia/tegra-vde/ |
| A D | h264.c | 169 struct tegra_video_frame *frames, in tegra_setup_frameidx() argument 176 tegra_vde_setup_frameid(vde, &frames[idx], idx, in tegra_setup_frameidx() 741 vde->frames[id].flags = flags; in tegra_vde_h264_setup_frame() 742 vde->frames[id].y_addr = tb->dma_addr[0]; in tegra_vde_h264_setup_frame() 743 vde->frames[id].cb_addr = tb->dma_addr[1]; in tegra_vde_h264_setup_frame() 744 vde->frames[id].cr_addr = tb->dma_addr[2]; in tegra_vde_h264_setup_frame() 745 vde->frames[id].aux_addr = tb->aux->dma_addr; in tegra_vde_h264_setup_frame() 746 vde->frames[id].frame_num = frame_num & 0x7fffff; in tegra_vde_h264_setup_frame() 747 vde->frames[id].luma_atoms_pitch = lstride / VDE_ATOM; in tegra_vde_h264_setup_frame() 869 memset(vde->frames, 0, sizeof(vde->frames)); in tegra_vde_h264_setup_context() [all …]
|
| /drivers/most/ |
| A D | most_snd.c | 186 unsigned int frames; in copy_data() local 190 frames = mbo->processed_length / frame_bytes; in copy_data() 192 frames = mbo->buffer_length / frame_bytes; in copy_data() 193 fr0 = min(buffer_size - channel->buffer_pos, frames); in copy_data() 199 if (frames > fr0) { in copy_data() 203 (frames - fr0) * frame_bytes); in copy_data() 206 channel->buffer_pos += frames; in copy_data() 209 channel->period_pos += frames; in copy_data()
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-eth-debugfs.c | 77 if (!fq->stats.frames && !fcnt) in dpaa2_dbg_fqs_show() 85 fq->stats.frames, in dpaa2_dbg_fqs_show() 111 ch->stats.frames, in dpaa2_dbg_ch_show() 113 div64_u64(ch->stats.frames, ch->stats.cdan), in dpaa2_dbg_ch_show()
|
| /drivers/staging/media/atomisp/pci/camera/pipe/interface/ |
| A D | ia_css_pipe_util.h | 24 struct ia_css_frame *frames[]); 27 struct ia_css_frame *frames[],
|
| /drivers/media/usb/uvc/ |
| A D | uvc_v4l2.c | 286 u16 w = format->frames[i].wWidth; in uvc_v4l2_try_format() 287 u16 h = format->frames[i].wHeight; in uvc_v4l2_try_format() 293 frame = &format->frames[i]; in uvc_v4l2_try_format() 363 frame = &format->frames[i]; in uvc_v4l2_try_format() 539 if (&format->frames[i] == stream->cur_frame) in uvc_ioctl_s_parm() 551 frame = &format->frames[i]; in uvc_ioctl_s_parm() 975 frame->wHeight == format->frames[i].wHeight) in uvc_ioctl_enum_framesizes() 977 frame = &format->frames[i]; in uvc_ioctl_enum_framesizes() 1015 if (format->frames[i].wWidth == fival->width && in uvc_ioctl_enum_frameintervals() 1016 format->frames[i].wHeight == fival->height) { in uvc_ioctl_enum_frameintervals() [all …]
|
| /drivers/usb/gadget/legacy/ |
| A D | webcam.c | 546 INIT_LIST_HEAD(&uvcg_format_yuv.fmt.frames); in webcam_bind() 547 list_add_tail(&uvcg_frame_ptr_yuv_360p.entry, &uvcg_format_yuv.fmt.frames); in webcam_bind() 548 list_add_tail(&uvcg_frame_ptr_yuv_720p.entry, &uvcg_format_yuv.fmt.frames); in webcam_bind() 551 INIT_LIST_HEAD(&uvcg_format_mjpeg.fmt.frames); in webcam_bind() 552 list_add_tail(&uvcg_frame_ptr_mjpeg_360p.entry, &uvcg_format_mjpeg.fmt.frames); in webcam_bind() 553 list_add_tail(&uvcg_frame_ptr_mjpeg_720p.entry, &uvcg_format_mjpeg.fmt.frames); in webcam_bind()
|
| /drivers/usb/gadget/function/ |
| A D | u_uac1_legacy.c | 158 snd_pcm_sframes_t frames; in u_audio_playback() local 172 frames = bytes_to_frames(runtime, count); in u_audio_playback() 173 result = snd_pcm_kernel_write(snd->substream, buf, frames); in u_audio_playback() 174 if (result != frames) { in u_audio_playback()
|
| /drivers/soc/fsl/dpio/ |
| A D | dpio-service.c | 39 u64 frames; member 192 obj->frames = 0; in dpaa2_io_create() 881 void dpaa2_io_update_net_dim(struct dpaa2_io *d, __u64 frames, __u64 bytes) in dpaa2_io_update_net_dim() argument 891 d->frames += frames; in dpaa2_io_update_net_dim() 893 dim_update_sample(d->event_ctr, d->frames, d->bytes, &dim_sample); in dpaa2_io_update_net_dim()
|
| /drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/ |
| A D | ia_css_tnr.host.c | 91 const struct ia_css_frame * const *frames) in ia_css_tnr_configure() argument 97 config.tnr_frames[i] = frames[i]; in ia_css_tnr_configure()
|
| /drivers/net/hyperv/ |
| A D | netvsc_bpf.c | 248 struct xdp_frame **frames, u32 flags) in netvsc_ndoxdp_xmit() argument 273 return vf_ops->ndo_xdp_xmit(vf_netdev, n, frames, flags); in netvsc_ndoxdp_xmit() 279 if (netvsc_ndoxdp_xmit_fm(ndev, frames[i], q_idx)) in netvsc_ndoxdp_xmit()
|
| /drivers/net/wan/framer/ |
| A D | Kconfig | 10 Connected usually to a TDM bus, it converts TDM frames to/from E1/T1 11 frames. It also provides information related to the E1/T1 line.
|
| /drivers/media/usb/go7007/ |
| A D | snd-go7007.c | 68 int frames = bytes_to_frames(runtime, length); in parse_audio_stream_data() local 72 gosnd->hw_ptr += frames; in parse_audio_stream_data() 75 gosnd->avail += frames; in parse_audio_stream_data()
|
| /drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_xdp.c | 55 struct xdp_frame **frames, in lan966x_xdp_xmit() argument 62 struct xdp_frame *xdpf = frames[i]; in lan966x_xdp_xmit()
|
| /drivers/gpu/drm/panel/ |
| A D | panel-sharp-lq101r1sx01.c | 35 static void sharp_wait_frames(struct sharp_panel *sharp, unsigned int frames) in sharp_wait_frames() argument 39 if (WARN_ON(frames > refresh)) in sharp_wait_frames() 42 msleep(1000 / (refresh / frames)); in sharp_wait_frames()
|