Home
last modified time | relevance | path

Searched refs:exp_offset (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dcustom_float.c35 uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1; in build_custom_float() local
67 if (exp_offset <= i) { in build_custom_float()
73 *exponenta = exp_offset - i; in build_custom_float()
82 *exponenta = exp_offset + i - 1; in build_custom_float()
84 *exponenta = exp_offset; in build_custom_float()
/linux/drivers/gpu/drm/amd/display/dc/spl/
H A Dspl_custom_float.c14 uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1; in spl_build_custom_float() local
46 if (exp_offset <= i) { in spl_build_custom_float()
52 *exponenta = exp_offset - i; in spl_build_custom_float()
61 *exponenta = exp_offset + i - 1; in spl_build_custom_float()
63 *exponenta = exp_offset; in spl_build_custom_float()
/linux/drivers/scsi/esas2r/
H A Desas2r_main.c766 if (likely(sgc->cur_offset == sgc->exp_offset)) { in get_physaddr_from_sgc()
774 if (sgc->exp_offset > (u8 *)0) { in get_physaddr_from_sgc()
785 sgc->exp_offset += len; in get_physaddr_from_sgc()
790 } else if (sgc->cur_offset < sgc->exp_offset) { in get_physaddr_from_sgc()
799 sgc->exp_offset -= len; in get_physaddr_from_sgc()
803 (sgc->cur_offset - sgc->exp_offset); in get_physaddr_from_sgc()
805 sgc->exp_offset += len; in get_physaddr_from_sgc()
809 sgc->exp_offset - sgc->cur_offset); in get_physaddr_from_sgc()
867 sgc.exp_offset = NULL; in esas2r_queuecommand()
H A Desas2r.h621 u8 *exp_offset; member