Searched refs:w_idx (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/media/usb/go7007/ |
H A D | snd-go7007.c | 40 int w_idx; member 77 if (gosnd->w_idx + length > runtime->dma_bytes) { in parse_audio_stream_data() 78 int cpy = runtime->dma_bytes - gosnd->w_idx; in parse_audio_stream_data() 80 memcpy(runtime->dma_area + gosnd->w_idx, buf, cpy); in parse_audio_stream_data() 83 gosnd->w_idx = 0; in parse_audio_stream_data() 85 memcpy(runtime->dma_area + gosnd->w_idx, buf, length); in parse_audio_stream_data() 86 gosnd->w_idx += length; in parse_audio_stream_data() 159 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_pcm_trigger() 214 gosnd->hw_ptr = gosnd->w_idx = gosnd->avail = 0; in go7007_snd_init()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | lparcfg.c | 385 int idx, w_idx; in parse_system_parameter_string() local 394 w_idx = 0; in parse_system_parameter_string() 397 workbuffer[w_idx++] = local_buffer[idx++]; in parse_system_parameter_string() 400 workbuffer[w_idx] = '\0'; in parse_system_parameter_string() 401 if (w_idx) { in parse_system_parameter_string() 407 w_idx = 0; in parse_system_parameter_string() 414 w_idx = strlen(workbuffer); in parse_system_parameter_string() 419 w_idx = strlen(workbuffer); in parse_system_parameter_string()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/pcie/ |
H A D | pearl_pcie.c | 717 u16 w_idx; in qtnf_pcie_pearl_rx_poll() local 781 w_idx = priv->rx_bd_w_index; in qtnf_pcie_pearl_rx_poll() 784 if (++w_idx >= priv->rx_bd_num) in qtnf_pcie_pearl_rx_poll() 785 w_idx = 0; in qtnf_pcie_pearl_rx_poll() 787 ret = pearl_skb2rbd_attach(ps, w_idx); in qtnf_pcie_pearl_rx_poll() 790 w_idx); in qtnf_pcie_pearl_rx_poll()
|
H A D | topaz_pcie.c | 622 u16 w_idx; in qtnf_topaz_rx_poll() local 692 w_idx = priv->rx_bd_w_index; in qtnf_topaz_rx_poll() 695 if (++w_idx >= priv->rx_bd_num) in qtnf_topaz_rx_poll() 696 w_idx = 0; in qtnf_topaz_rx_poll() 698 ret = topaz_skb2rbd_attach(ts, w_idx, in qtnf_topaz_rx_poll() 702 w_idx); in qtnf_topaz_rx_poll()
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A D | sh_vou.c | 418 int pix_idx, int w_idx, int h_idx) in sh_vou_configure_geometry() argument 480 if (w_idx) in sh_vou_configure_geometry() 481 vouvcr |= (1 << 15) | (vou_scale_h_fld[w_idx - 1] << 4); in sh_vou_configure_geometry()
|