Home
last modified time | relevance | path

Searched refs:frame_length (Results 1 – 25 of 40) sorted by relevance

12

/linux/sound/soc/bcm/
H A Dbcm2835-i2s.c120 unsigned int frame_length; member
244 dev->frame_length = ratio; in bcm2835_i2s_set_dai_bclk_ratio()
280 dev->frame_length = slots * width; in bcm2835_i2s_set_dai_tdm_slot()
336 int frame_length, bclk_rate; in bcm2835_i2s_hw_params() local
363 frame_length = dev->frame_length; in bcm2835_i2s_hw_params()
366 bclk_rate = dev->frame_length * params_rate(params); in bcm2835_i2s_hw_params()
373 frame_length = snd_soc_params_to_frame_size(params); in bcm2835_i2s_hw_params()
374 if (frame_length < 0) in bcm2835_i2s_hw_params()
375 return frame_length; in bcm2835_i2s_hw_params()
457 framesync_length = frame_length / 2; in bcm2835_i2s_hw_params()
[all …]
/linux/arch/alpha/include/asm/
H A Derr_common.h88 u32 frame_length; member
93 u32 frame_length; member
100 u32 frame_length; member
104 u32 frame_length; member
/linux/sound/soc/ux500/
H A Dux500_msp_dai.c129 u32 frame_length = MSP_FRAME_LEN_1; in setup_pcm_framing() local
135 frame_length = MSP_FRAME_LEN_1; in setup_pcm_framing()
139 frame_length = MSP_FRAME_LEN_2; in setup_pcm_framing()
143 frame_length = MSP_FRAME_LEN_8; in setup_pcm_framing()
147 frame_length = MSP_FRAME_LEN_16; in setup_pcm_framing()
156 prot_desc->tx_frame_len_1 = frame_length; in setup_pcm_framing()
157 prot_desc->rx_frame_len_1 = frame_length; in setup_pcm_framing()
158 prot_desc->tx_frame_len_2 = frame_length; in setup_pcm_framing()
159 prot_desc->rx_frame_len_2 = frame_length; in setup_pcm_framing()
/linux/drivers/media/i2c/
H A Dimx274.c1529 u32 *frame_length) in imx274_clamp_coarse_time() argument
1533 err = imx274_get_frame_length(priv, frame_length); in imx274_clamp_coarse_time()
1537 if (*frame_length < priv->mode->min_frame_len) in imx274_clamp_coarse_time()
1538 *frame_length = priv->mode->min_frame_len; in imx274_clamp_coarse_time()
1540 *val = *frame_length - *val; /* convert to raw shr */ in imx274_clamp_coarse_time()
1541 if (*val > *frame_length - IMX274_SHR_LIMIT_CONST) in imx274_clamp_coarse_time()
1542 *val = *frame_length - IMX274_SHR_LIMIT_CONST; in imx274_clamp_coarse_time()
1665 u32 coarse_time, frame_length; in imx274_set_coarse_time() local
1670 err = imx274_clamp_coarse_time(priv, &coarse_time, &frame_length); in imx274_set_coarse_time()
1678 *val = frame_length - coarse_time; in imx274_set_coarse_time()
[all …]
H A Dhi846.c1501 u64 frame_length; in hi846_set_video_mode() local
1510 frame_length = link_freq; in hi846_set_video_mode()
1511 do_div(frame_length, HI846_LINE_LENGTH); in hi846_set_video_mode()
1513 dummy_lines = (frame_length > hi846->cur_mode->frame_len) ? in hi846_set_video_mode()
1514 (frame_length - hi846->cur_mode->frame_len) : 0; in hi846_set_video_mode()
1516 frame_length = hi846->cur_mode->frame_len + dummy_lines; in hi846_set_video_mode()
1519 frame_length); in hi846_set_video_mode()
1521 hi846_write_reg_16(hi846, HI846_REG_FLL, frame_length & 0xFFFF, &ret); in hi846_set_video_mode()
H A Dvgxy61.c423 u16 frame_length; member
877 ((sensor->frame_length - sensor->current_mode->crop.height - in vgxy61_get_expo_long_max()
885 (((sensor->frame_length - VGXY61_EXPOS_ROT_TERM) * in vgxy61_get_expo_long_max()
892 third_rot_max_expo = (sensor->frame_length / 71) * short_expo_ratio; in vgxy61_get_expo_long_max()
943 expo_long_max = sensor->frame_length - VGXY61_EXPOS_ROT_TERM; in vgxy61_update_exposure()
974 sensor->frame_length, NULL); in vgxy61_apply_framelength()
984 sensor->frame_length = sensor->current_mode->crop.height + in vgxy61_update_vblank()
/linux/arch/alpha/kernel/
H A Derr_common.c106 length = header->by_type.sys_err.frame_length; in el_process_header_subpacket()
113 length = header->by_type.sys_event.frame_length; in el_process_header_subpacket()
120 length = header->by_type.err_halt.frame_length; in el_process_header_subpacket()
127 length = header->by_type.logout_header.frame_length; in el_process_header_subpacket()
/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c257 unsigned int frame_length; member
346 dev->frame_length = ratio; in mchp_i2s_mcc_set_bclk_ratio()
397 dev->frame_length = slots * MCHP_I2MCC_TDM_SLOT_WIDTH; in mchp_i2s_mcc_set_dai_tdm_slot()
543 unsigned int frame_length = dev->frame_length; in mchp_i2s_mcc_hw_params() local
632 if (!frame_length) in mchp_i2s_mcc_hw_params()
633 frame_length = 2 * params_physical_width(params); in mchp_i2s_mcc_hw_params()
652 if (!frame_length) in mchp_i2s_mcc_hw_params()
653 frame_length = channels * MCHP_I2MCC_TDM_SLOT_WIDTH; in mchp_i2s_mcc_hw_params()
698 bclk_rate = frame_length * params_rate(params); in mchp_i2s_mcc_hw_params()
/linux/drivers/scsi/
H A Dmvumi.h382 u16 frame_length; member
409 u16 frame_length; member
429 u16 frame_length; member
446 u16 frame_length; member
458 u16 frame_length; member
H A Dmvumi.c842 hs_header->frame_length = sizeof(*hs_page2) - 4; in mvumi_hs_build_page()
843 memset(hs_header->frame_content, 0, hs_header->frame_length); in mvumi_hs_build_page()
859 hs_header->frame_length); in mvumi_hs_build_page()
864 hs_header->frame_length = sizeof(*hs_page3) - 4; in mvumi_hs_build_page()
865 memset(hs_header->frame_content, 0, hs_header->frame_length); in mvumi_hs_build_page()
867 hs_header->frame_length); in mvumi_hs_build_page()
872 hs_header->frame_length = sizeof(*hs_page4) - 4; in mvumi_hs_build_page()
873 memset(hs_header->frame_content, 0, hs_header->frame_length); in mvumi_hs_build_page()
894 hs_header->frame_length); in mvumi_hs_build_page()
1044 hs_header->frame_length); in mvumi_hs_process_page()
/linux/drivers/staging/vt6655/
H A Dbaseband.c1759 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field() argument
1768 bit_count = frame_length * 8; in vnt_get_phy_field()
1887 phy->len = cpu_to_le16((u16)frame_length); in vnt_get_phy_field()
H A Dbaseband.h52 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
H A Drxtx.c184 u32 frame_length, u16 rate, bool need_ack) in vnt_rxtx_rsvtime_le16() argument
187 frame_length, rate, need_ack)); in vnt_rxtx_rsvtime_le16()
194 unsigned int frame_length, in get_rtscts_time() argument
203 data_time = bb_get_frame_time(priv->preamble_type, pkt_type, frame_length, current_rate); in get_rtscts_time()
/linux/sound/soc/codecs/
H A Drtq9128.c468 int i, frame_length, ret; in rtq9128_dai_set_tdm_slot() local
479 frame_length = slots * slot_width; in rtq9128_dai_set_tdm_slot()
480 if (frame_length > 512) { in rtq9128_dai_set_tdm_slot()
481 dev_err(dev, "frame length exceed the maximum (%d)\n", frame_length); in rtq9128_dai_set_tdm_slot()
/linux/drivers/net/ethernet/apple/
H A Dmacmace.c655 unsigned int frame_length = mf->rcvcnt + ((frame_status & 0x0F) << 8 ); in mace_dma_rx_frame() local
657 skb = netdev_alloc_skb(dev, frame_length + 2); in mace_dma_rx_frame()
663 skb_put_data(skb, mf->data, frame_length); in mace_dma_rx_frame()
668 dev->stats.rx_bytes += frame_length; in mace_dma_rx_frame()
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c1752 unsigned int frame_length, in lan743x_tx_frame_start() argument
1778 tx_descriptor->data3 = cpu_to_le32((frame_length << 16) & in lan743x_tx_frame_start()
1804 unsigned int frame_length, in lan743x_tx_frame_add_lso() argument
1837 tx->frame_data0 = (frame_length & TX_DESC_DATA0_EXT_PAY_LENGTH_MASK_) | in lan743x_tx_frame_add_lso()
1846 unsigned int frame_length) in lan743x_tx_frame_add_fragment() argument
1892 tx_descriptor->data3 = cpu_to_le32((frame_length << 16) & in lan743x_tx_frame_add_fragment()
1960 unsigned int frame_length = 0; in lan743x_tx_xmit_frame() local
1998 frame_length = skb_pagelen(skb); in lan743x_tx_xmit_frame()
2000 start_frame_length = frame_length; in lan743x_tx_xmit_frame()
2018 lan743x_tx_frame_add_lso(tx, frame_length, nr_frags); in lan743x_tx_xmit_frame()
[all …]
/linux/drivers/spi/
H A Dspi-fsl-espi.c154 if (m->frame_length > SPCOM_TRANLEN_MAX) { in fsl_espi_check_message()
156 m->frame_length); in fsl_espi_check_message()
458 trans.len = m->frame_length; in fsl_espi_do_one_msg()
H A Dspi-loopback-test.c454 msg->frame_length); in spi_test_dump_message()
968 if (msg->frame_length != msg->actual_length) { in spi_test_execute_msg()
/linux/drivers/staging/vt6656/
H A Drxtx.c82 static void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field() argument
94 bit_count = frame_length * 8; in vnt_get_phy_field()
138 phy->len = cpu_to_le16((u16)frame_length); in vnt_get_phy_field()
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h64 u32 frame_length; member
/linux/drivers/media/dvb-frontends/
H A Dstb0899_priv.h192 enum stb0899_frame frame_length; member
/linux/include/trace/events/
H A Dspi.h159 __entry->frame = msg->frame_length;
/linux/include/uapi/sound/
H A Dcompress_params.h308 __u32 frame_length; member
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_api_mib.h238 __le16 frame_length; member
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00queue.c139 unsigned int frame_length = skb->len; in rt2x00queue_align_frame() local
146 memmove(skb->data, skb->data + align, frame_length); in rt2x00queue_align_frame()
147 skb_trim(skb, frame_length); in rt2x00queue_align_frame()

12