clk-uniphier-sys.c 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311
  1. /*
  2. * Copyright (C) 2016 Socionext Inc.
  3. * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. */
  15. #include <linux/stddef.h>
  16. #include "clk-uniphier.h"
  17. #define UNIPHIER_LD4_SYS_CLK_SD \
  18. UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 8), \
  19. UNIPHIER_CLK_FACTOR("sd-133m", -1, "vpll27a", 1, 2)
  20. #define UNIPHIER_PRO5_SYS_CLK_SD \
  21. UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 12), \
  22. UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 18)
  23. #define UNIPHIER_LD20_SYS_CLK_SD \
  24. UNIPHIER_CLK_FACTOR("sd-200m", -1, "spll", 1, 10), \
  25. UNIPHIER_CLK_FACTOR("sd-133m", -1, "spll", 1, 15)
  26. #define UNIPHIER_LD4_SYS_CLK_NAND(idx) \
  27. UNIPHIER_CLK_FACTOR("nand-50m", -1, "spll", 1, 32), \
  28. UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x2104, 2)
  29. #define UNIPHIER_PRO5_SYS_CLK_NAND(idx) \
  30. UNIPHIER_CLK_FACTOR("nand-50m", -1, "spll", 1, 48), \
  31. UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x2104, 2)
  32. #define UNIPHIER_LD11_SYS_CLK_NAND(idx) \
  33. UNIPHIER_CLK_FACTOR("nand-50m", -1, "spll", 1, 40), \
  34. UNIPHIER_CLK_GATE("nand", (idx), "nand-50m", 0x210c, 0)
  35. #define UNIPHIER_SYS_CLK_NAND_4X(idx) \
  36. UNIPHIER_CLK_FACTOR("nand-4x", (idx), "nand", 4, 1)
  37. #define UNIPHIER_LD11_SYS_CLK_EMMC(idx) \
  38. UNIPHIER_CLK_GATE("emmc", (idx), NULL, 0x210c, 2)
  39. #define UNIPHIER_LD4_SYS_CLK_STDMAC(idx) \
  40. UNIPHIER_CLK_GATE("stdmac", (idx), NULL, 0x2104, 10)
  41. #define UNIPHIER_LD11_SYS_CLK_STDMAC(idx) \
  42. UNIPHIER_CLK_GATE("stdmac", (idx), NULL, 0x210c, 8)
  43. #define UNIPHIER_LD11_SYS_CLK_HSC(idx) \
  44. UNIPHIER_CLK_GATE("hsc", (idx), NULL, 0x210c, 9)
  45. #define UNIPHIER_PRO4_SYS_CLK_GIO(idx) \
  46. UNIPHIER_CLK_GATE("gio", (idx), NULL, 0x2104, 6)
  47. #define UNIPHIER_PRO4_SYS_CLK_USB3(idx, ch) \
  48. UNIPHIER_CLK_GATE("usb3" #ch, (idx), NULL, 0x2104, 16 + (ch))
  49. #define UNIPHIER_PRO4_SYS_CLK_AIO(idx) \
  50. UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 8), \
  51. UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13)
  52. #define UNIPHIER_PRO5_SYS_CLK_AIO(idx) \
  53. UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 12), \
  54. UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2104, 13)
  55. #define UNIPHIER_LD11_SYS_CLK_AIO(idx) \
  56. UNIPHIER_CLK_FACTOR("aio-io200m", -1, "spll", 1, 10), \
  57. UNIPHIER_CLK_GATE("aio", (idx), "aio-io200m", 0x2108, 0)
  58. #define UNIPHIER_LD11_SYS_CLK_EVEA(idx) \
  59. UNIPHIER_CLK_FACTOR("evea-io100m", -1, "spll", 1, 20), \
  60. UNIPHIER_CLK_GATE("evea", (idx), "evea-io100m", 0x2108, 1)
  61. #define UNIPHIER_LD11_SYS_CLK_EXIV(idx) \
  62. UNIPHIER_CLK_FACTOR("exiv-io200m", -1, "spll", 1, 10), \
  63. UNIPHIER_CLK_GATE("exiv", (idx), "exiv-io200m", 0x2110, 2)
  64. #define UNIPHIER_PRO4_SYS_CLK_ETHER(idx) \
  65. UNIPHIER_CLK_GATE("ether", (idx), NULL, 0x2104, 12)
  66. #define UNIPHIER_LD11_SYS_CLK_ETHER(idx) \
  67. UNIPHIER_CLK_GATE("ether", (idx), NULL, 0x210c, 6)
  68. const struct uniphier_clk_data uniphier_ld4_sys_clk_data[] = {
  69. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 65, 1), /* 1597.44 MHz */
  70. UNIPHIER_CLK_FACTOR("upll", -1, "ref", 6000, 512), /* 288 MHz */
  71. UNIPHIER_CLK_FACTOR("a2pll", -1, "ref", 24, 1), /* 589.824 MHz */
  72. UNIPHIER_CLK_FACTOR("vpll27a", -1, "ref", 5625, 512), /* 270 MHz */
  73. UNIPHIER_CLK_FACTOR("uart", 0, "a2pll", 1, 16),
  74. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 16),
  75. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 32),
  76. UNIPHIER_LD4_SYS_CLK_NAND(2),
  77. UNIPHIER_SYS_CLK_NAND_4X(3),
  78. UNIPHIER_LD4_SYS_CLK_SD,
  79. UNIPHIER_CLK_FACTOR("usb2", -1, "upll", 1, 12),
  80. UNIPHIER_LD4_SYS_CLK_STDMAC(8), /* Ether, HSC, MIO */
  81. { /* sentinel */ }
  82. };
  83. const struct uniphier_clk_data uniphier_pro4_sys_clk_data[] = {
  84. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 64, 1), /* 1600 MHz */
  85. UNIPHIER_CLK_FACTOR("upll", -1, "ref", 288, 25), /* 288 MHz */
  86. UNIPHIER_CLK_FACTOR("a2pll", -1, "upll", 256, 125), /* 589.824 MHz */
  87. UNIPHIER_CLK_FACTOR("vpll27a", -1, "ref", 270, 25), /* 270 MHz */
  88. UNIPHIER_CLK_FACTOR("gpll", -1, "ref", 10, 1), /* 250 MHz */
  89. UNIPHIER_CLK_FACTOR("uart", 0, "a2pll", 1, 8),
  90. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 32),
  91. UNIPHIER_CLK_FACTOR("spi", 1, "spll", 1, 32),
  92. UNIPHIER_LD4_SYS_CLK_NAND(2),
  93. UNIPHIER_SYS_CLK_NAND_4X(3),
  94. UNIPHIER_LD4_SYS_CLK_SD,
  95. UNIPHIER_CLK_FACTOR("usb2", -1, "upll", 1, 12),
  96. UNIPHIER_PRO4_SYS_CLK_ETHER(6),
  97. UNIPHIER_CLK_GATE("ether-gb", 7, "gpll", 0x2104, 5),
  98. UNIPHIER_LD4_SYS_CLK_STDMAC(8), /* HSC, MIO, RLE */
  99. UNIPHIER_CLK_GATE("ether-phy", 10, "ref", 0x2260, 0),
  100. UNIPHIER_PRO4_SYS_CLK_GIO(12), /* Ether, SATA, USB3 */
  101. UNIPHIER_PRO4_SYS_CLK_USB3(14, 0),
  102. UNIPHIER_PRO4_SYS_CLK_USB3(15, 1),
  103. UNIPHIER_CLK_FACTOR("usb30-hsphy0", 16, "upll", 1, 12),
  104. UNIPHIER_CLK_FACTOR("usb30-ssphy0", 17, "ref", 1, 1),
  105. UNIPHIER_CLK_FACTOR("usb31-ssphy0", 20, "ref", 1, 1),
  106. UNIPHIER_CLK_GATE("sata0", 28, NULL, 0x2104, 18),
  107. UNIPHIER_CLK_GATE("sata1", 29, NULL, 0x2104, 19),
  108. UNIPHIER_PRO4_SYS_CLK_AIO(40),
  109. { /* sentinel */ }
  110. };
  111. const struct uniphier_clk_data uniphier_sld8_sys_clk_data[] = {
  112. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 64, 1), /* 1600 MHz */
  113. UNIPHIER_CLK_FACTOR("upll", -1, "ref", 288, 25), /* 288 MHz */
  114. UNIPHIER_CLK_FACTOR("vpll27a", -1, "ref", 270, 25), /* 270 MHz */
  115. UNIPHIER_CLK_FACTOR("uart", 0, "spll", 1, 20),
  116. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 16),
  117. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 32),
  118. UNIPHIER_LD4_SYS_CLK_NAND(2),
  119. UNIPHIER_SYS_CLK_NAND_4X(3),
  120. UNIPHIER_LD4_SYS_CLK_SD,
  121. UNIPHIER_CLK_FACTOR("usb2", -1, "upll", 1, 12),
  122. UNIPHIER_LD4_SYS_CLK_STDMAC(8), /* Ether, HSC, MIO */
  123. { /* sentinel */ }
  124. };
  125. const struct uniphier_clk_data uniphier_pro5_sys_clk_data[] = {
  126. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 120, 1), /* 2400 MHz */
  127. UNIPHIER_CLK_FACTOR("dapll1", -1, "ref", 128, 1), /* 2560 MHz */
  128. UNIPHIER_CLK_FACTOR("dapll2", -1, "dapll1", 144, 125), /* 2949.12 MHz */
  129. UNIPHIER_CLK_FACTOR("uart", 0, "dapll2", 1, 40),
  130. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 48),
  131. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 48),
  132. UNIPHIER_PRO5_SYS_CLK_NAND(2),
  133. UNIPHIER_SYS_CLK_NAND_4X(3),
  134. UNIPHIER_PRO5_SYS_CLK_SD,
  135. UNIPHIER_LD4_SYS_CLK_STDMAC(8), /* HSC */
  136. UNIPHIER_PRO4_SYS_CLK_GIO(12), /* PCIe, USB3 */
  137. UNIPHIER_PRO4_SYS_CLK_USB3(14, 0),
  138. UNIPHIER_PRO4_SYS_CLK_USB3(15, 1),
  139. UNIPHIER_CLK_GATE("pcie", 24, NULL, 0x2108, 2),
  140. UNIPHIER_PRO5_SYS_CLK_AIO(40),
  141. { /* sentinel */ }
  142. };
  143. const struct uniphier_clk_data uniphier_pxs2_sys_clk_data[] = {
  144. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 96, 1), /* 2400 MHz */
  145. UNIPHIER_CLK_FACTOR("uart", 0, "spll", 1, 27),
  146. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 48),
  147. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 48),
  148. UNIPHIER_PRO5_SYS_CLK_NAND(2),
  149. UNIPHIER_SYS_CLK_NAND_4X(3),
  150. UNIPHIER_PRO5_SYS_CLK_SD,
  151. UNIPHIER_PRO4_SYS_CLK_ETHER(6),
  152. UNIPHIER_LD4_SYS_CLK_STDMAC(8), /* HSC, RLE */
  153. /* GIO is always clock-enabled: no function for 0x2104 bit6 */
  154. UNIPHIER_PRO4_SYS_CLK_USB3(14, 0),
  155. UNIPHIER_PRO4_SYS_CLK_USB3(15, 1),
  156. /* The document mentions 0x2104 bit 18, but not functional */
  157. UNIPHIER_CLK_GATE("usb30-hsphy0", 16, NULL, 0x2104, 19),
  158. UNIPHIER_CLK_FACTOR("usb30-ssphy0", 17, "ref", 1, 1),
  159. UNIPHIER_CLK_FACTOR("usb30-ssphy1", 18, "ref", 1, 1),
  160. UNIPHIER_CLK_GATE("usb31-hsphy0", 20, NULL, 0x2104, 20),
  161. UNIPHIER_CLK_FACTOR("usb31-ssphy0", 21, "ref", 1, 1),
  162. UNIPHIER_CLK_GATE("sata0", 28, NULL, 0x2104, 22),
  163. UNIPHIER_PRO5_SYS_CLK_AIO(40),
  164. { /* sentinel */ }
  165. };
  166. const struct uniphier_clk_data uniphier_ld11_sys_clk_data[] = {
  167. UNIPHIER_CLK_FACTOR("cpll", -1, "ref", 392, 5), /* 1960 MHz */
  168. UNIPHIER_CLK_FACTOR("mpll", -1, "ref", 64, 1), /* 1600 MHz */
  169. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 80, 1), /* 2000 MHz */
  170. UNIPHIER_CLK_FACTOR("vspll", -1, "ref", 80, 1), /* 2000 MHz */
  171. UNIPHIER_CLK_FACTOR("uart", 0, "spll", 1, 34),
  172. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 40),
  173. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 40),
  174. UNIPHIER_LD11_SYS_CLK_NAND(2),
  175. UNIPHIER_SYS_CLK_NAND_4X(3),
  176. UNIPHIER_LD11_SYS_CLK_EMMC(4),
  177. /* Index 5 reserved for eMMC PHY */
  178. UNIPHIER_LD11_SYS_CLK_ETHER(6),
  179. UNIPHIER_LD11_SYS_CLK_STDMAC(8), /* HSC, MIO */
  180. UNIPHIER_LD11_SYS_CLK_HSC(9),
  181. UNIPHIER_CLK_FACTOR("usb2", -1, "ref", 24, 25),
  182. UNIPHIER_LD11_SYS_CLK_AIO(40),
  183. UNIPHIER_LD11_SYS_CLK_EVEA(41),
  184. UNIPHIER_LD11_SYS_CLK_EXIV(42),
  185. /* CPU gears */
  186. UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
  187. UNIPHIER_CLK_DIV4("mpll", 2, 3, 4, 8),
  188. UNIPHIER_CLK_DIV3("spll", 3, 4, 8),
  189. /* Note: both gear1 and gear4 are spll/4. This is not a bug. */
  190. UNIPHIER_CLK_CPUGEAR("cpu-ca53", 33, 0x8080, 0xf, 8,
  191. "cpll/2", "spll/4", "cpll/3", "spll/3",
  192. "spll/4", "spll/8", "cpll/4", "cpll/8"),
  193. UNIPHIER_CLK_CPUGEAR("cpu-ipp", 34, 0x8100, 0xf, 8,
  194. "mpll/2", "spll/4", "mpll/3", "spll/3",
  195. "spll/4", "spll/8", "mpll/4", "mpll/8"),
  196. { /* sentinel */ }
  197. };
  198. const struct uniphier_clk_data uniphier_ld20_sys_clk_data[] = {
  199. UNIPHIER_CLK_FACTOR("cpll", -1, "ref", 88, 1), /* ARM: 2200 MHz */
  200. UNIPHIER_CLK_FACTOR("gppll", -1, "ref", 52, 1), /* Mali: 1300 MHz */
  201. UNIPHIER_CLK_FACTOR("mpll", -1, "ref", 64, 1), /* Codec: 1600 MHz */
  202. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 80, 1), /* 2000 MHz */
  203. UNIPHIER_CLK_FACTOR("s2pll", -1, "ref", 88, 1), /* IPP: 2200 MHz */
  204. UNIPHIER_CLK_FACTOR("vppll", -1, "ref", 504, 5), /* 2520 MHz */
  205. UNIPHIER_CLK_FACTOR("uart", 0, "spll", 1, 34),
  206. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 40),
  207. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 40),
  208. UNIPHIER_LD11_SYS_CLK_NAND(2),
  209. UNIPHIER_SYS_CLK_NAND_4X(3),
  210. UNIPHIER_LD11_SYS_CLK_EMMC(4),
  211. /* Index 5 reserved for eMMC PHY */
  212. UNIPHIER_LD20_SYS_CLK_SD,
  213. UNIPHIER_LD11_SYS_CLK_ETHER(6),
  214. UNIPHIER_LD11_SYS_CLK_STDMAC(8), /* HSC */
  215. UNIPHIER_LD11_SYS_CLK_HSC(9),
  216. /* GIO is always clock-enabled: no function for 0x210c bit5 */
  217. /*
  218. * clock for USB Link is enabled by the logic "OR" of bit 14 and bit 15.
  219. * We do not use bit 15 here.
  220. */
  221. UNIPHIER_CLK_GATE("usb30", 14, NULL, 0x210c, 14),
  222. UNIPHIER_CLK_GATE("usb30-hsphy0", 16, NULL, 0x210c, 12),
  223. UNIPHIER_CLK_GATE("usb30-hsphy1", 17, NULL, 0x210c, 13),
  224. UNIPHIER_CLK_FACTOR("usb30-ssphy0", 18, "ref", 1, 1),
  225. UNIPHIER_CLK_FACTOR("usb30-ssphy1", 19, "ref", 1, 1),
  226. UNIPHIER_CLK_GATE("pcie", 24, NULL, 0x210c, 4),
  227. UNIPHIER_LD11_SYS_CLK_AIO(40),
  228. UNIPHIER_LD11_SYS_CLK_EVEA(41),
  229. UNIPHIER_LD11_SYS_CLK_EXIV(42),
  230. /* CPU gears */
  231. UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
  232. UNIPHIER_CLK_DIV4("spll", 2, 3, 4, 8),
  233. UNIPHIER_CLK_DIV4("s2pll", 2, 3, 4, 8),
  234. UNIPHIER_CLK_CPUGEAR("cpu-ca72", 32, 0x8000, 0xf, 8,
  235. "cpll/2", "spll/2", "cpll/3", "spll/3",
  236. "spll/4", "spll/8", "cpll/4", "cpll/8"),
  237. UNIPHIER_CLK_CPUGEAR("cpu-ca53", 33, 0x8080, 0xf, 8,
  238. "cpll/2", "spll/2", "cpll/3", "spll/3",
  239. "spll/4", "spll/8", "cpll/4", "cpll/8"),
  240. UNIPHIER_CLK_CPUGEAR("cpu-ipp", 34, 0x8100, 0xf, 8,
  241. "s2pll/2", "spll/2", "s2pll/3", "spll/3",
  242. "spll/4", "spll/8", "s2pll/4", "s2pll/8"),
  243. { /* sentinel */ }
  244. };
  245. const struct uniphier_clk_data uniphier_pxs3_sys_clk_data[] = {
  246. UNIPHIER_CLK_FACTOR("cpll", -1, "ref", 104, 1), /* ARM: 2600 MHz */
  247. UNIPHIER_CLK_FACTOR("spll", -1, "ref", 80, 1), /* 2000 MHz */
  248. UNIPHIER_CLK_FACTOR("s2pll", -1, "ref", 88, 1), /* IPP: 2400 MHz */
  249. UNIPHIER_CLK_FACTOR("uart", 0, "spll", 1, 34),
  250. UNIPHIER_CLK_FACTOR("i2c", 1, "spll", 1, 40),
  251. UNIPHIER_CLK_FACTOR("spi", -1, "spll", 1, 40),
  252. UNIPHIER_LD20_SYS_CLK_SD,
  253. UNIPHIER_LD11_SYS_CLK_NAND(2),
  254. UNIPHIER_SYS_CLK_NAND_4X(3),
  255. UNIPHIER_LD11_SYS_CLK_EMMC(4),
  256. UNIPHIER_CLK_GATE("ether0", 6, NULL, 0x210c, 9),
  257. UNIPHIER_CLK_GATE("ether1", 7, NULL, 0x210c, 10),
  258. UNIPHIER_CLK_GATE("usb30", 12, NULL, 0x210c, 4), /* =GIO0 */
  259. UNIPHIER_CLK_GATE("usb31-0", 13, NULL, 0x210c, 5), /* =GIO1 */
  260. UNIPHIER_CLK_GATE("usb31-1", 14, NULL, 0x210c, 6), /* =GIO1-1 */
  261. UNIPHIER_CLK_GATE("usb30-hsphy0", 16, NULL, 0x210c, 16),
  262. UNIPHIER_CLK_GATE("usb30-ssphy0", 17, NULL, 0x210c, 18),
  263. UNIPHIER_CLK_GATE("usb30-ssphy1", 18, NULL, 0x210c, 20),
  264. UNIPHIER_CLK_GATE("usb31-hsphy0", 20, NULL, 0x210c, 17),
  265. UNIPHIER_CLK_GATE("usb31-ssphy0", 21, NULL, 0x210c, 19),
  266. UNIPHIER_CLK_GATE("pcie", 24, NULL, 0x210c, 3),
  267. UNIPHIER_CLK_GATE("sata0", 28, NULL, 0x210c, 7),
  268. UNIPHIER_CLK_GATE("sata1", 29, NULL, 0x210c, 8),
  269. UNIPHIER_CLK_GATE("sata-phy", 30, NULL, 0x210c, 21),
  270. /* CPU gears */
  271. UNIPHIER_CLK_DIV4("cpll", 2, 3, 4, 8),
  272. UNIPHIER_CLK_DIV4("spll", 2, 3, 4, 8),
  273. UNIPHIER_CLK_DIV4("s2pll", 2, 3, 4, 8),
  274. UNIPHIER_CLK_CPUGEAR("cpu-ca53", 33, 0x8080, 0xf, 8,
  275. "cpll/2", "spll/2", "cpll/3", "spll/3",
  276. "spll/4", "spll/8", "cpll/4", "cpll/8"),
  277. UNIPHIER_CLK_CPUGEAR("cpu-ipp", 34, 0x8100, 0xf, 8,
  278. "s2pll/2", "spll/2", "s2pll/3", "spll/3",
  279. "spll/4", "spll/8", "s2pll/4", "s2pll/8"),
  280. { /* sentinel */ }
  281. };