summaryrefslogtreecommitdiff
path: root/scripts/include/array_size.h
blob: 26ba78d867d160dbb7e8280bfcae5ce511b3429f (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ARRAY_SIZE_H
#define ARRAY_SIZE_H

/**
 * ARRAY_SIZE - get the number of elements in array @arr
 * @arr: array to be sized
 */
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))

#endif /* ARRAY_SIZE_H */
st?h=linux-6.6.y&id=218151e997449717cbb70f304b7b8f9918ba6af4'>drm/i915/guc: improve documentationDaniele Ceraolo Spurio 2019-10-17drm/i915: Add microcontrollers documentation sectionDaniele Ceraolo Spurio 2019-09-23drm/i915/dsb: Documentation for DSB.Animesh Manna 2019-08-30drm/i915: Indent GuC/WOPCM documentation sectionsJoonas Lahtinen 2019-08-30drm/i915: Remove link to missing "Batchbuffer Pools" documentationJoonas Lahtinen 2019-08-16drm/i915: Extract intel_frontbuffer active trackingChris Wilson 2019-07-25drm/i915/uc: Move uc firmware layout definitions to dedicated fileMichal Wajdeczko 2019-07-25drm/i915/uc: Update drawing for firmware layoutMichal Wajdeczko 2019-07-25drm/i915: Fix GuC documentation linksMichal Wajdeczko 2019-06-18Documentation/i915: fix file references after display/ subdir renamesJani Nikula 2019-06-06drm/i915: fix documentation build warningsJani Nikula 2019-06-06Documentation/i915: Fix kernel-doc references to moved gem filesJani Nikula 2019-06-05Documentation/i915: Fix references to renamed filesMauro Carvalho Chehab 2018-04-11drm/i915: Move a bunch of workaround-related code to its own fileOscar Mateo 2018-04-06drm/i915: Add link to documentation in i915_gem_execbuffer.cKevin Rogovin 2018-04-06drm/i915: Narration overview on GEMKevin Rogovin 2018-03-28drm/i915: Use correct reST syntax for WOPCM and GuC kernel-doc diagramsYaodong Li 2017-12-12docs: fix, intel_guc_loader.c has been moved to intel_guc_fw.cMarkus Heiser 2017-12-04documentation/gpu/i915: fix docs build error after file renameRandy Dunlap 2017-11-16drm/i915/guc: Rename i915_guc_submission.c|h to intel_guc_submission.c|hSagar Arun Kamble 2017-08-10drm/i915: add register macro definition style guideJani Nikula 2017-08-10Documentation/i915: remove sphinx conversion artefactJani Nikula 2017-08-03drm/i915/perf: Implement I915_PERF_ADD/REMOVE_CONFIG interfaceLionel Landwerlin 2017-03-08Merge tag 'drm-intel-next-2017-03-06' of git://anongit.freedesktop.org/git/dr...Dave Airlie 2017-02-23Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlie...Linus Torvalds 2017-02-08drm/i915: Move most cdclk/rawclk related code to intel_cdclk.cVille Syrjälä 2017-01-26Documentation/gpu: Move LPE audio section after HD-audioTakashi Iwai 2017-01-25drm/i915: setup bridge for HDMI LPE audio driverJerome Anand 2016-12-30drm/i915: Update kerneldoc for intel_dpll_mgr.cAnder Conselvan de Oliveira 2016-12-09drm/i915/perf: More documentation hooked to i915.rstRobert Bragg 2016-11-15drm/i915: Fixup kerneldoc includesDaniel Vetter 2016-10-28drm/i915: Move DPIO phy documentation section to intel_dpio_phy.cAnder Conselvan de Oliveira 2016-10-20Documentation/gpu: Add section for Intel GVT-g host supportZhenyu Wang 2016-08-04drm/i915: Separate intel_frontbuffer into its own headerChris Wilson 2016-06-21Documentation/gpu: use recommended order of heading markersJani Nikula 2016-06-21Documentation/gpu: split up the gpu documentationJani Nikula