Home
last modified time | relevance | path

Searched refs:current_ptr (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dscan.c1219 u8 *current_ptr; in mwifiex_update_bss_desc_with_ie() local
1233 current_ptr = bss_entry->beacon_buf; in mwifiex_update_bss_desc_with_ie()
1238 element_id = *current_ptr; in mwifiex_update_bss_desc_with_ie()
1239 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie()
1253 memcpy(bss_entry->ssid.ssid, (current_ptr + 2), in mwifiex_update_bss_desc_with_ie()
1263 memcpy(bss_entry->data_rates, current_ptr + 2, in mwifiex_update_bss_desc_with_ie()
1265 memcpy(bss_entry->supported_rates, current_ptr + 2, in mwifiex_update_bss_desc_with_ie()
1275 (struct ieee_types_fh_param_set *) current_ptr; in mwifiex_update_bss_desc_with_ie()
1285 (struct ieee_types_ds_param_set *) current_ptr; in mwifiex_update_bss_desc_with_ie()
1298 (struct ieee_types_cf_param_set *) current_ptr; in mwifiex_update_bss_desc_with_ie()
[all …]
/linux-5.19.10/sound/pci/
Dals300.c501 u16 current_ptr; in snd_als300_pointer() local
510 current_ptr = (u16) snd_als300_gcr_read(chip->port, in snd_als300_pointer()
513 if (current_ptr > period_bytes) in snd_als300_pointer()
514 current_ptr = 0; in snd_als300_pointer()
516 current_ptr = period_bytes - current_ptr; in snd_als300_pointer()
519 current_ptr += period_bytes; in snd_als300_pointer()
520 snd_als300_dbgplay("Pointer (bytes): %d\n", current_ptr); in snd_als300_pointer()
521 return bytes_to_frames(substream->runtime, current_ptr); in snd_als300_pointer()
/linux-5.19.10/sound/pci/au88x0/
Dau88x0_pcm.c404 snd_pcm_uframes_t current_ptr = 0; in snd_vortex_pcm_pointer() local
408 current_ptr = vortex_adbdma_getlinearpos(chip, dma); in snd_vortex_pcm_pointer()
411 current_ptr = vortex_wtdma_getlinearpos(chip, dma); in snd_vortex_pcm_pointer()
415 current_ptr = bytes_to_frames(substream->runtime, current_ptr); in snd_vortex_pcm_pointer()
416 if (current_ptr >= substream->runtime->buffer_size) in snd_vortex_pcm_pointer()
417 current_ptr = 0; in snd_vortex_pcm_pointer()
418 return current_ptr; in snd_vortex_pcm_pointer()
/linux-5.19.10/sound/pci/aw2/
Daw2-alsa.c459 unsigned int current_ptr; in snd_aw2_pcm_pointer_playback() local
463 current_ptr = in snd_aw2_pcm_pointer_playback()
469 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()
478 unsigned int current_ptr; in snd_aw2_pcm_pointer_capture() local
482 current_ptr = in snd_aw2_pcm_pointer_capture()
488 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
/linux-5.19.10/Documentation/sound/kernel-api/
Dwriting-an-alsa-driver.rst1340 unsigned int current_ptr;
1343 current_ptr = mychip_get_hw_pointer(chip);
1344 return current_ptr;