Searched refs:addr_aligned (Results 1 – 2 of 2) sorted by relevance
14 static int addr_aligned(struct bounce_buffer *state) in addr_aligned() function43 if (!addr_aligned(state)) { in bounce_buffer_start()
141 u32 addr_aligned, offset, remain; in rksfc_nor_simply_over_write() local143 addr_aligned = sec / NOR_SECS_PAGE * NOR_SECS_PAGE; in rksfc_nor_simply_over_write()144 offset = sec - addr_aligned; in rksfc_nor_simply_over_write()148 snor_read(p_dev, addr_aligned, remain, pbuf_temp); in rksfc_nor_simply_over_write()150 snor_write(p_dev, addr_aligned, remain, pbuf_temp); in rksfc_nor_simply_over_write()