Home
last modified time | relevance | path

Searched refs:sz_slot_buf_ru (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2159 int max_command_entries_ru, sz_slot_buf_ru; in hisi_sas_alloc() local
2223 sz_slot_buf_ru = sizeof(struct hisi_sas_slot_dif_buf_table); in hisi_sas_alloc()
2225 sz_slot_buf_ru = sizeof(struct hisi_sas_slot_buf_table); in hisi_sas_alloc()
2226 sz_slot_buf_ru = roundup(sz_slot_buf_ru, 64); in hisi_sas_alloc()
2227 s = max(lcm(max_command_entries_ru, sz_slot_buf_ru), PAGE_SIZE); in hisi_sas_alloc()
2228 blk_cnt = (max_command_entries_ru * sz_slot_buf_ru) / s; in hisi_sas_alloc()
2229 slots_per_blk = s / sz_slot_buf_ru; in hisi_sas_alloc()
2249 buf += sz_slot_buf_ru; in hisi_sas_alloc()
2250 buf_dma += sz_slot_buf_ru; in hisi_sas_alloc()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2317 int max_command_entries_ru, sz_slot_buf_ru; in hisi_sas_alloc() local
2380 sz_slot_buf_ru = sizeof(struct hisi_sas_slot_dif_buf_table); in hisi_sas_alloc()
2382 sz_slot_buf_ru = sizeof(struct hisi_sas_slot_buf_table); in hisi_sas_alloc()
2383 sz_slot_buf_ru = roundup(sz_slot_buf_ru, 64); in hisi_sas_alloc()
2384 s = max(lcm(max_command_entries_ru, sz_slot_buf_ru), PAGE_SIZE); in hisi_sas_alloc()
2385 blk_cnt = (max_command_entries_ru * sz_slot_buf_ru) / s; in hisi_sas_alloc()
2386 slots_per_blk = s / sz_slot_buf_ru; in hisi_sas_alloc()
2406 buf += sz_slot_buf_ru; in hisi_sas_alloc()
2407 buf_dma += sz_slot_buf_ru; in hisi_sas_alloc()
[all...]

Completed in 8 milliseconds