Home
last modified time | relevance | path

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

12

/Linux-v5.4/sound/soc/bcm/
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-v5.4/arch/alpha/include/asm/
Derr_common.h88 u32 frame_length; member
93 u32 frame_length; member
100 u32 frame_length; member
104 u32 frame_length; member
/Linux-v5.4/drivers/staging/vt6656/
Dbaseband.c131 unsigned int frame_length, u16 tx_rate) in vnt_get_frame_time() argument
149 frame_time = (frame_length * 80) / rate; in vnt_get_frame_time()
152 if (frame_length != tmp) in vnt_get_frame_time()
157 frame_time = (frame_length * 8 + 22) / rate; in vnt_get_frame_time()
160 if (frame_length != tmp) in vnt_get_frame_time()
187 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field() argument
196 bit_count = frame_length * 8; in vnt_get_phy_field()
315 phy->len = cpu_to_le16((u16)frame_length); in vnt_get_phy_field()
Dbaseband.h77 unsigned int frame_length, u16 tx_rate);
79 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
Drxtx.c107 u32 frame_length, u16 rate, int need_ack) in vnt_get_rsvtime() argument
112 frame_length, rate); in vnt_get_rsvtime()
128 u32 frame_length, u16 rate, int need_ack) in vnt_rxtx_rsvtime_le16() argument
131 frame_length, rate, need_ack)); in vnt_rxtx_rsvtime_le16()
135 u8 pkt_type, u32 frame_length, in vnt_get_rtscts_rsvtime_le() argument
146 frame_length, current_rate); in vnt_get_rtscts_rsvtime_le()
213 u32 frame_length = context->frame_len; in vnt_get_rtscts_duration_le() local
225 frame_length, rate, need_ack); in vnt_get_rtscts_duration_le()
235 frame_length, rate, need_ack); in vnt_get_rtscts_duration_le()
242 pkt_type, frame_length, rate, need_ack); in vnt_get_rtscts_duration_le()
/Linux-v5.4/drivers/media/i2c/
Dimx274.c1410 u32 *frame_length) in imx274_clamp_coarse_time() argument
1414 err = imx274_get_frame_length(priv, frame_length); in imx274_clamp_coarse_time()
1418 if (*frame_length < priv->mode->min_frame_len) in imx274_clamp_coarse_time()
1419 *frame_length = priv->mode->min_frame_len; in imx274_clamp_coarse_time()
1421 *val = *frame_length - *val; /* convert to raw shr */ in imx274_clamp_coarse_time()
1422 if (*val > *frame_length - IMX274_SHR_LIMIT_CONST) in imx274_clamp_coarse_time()
1423 *val = *frame_length - IMX274_SHR_LIMIT_CONST; in imx274_clamp_coarse_time()
1546 u32 coarse_time, frame_length; in imx274_set_coarse_time() local
1551 err = imx274_clamp_coarse_time(priv, &coarse_time, &frame_length); in imx274_set_coarse_time()
1559 *val = frame_length - coarse_time; in imx274_set_coarse_time()
[all …]
/Linux-v5.4/sound/soc/atmel/
Dmchp-i2s-mcc.c239 unsigned int frame_length; member
315 dev->frame_length = ratio; in mchp_i2s_mcc_set_bclk_ratio()
366 dev->frame_length = slots * MCHP_I2MCC_TDM_SLOT_WIDTH; in mchp_i2s_mcc_set_dai_tdm_slot()
494 unsigned int frame_length = dev->frame_length; in mchp_i2s_mcc_hw_params() local
566 if (!frame_length) in mchp_i2s_mcc_hw_params()
567 frame_length = 2 * params_physical_width(params); in mchp_i2s_mcc_hw_params()
584 if (!frame_length) in mchp_i2s_mcc_hw_params()
585 frame_length = channels * MCHP_I2MCC_TDM_SLOT_WIDTH; in mchp_i2s_mcc_hw_params()
629 bclk_rate = frame_length * params_rate(params); in mchp_i2s_mcc_hw_params()
/Linux-v5.4/sound/soc/ux500/
Dux500_msp_dai.c132 u32 frame_length = MSP_FRAME_LEN_1; in setup_pcm_framing() local
138 frame_length = MSP_FRAME_LEN_1; in setup_pcm_framing()
142 frame_length = MSP_FRAME_LEN_2; in setup_pcm_framing()
146 frame_length = MSP_FRAME_LEN_8; in setup_pcm_framing()
150 frame_length = MSP_FRAME_LEN_16; in setup_pcm_framing()
159 prot_desc->tx_frame_len_1 = frame_length; in setup_pcm_framing()
160 prot_desc->rx_frame_len_1 = frame_length; in setup_pcm_framing()
161 prot_desc->tx_frame_len_2 = frame_length; in setup_pcm_framing()
162 prot_desc->rx_frame_len_2 = frame_length; in setup_pcm_framing()
/Linux-v5.4/arch/alpha/kernel/
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-v5.4/drivers/scsi/
Dmvumi.h373 u16 frame_length; member
400 u16 frame_length; member
420 u16 frame_length; member
437 u16 frame_length; member
449 u16 frame_length; member
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-v5.4/drivers/staging/vt6655/
Dbaseband.h54 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length,
Dbaseband.c1764 void vnt_get_phy_field(struct vnt_private *priv, u32 frame_length, in vnt_get_phy_field() argument
1773 bit_count = frame_length * 8; in vnt_get_phy_field()
1892 phy->len = cpu_to_le16((u16)frame_length); in vnt_get_phy_field()
/Linux-v5.4/drivers/net/ethernet/apple/
Dmacmace.c651 unsigned int frame_length = mf->rcvcnt + ((frame_status & 0x0F) << 8 ); in mace_dma_rx_frame() local
653 skb = netdev_alloc_skb(dev, frame_length + 2); in mace_dma_rx_frame()
659 skb_put_data(skb, mf->data, frame_length); in mace_dma_rx_frame()
664 dev->stats.rx_bytes += frame_length; in mace_dma_rx_frame()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_main.c1344 unsigned int frame_length, in lan743x_tx_frame_start() argument
1370 tx_descriptor->data3 = (frame_length << 16) & in lan743x_tx_frame_start()
1396 unsigned int frame_length, in lan743x_tx_frame_add_lso() argument
1429 tx->frame_data0 = (frame_length & TX_DESC_DATA0_EXT_PAY_LENGTH_MASK_) | in lan743x_tx_frame_add_lso()
1438 unsigned int frame_length) in lan743x_tx_frame_add_fragment() argument
1484 tx_descriptor->data3 = (frame_length << 16) & in lan743x_tx_frame_add_fragment()
1551 unsigned int frame_length = 0; in lan743x_tx_xmit_frame() local
1585 frame_length = skb_pagelen(skb); in lan743x_tx_xmit_frame()
1587 start_frame_length = frame_length; in lan743x_tx_xmit_frame()
1604 lan743x_tx_frame_add_lso(tx, frame_length, nr_frags); in lan743x_tx_xmit_frame()
[all …]
/Linux-v5.4/include/trace/events/
Dspi.h102 __entry->frame = msg->frame_length;
/Linux-v5.4/drivers/spi/
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()
457 trans.len = m->frame_length; in fsl_espi_do_one_msg()
Dspi-loopback-test.c411 msg->frame_length); in spi_test_dump_message()
924 if (msg->frame_length != msg->actual_length) { in spi_test_execute_msg()
/Linux-v5.4/drivers/staging/fsl-dpaa2/ethsw/
Ddpsw.c721 u16 frame_length) in dpsw_if_set_max_frame_length() argument
732 cmd_params->frame_length = cpu_to_le16(frame_length); in dpsw_if_set_max_frame_length()
Ddpsw-cmd.h253 __le16 frame_length; member
Ddpsw.h377 u16 frame_length);
/Linux-v5.4/drivers/media/dvb-frontends/
Dstb0899_priv.h192 enum stb0899_frame frame_length; member
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
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()
/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbna_hw_defs.h372 u32 frame_length; /* Only 24 LSB are valid */ member
Dbfi_enet.h80 u32 frame_length; /* Only 24 LSB are valid */ member

12