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