Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dscan.c1220 u8 *current_ptr; in mwifiex_update_bss_desc_with_ie() local
1234 current_ptr = bss_entry->beacon_buf; in mwifiex_update_bss_desc_with_ie()
1239 element_id = *current_ptr; in mwifiex_update_bss_desc_with_ie()
1240 element_len = *(current_ptr + 1); in mwifiex_update_bss_desc_with_ie()
1254 memcpy(bss_entry->ssid.ssid, (current_ptr + 2), in mwifiex_update_bss_desc_with_ie()
1264 memcpy(bss_entry->data_rates, current_ptr + 2, in mwifiex_update_bss_desc_with_ie()
1266 memcpy(bss_entry->supported_rates, current_ptr + 2, in mwifiex_update_bss_desc_with_ie()
1276 (struct ieee_types_fh_param_set *) current_ptr; in mwifiex_update_bss_desc_with_ie()
1286 (struct ieee_types_ds_param_set *) current_ptr; in mwifiex_update_bss_desc_with_ie()
1299 (struct ieee_types_cf_param_set *) current_ptr; in mwifiex_update_bss_desc_with_ie()
[all …]
/Linux-v5.10/sound/pci/
Dals300.c516 u16 current_ptr; in snd_als300_pointer() local
525 current_ptr = (u16) snd_als300_gcr_read(chip->port, in snd_als300_pointer()
528 if (current_ptr > period_bytes) in snd_als300_pointer()
529 current_ptr = 0; in snd_als300_pointer()
531 current_ptr = period_bytes - current_ptr; in snd_als300_pointer()
534 current_ptr += period_bytes; in snd_als300_pointer()
535 snd_als300_dbgplay("Pointer (bytes): %d\n", current_ptr); in snd_als300_pointer()
536 return bytes_to_frames(substream->runtime, current_ptr); in snd_als300_pointer()
/Linux-v5.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-v5.10/sound/pci/aw2/
Daw2-alsa.c522 unsigned int current_ptr; in snd_aw2_pcm_pointer_playback() local
526 current_ptr = in snd_aw2_pcm_pointer_playback()
532 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_playback()
541 unsigned int current_ptr; in snd_aw2_pcm_pointer_capture() local
545 current_ptr = in snd_aw2_pcm_pointer_capture()
551 return bytes_to_frames(substream->runtime, current_ptr); in snd_aw2_pcm_pointer_capture()
/Linux-v5.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;