Searched refs:pos_adj (Results 1 – 1 of 1) sorted by relevance
339 int pos_adj = 0; in azx_setup_periods() local354 pos_adj = chip->bdl_pos_adj[chip->dev_index]; in azx_setup_periods()355 if (!azx_dev->no_period_wakeup && pos_adj > 0) { in azx_setup_periods()357 int pos_align = pos_adj; in azx_setup_periods()358 pos_adj = (pos_adj * runtime->rate + 47999) / 48000; in azx_setup_periods()359 if (!pos_adj) in azx_setup_periods()360 pos_adj = pos_align; in azx_setup_periods()362 pos_adj = ((pos_adj + pos_align - 1) / pos_align) * in azx_setup_periods()364 pos_adj = frames_to_bytes(runtime, pos_adj); in azx_setup_periods()365 if (pos_adj >= period_bytes) { in azx_setup_periods()[all …]