Searched refs:IS_ALIGNED (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/sys/contrib/ncsw/inc/ |
| H A D | ncsw_ext.h | 184 #ifndef IS_ALIGNED 185 #define IS_ALIGNED(n,align) (!((uint32_t)(n) & (align - 1))) macro
|
| /freebsd-12.1/sys/dev/drm2/radeon/ |
| H A D | r600_cs.c | 423 if (!IS_ALIGNED(pitch, pitch_align)) { in r600_cs_track_validate_cb() 428 if (!IS_ALIGNED(height, height_align)) { in r600_cs_track_validate_cb() 433 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_cb() 614 if (!IS_ALIGNED(pitch, pitch_align)) { in r600_cs_track_validate_db() 619 if (!IS_ALIGNED(height, height_align)) { in r600_cs_track_validate_db() 624 if (!IS_ALIGNED(base_offset, base_align)) { in r600_cs_track_validate_db() 1647 if (!IS_ALIGNED(pitch, pitch_align)) { in r600_check_texture_resource() 1652 if (!IS_ALIGNED(base_offset, base_align)) { in r600_check_texture_resource() 1657 if (!IS_ALIGNED(mip_offset, base_align)) { in r600_check_texture_resource()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | kernel.h | 135 #define IS_ALIGNED(x, a) (((x) & ((__typeof(x))(a) - 1)) == 0) macro
|
| /freebsd-12.1/sys/dev/drm2/ |
| H A D | drm_os_freebsd.h | 258 #define IS_ALIGNED(x, y) (((x) & ((y) - 1)) == 0) macro
|
| /freebsd-12.1/sys/dev/oce/ |
| H A D | oce_if.h | 1143 #define IS_ALIGNED(x,a) ((x % a) == 0) macro
|
| H A D | oce_sysctl.c | 657 if (!IS_ALIGNED(fw->datasize, sizeof(uint32_t))) { in oce_lancer_fwupgrade()
|
| /freebsd-12.1/sys/contrib/ncsw/Peripherals/QM/ |
| H A D | qm_portal_fqr.c | 1366 if (!IS_ALIGNED(p_QmFqrParams->stashingParams.fqContextAddr, CACHELINE_SIZE)) in CheckStashParams()
|