cam_isp_context.h 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef _CAM_ISP_CONTEXT_H_
  7. #define _CAM_ISP_CONTEXT_H_
  8. #include <linux/spinlock_types.h>
  9. #include <media/cam_isp.h>
  10. #include <media/cam_defs.h>
  11. #include <media/cam_tfe.h>
  12. #include "cam_context.h"
  13. #include "cam_isp_hw_mgr_intf.h"
  14. #include "cam_req_mgr_workq.h"
  15. #define CAM_IFE_QTIMER_MUL_FACTOR 10000
  16. #define CAM_IFE_QTIMER_DIV_FACTOR 192
  17. /*
  18. * Maximum hw resource - This number is based on the maximum
  19. * output port resource. The current maximum resource number
  20. * is 24.
  21. */
  22. #define CAM_ISP_CTX_RES_MAX 24
  23. /* max requests per ctx for isp */
  24. #define CAM_ISP_CTX_REQ_MAX 8
  25. /*
  26. * Maximum entries in state monitoring array for error logging
  27. */
  28. #define CAM_ISP_CTX_STATE_MONITOR_MAX_ENTRIES 40
  29. /*
  30. * Threshold response time in us beyond which a request is not expected
  31. * to be with IFE hw
  32. */
  33. #define CAM_ISP_CTX_RESPONSE_TIME_THRESHOLD 100000
  34. /* Number of words for dumping isp context */
  35. #define CAM_ISP_CTX_DUMP_NUM_WORDS 5
  36. /* Number of words for dumping isp context events*/
  37. #define CAM_ISP_CTX_DUMP_EVENT_NUM_WORDS 3
  38. /* Number of words for dumping request info*/
  39. #define CAM_ISP_CTX_DUMP_REQUEST_NUM_WORDS 2
  40. /* Maximum entries in event record */
  41. #define CAM_ISP_CTX_EVENT_RECORD_MAX_ENTRIES 8
  42. /* Maximum length of tag while dumping */
  43. #define CAM_ISP_CONTEXT_DUMP_TAG_MAX_LEN 64
  44. /* AEB error count threshold */
  45. #define CAM_ISP_CONTEXT_AEB_ERROR_CNT_MAX 3
  46. /* Debug Buffer length*/
  47. #define CAM_ISP_CONTEXT_DBG_BUF_LEN 300
  48. /* forward declaration */
  49. struct cam_isp_context;
  50. /* cam isp context irq handling function type */
  51. typedef int (*cam_isp_hw_event_cb_func)(struct cam_isp_context *ctx_isp,
  52. void *evt_data);
  53. /**
  54. * enum cam_isp_ctx_activated_substate - sub states for activated
  55. *
  56. */
  57. enum cam_isp_ctx_activated_substate {
  58. CAM_ISP_CTX_ACTIVATED_SOF,
  59. CAM_ISP_CTX_ACTIVATED_APPLIED,
  60. CAM_ISP_CTX_ACTIVATED_EPOCH,
  61. CAM_ISP_CTX_ACTIVATED_BUBBLE,
  62. CAM_ISP_CTX_ACTIVATED_BUBBLE_APPLIED,
  63. CAM_ISP_CTX_ACTIVATED_HW_ERROR,
  64. CAM_ISP_CTX_ACTIVATED_HALT,
  65. CAM_ISP_CTX_ACTIVATED_MAX,
  66. };
  67. /**
  68. * enum cam_isp_ctx_event_type - events for a request
  69. *
  70. */
  71. enum cam_isp_ctx_event {
  72. CAM_ISP_CTX_EVENT_SUBMIT,
  73. CAM_ISP_CTX_EVENT_APPLY,
  74. CAM_ISP_CTX_EVENT_EPOCH,
  75. CAM_ISP_CTX_EVENT_RUP,
  76. CAM_ISP_CTX_EVENT_BUFDONE,
  77. CAM_ISP_CTX_EVENT_MAX
  78. };
  79. /**
  80. * enum cam_isp_state_change_trigger - Different types of ISP events
  81. *
  82. */
  83. enum cam_isp_state_change_trigger {
  84. CAM_ISP_STATE_CHANGE_TRIGGER_ERROR,
  85. CAM_ISP_STATE_CHANGE_TRIGGER_APPLIED,
  86. CAM_ISP_STATE_CHANGE_TRIGGER_REG_UPDATE,
  87. CAM_ISP_STATE_CHANGE_TRIGGER_SOF,
  88. CAM_ISP_STATE_CHANGE_TRIGGER_EPOCH,
  89. CAM_ISP_STATE_CHANGE_TRIGGER_DONE,
  90. CAM_ISP_STATE_CHANGE_TRIGGER_EOF,
  91. CAM_ISP_STATE_CHANGE_TRIGGER_FLUSH,
  92. CAM_ISP_STATE_CHANGE_TRIGGER_SEC_EVT_SOF,
  93. CAM_ISP_STATE_CHANGE_TRIGGER_SEC_EVT_EPOCH,
  94. CAM_ISP_STATE_CHANGE_TRIGGER_FRAME_DROP,
  95. CAM_ISP_STATE_CHANGE_TRIGGER_MAX
  96. };
  97. #define CAM_ISP_CTX_DISABLE_RECOVERY_AEB BIT(0)
  98. #define CAM_ISP_CTX_DISABLE_RECOVERY_BUS_OVERFLOW BIT(1)
  99. #define CAM_ISP_CTX_DISABLE_RECOVERY_BUBBLE BIT(2)
  100. /**
  101. * struct cam_isp_ctx_debug - Contains debug parameters
  102. *
  103. * @dentry: Debugfs entry
  104. * @enable_state_monitor_dump: Enable isp state monitor dump
  105. * @enable_cdm_cmd_buff_dump: Enable CDM Command buffer dump
  106. * @disable_internal_recovery: Disable internal kernel recovery mask
  107. *
  108. */
  109. struct cam_isp_ctx_debug {
  110. struct dentry *dentry;
  111. uint32_t enable_state_monitor_dump;
  112. uint8_t enable_cdm_cmd_buff_dump;
  113. uint32_t disable_internal_recovery_mask;
  114. };
  115. /**
  116. * struct cam_isp_ctx_irq_ops - Function table for handling IRQ callbacks
  117. *
  118. * @irq_ops: Array of handle function pointers.
  119. *
  120. */
  121. struct cam_isp_ctx_irq_ops {
  122. cam_isp_hw_event_cb_func irq_ops[CAM_ISP_HW_EVENT_MAX];
  123. };
  124. /**
  125. * struct cam_isp_ctx_req - ISP context request object
  126. *
  127. * @base: Common request object ponter
  128. * @cfg: ISP hardware configuration array
  129. * @num_cfg: Number of ISP hardware configuration entries
  130. * @fence_map_out: Output fence mapping array
  131. * @num_fence_map_out: Number of the output fence map
  132. * @fence_map_in: Input fence mapping array
  133. * @num_fence_map_in: Number of input fence map
  134. * @num_acked: Count to track acked entried for output.
  135. * If count equals the number of fence out, it means
  136. * the request has been completed.
  137. * @num_deferred_acks: Number of buf_dones/acks that are deferred to
  138. * handle or signalled in special scenarios.
  139. * Increment this count instead of num_acked and
  140. * handle the events later where eventually
  141. * increment num_acked.
  142. * @deferred_fence_map_index Saves the indices of fence_map_out for which
  143. * handling of buf_done is deferred.
  144. * @bubble_report: Flag to track if bubble report is active on
  145. * current request
  146. * @hw_update_data: HW update data for this request
  147. * @reapply_type: Determines type of settings to be re-applied
  148. * @event_timestamp: Timestamp for different stage of request
  149. * @cdm_reset_before_apply: For bubble re-apply when buf done not coming set
  150. * to True
  151. *
  152. */
  153. struct cam_isp_ctx_req {
  154. struct cam_ctx_request *base;
  155. struct cam_hw_update_entry *cfg;
  156. uint32_t num_cfg;
  157. struct cam_hw_fence_map_entry *fence_map_out;
  158. uint32_t num_fence_map_out;
  159. struct cam_hw_fence_map_entry *fence_map_in;
  160. uint32_t num_fence_map_in;
  161. uint32_t num_acked;
  162. uint32_t num_deferred_acks;
  163. uint32_t deferred_fence_map_index[CAM_ISP_CTX_RES_MAX];
  164. int32_t bubble_report;
  165. struct cam_isp_prepare_hw_update_data hw_update_data;
  166. enum cam_hw_config_reapply_type reapply_type;
  167. ktime_t event_timestamp
  168. [CAM_ISP_CTX_EVENT_MAX];
  169. bool bubble_detected;
  170. bool cdm_reset_before_apply;
  171. };
  172. /**
  173. * struct cam_isp_context_state_monitor - ISP context state
  174. * monitoring for
  175. * debug purposes
  176. *
  177. * @curr_state: Current sub state that received req
  178. * @trigger: Event type of incoming req
  179. * @req_id: Request id
  180. * @frame_id: Frame id based on SOFs
  181. * @evt_time_stamp Current time stamp
  182. *
  183. */
  184. struct cam_isp_context_state_monitor {
  185. enum cam_isp_ctx_activated_substate curr_state;
  186. enum cam_isp_state_change_trigger trigger;
  187. uint64_t req_id;
  188. int64_t frame_id;
  189. unsigned int evt_time_stamp;
  190. };
  191. /**
  192. * struct cam_isp_context_req_id_info - ISP context request id
  193. * information for bufdone.
  194. *
  195. *@last_bufdone_req_id: Last bufdone request id
  196. *
  197. */
  198. struct cam_isp_context_req_id_info {
  199. int64_t last_bufdone_req_id;
  200. };
  201. /**
  202. *
  203. *
  204. * struct cam_isp_context_event_record - Information for last 20 Events
  205. * for a request; Submit, Apply, EPOCH, RUP, Buf done.
  206. *
  207. * @req_id: Last applied request id
  208. * @timestamp: Timestamp for the event
  209. *
  210. */
  211. struct cam_isp_context_event_record {
  212. uint64_t req_id;
  213. ktime_t timestamp;
  214. };
  215. /**
  216. * struct cam_isp_context - ISP context object
  217. *
  218. * @base: Common context object pointer
  219. * @frame_id: Frame id tracking for the isp context
  220. * @frame_id_meta: Frame id read every epoch for the ctx
  221. * meta from the sensor
  222. * @substate_actiavted: Current substate for the activated state.
  223. * @process_bubble: Atomic variable to check if ctx is still
  224. * processing bubble.
  225. * @substate_machine: ISP substate machine for external interface
  226. * @substate_machine_irq: ISP substate machine for irq handling
  227. * @req_base: Common request object storage
  228. * @req_isp: ISP private request object storage
  229. * @hw_ctx: HW object returned by the acquire device command
  230. * @sof_timestamp_val: Captured time stamp value at sof hw event
  231. * @boot_timestamp: Boot time stamp for a given req_id
  232. * @active_req_cnt: Counter for the active request
  233. * @reported_req_id: Last reported request id
  234. * @subscribe_event: The irq event mask that CRM subscribes to, IFE
  235. * will invoke CRM cb at those event.
  236. * @last_applied_req_id: Last applied request id
  237. * @recovery_req_id: Req ID flagged for internal recovery
  238. * @last_sof_timestamp: SOF timestamp of the last frame
  239. * @bubble_frame_cnt: Count of the frame after bubble
  240. * @aeb_error_cnt: Count number of times a specific AEB error scenario is
  241. * enountered
  242. * @out_of_sync_cnt: Out of sync error count for AEB
  243. * @state_monitor_head: Write index to the state monitoring array
  244. * @req_info Request id information about last buf done
  245. * @cam_isp_ctx_state_monitor: State monitoring array
  246. * @event_record_head: Write index to the state monitoring array
  247. * @event_record: Event record array
  248. * @rdi_only_context: Get context type information.
  249. * true, if context is rdi only context
  250. * @offline_context: Indicate whether context is for offline IFE
  251. * @vfps_aux_context: Indicate whether context is for VFPS aux link
  252. * @resume_hw_in_flushed: Indicate whether resume hw in flushed state in vfps case
  253. * @hw_acquired: Indicate whether HW resources are acquired
  254. * @init_received: Indicate whether init config packet is received
  255. * @split_acquire: Indicate whether a separate acquire is expected
  256. * @custom_enabled: Custom HW enabled for this ctx
  257. * @use_frame_header_ts: Use frame header for qtimer ts
  258. * @support_consumed_addr: Indicate whether HW has last consumed addr reg
  259. * @sof_dbg_irq_en: Indicates whether ISP context has enabled debug irqs
  260. * @apply_in_progress Whether request apply is in progress
  261. * @use_default_apply: Use default settings in case of frame skip
  262. * @init_timestamp: Timestamp at which this context is initialized
  263. * @isp_device_type: ISP device type
  264. * @rxd_epoch: Indicate whether epoch has been received. Used to
  265. * decide whether to apply request in offline ctx
  266. * @workq: Worker thread for offline ife
  267. * @trigger_id: ID provided by CRM for each ctx on the link
  268. * @last_bufdone_err_apply_req_id: last bufdone error apply request id
  269. * @v4l2_event_sub_ids contains individual bits representing subscribed v4l2 ids
  270. * @evt_inject_params: event injection parameters
  271. * @aeb_enabled: Indicate if stream is for AEB
  272. * @last_sof_jiffies: Record the jiffies of last sof
  273. * @last_applied_jiffies: Record the jiffiest of last applied req
  274. * @vfe_bus_comp_grp: Vfe bus comp group record
  275. * @sfe_bus_comp_grp: Sfe bus comp group record
  276. *
  277. */
  278. struct cam_isp_context {
  279. struct cam_context *base;
  280. uint64_t frame_id;
  281. uint32_t frame_id_meta;
  282. uint32_t substate_activated;
  283. atomic_t process_bubble;
  284. struct cam_ctx_ops *substate_machine;
  285. struct cam_isp_ctx_irq_ops *substate_machine_irq;
  286. struct cam_ctx_request req_base[CAM_ISP_CTX_REQ_MAX];
  287. struct cam_isp_ctx_req req_isp[CAM_ISP_CTX_REQ_MAX];
  288. void *hw_ctx;
  289. uint64_t sof_timestamp_val;
  290. uint64_t boot_timestamp;
  291. int32_t active_req_cnt;
  292. int64_t reported_req_id;
  293. uint64_t reported_frame_id;
  294. uint32_t subscribe_event;
  295. int64_t last_applied_req_id;
  296. uint64_t recovery_req_id;
  297. uint64_t last_sof_timestamp;
  298. uint32_t bubble_frame_cnt;
  299. uint32_t aeb_error_cnt;
  300. uint32_t out_of_sync_cnt;
  301. atomic64_t state_monitor_head;
  302. struct cam_isp_context_state_monitor cam_isp_ctx_state_monitor[
  303. CAM_ISP_CTX_STATE_MONITOR_MAX_ENTRIES];
  304. struct cam_isp_context_req_id_info req_info;
  305. atomic64_t event_record_head[
  306. CAM_ISP_CTX_EVENT_MAX];
  307. struct cam_isp_context_event_record event_record[
  308. CAM_ISP_CTX_EVENT_MAX][CAM_ISP_CTX_EVENT_RECORD_MAX_ENTRIES];
  309. bool rdi_only_context;
  310. bool offline_context;
  311. bool vfps_aux_context;
  312. bool resume_hw_in_flushed;
  313. bool hw_acquired;
  314. bool init_received;
  315. bool split_acquire;
  316. bool custom_enabled;
  317. bool use_frame_header_ts;
  318. bool support_consumed_addr;
  319. bool sof_dbg_irq_en;
  320. atomic_t apply_in_progress;
  321. atomic_t internal_recovery_set;
  322. bool use_default_apply;
  323. unsigned int init_timestamp;
  324. uint32_t isp_device_type;
  325. atomic_t rxd_epoch;
  326. struct cam_req_mgr_core_workq *workq;
  327. int32_t trigger_id;
  328. int64_t last_bufdone_err_apply_req_id;
  329. uint32_t v4l2_event_sub_ids;
  330. struct cam_hw_inject_evt_param evt_inject_params;
  331. bool aeb_enabled;
  332. uint64_t last_sof_jiffies;
  333. uint64_t last_applied_jiffies;
  334. struct cam_isp_context_comp_record *vfe_bus_comp_grp;
  335. struct cam_isp_context_comp_record *sfe_bus_comp_grp;
  336. };
  337. /**
  338. * struct cam_isp_context_dump_header - ISP context dump header
  339. * @tag: Tag name for the header
  340. * @word_size: Size of word
  341. * @size: Size of data
  342. *
  343. */
  344. struct cam_isp_context_dump_header {
  345. uint8_t tag[CAM_ISP_CONTEXT_DUMP_TAG_MAX_LEN];
  346. uint64_t size;
  347. uint32_t word_size;
  348. };
  349. /** * struct cam_isp_ctx_req_mini_dump - ISP mini dumprequest
  350. *
  351. * @map_out: Output fence mapping
  352. * @map_in: Input fence mapping
  353. * @io_cfg: IO buffer configuration
  354. * @reapply_type: Determines type of settings to be re-applied
  355. * @request_id: Request ID
  356. * @num_fence_map_out: Number of the output fence map
  357. * @num_fence_map_in: Number of input fence map
  358. * @num_io_cfg: Number of ISP hardware configuration entries
  359. * @num_acked: Count to track acked entried for output.
  360. * @num_deferred_acks: Number of buf_dones/acks that are deferred to
  361. * handle or signalled in special scenarios.
  362. * Increment this count instead of num_acked and
  363. * handle the events later where eventually
  364. * increment num_acked.
  365. * @bubble_report: Flag to track if bubble report is active on
  366. * current request
  367. * @bubble_detected: Flag to track if bubble is detected
  368. * @cdm_reset_before_apply: For bubble re-apply when buf done not coming set
  369. * to True
  370. *
  371. */
  372. struct cam_isp_ctx_req_mini_dump {
  373. struct cam_hw_fence_map_entry *map_out;
  374. struct cam_hw_fence_map_entry *map_in;
  375. struct cam_buf_io_cfg *io_cfg;
  376. enum cam_hw_config_reapply_type reapply_type;
  377. uint64_t request_id;
  378. uint8_t num_fence_map_in;
  379. uint8_t num_fence_map_out;
  380. uint8_t num_io_cfg;
  381. uint8_t num_acked;
  382. uint8_t num_deferred_acks;
  383. bool bubble_report;
  384. bool bubble_detected;
  385. bool cdm_reset_before_apply;
  386. };
  387. /**
  388. * struct cam_isp_ctx_mini_dump_info - Isp context mini dump data
  389. *
  390. * @active_list: Active Req list
  391. * @pending_list: Pending req list
  392. * @wait_list: Wait Req List
  393. * @event_record: Event record
  394. * @sof_timestamp_val: Captured time stamp value at sof hw event
  395. * @boot_timestamp: Boot time stamp for a given req_id
  396. * @last_sof_timestamp: SOF timestamp of the last frame
  397. * @init_timestamp: Timestamp at which this context is initialized
  398. * @frame_id: Frame id read every epoch for the ctx
  399. * @reported_req_id: Last reported request id
  400. * @last_applied_req_id: Last applied request id
  401. * @frame_id_meta: Frame id for meta
  402. * @ctx_id: Context id
  403. * @subscribe_event: The irq event mask that CRM subscribes to, IFE
  404. * will invoke CRM cb at those event.
  405. * @bubble_frame_cnt: Count of the frame after bubble
  406. * @isp_device_type: ISP device type
  407. * @active_req_cnt: Counter for the active request
  408. * @trigger_id: ID provided by CRM for each ctx on the link
  409. * @substate_actiavted: Current substate for the activated state.
  410. * @rxd_epoch: Indicate whether epoch has been received. Used to
  411. * decide whether to apply request in offline ctx
  412. * @process_bubble: Atomic variable to check if ctx is still
  413. * processing bubble.
  414. * @apply_in_progress Whether request apply is in progress
  415. * @rdi_only_context: Get context type information.
  416. * true, if context is rdi only context
  417. * @offline_context: Indicate whether context is for offline IFE
  418. * @hw_acquired: Indicate whether HW resources are acquired
  419. * @init_received: Indicate whether init config packet is received
  420. * meta from the sensor
  421. * @split_acquire: Indicate whether a separate acquire is expected
  422. * @custom_enabled: Custom HW enabled for this ctx
  423. * @use_frame_header_ts: Use frame header for qtimer ts
  424. * @support_consumed_addr: Indicate whether HW has last consumed addr reg
  425. * @use_default_apply: Use default settings in case of frame skip
  426. *
  427. */
  428. struct cam_isp_ctx_mini_dump_info {
  429. struct cam_isp_ctx_req_mini_dump *active_list;
  430. struct cam_isp_ctx_req_mini_dump *pending_list;
  431. struct cam_isp_ctx_req_mini_dump *wait_list;
  432. struct cam_isp_context_event_record event_record[
  433. CAM_ISP_CTX_EVENT_MAX][CAM_ISP_CTX_EVENT_RECORD_MAX_ENTRIES];
  434. uint64_t sof_timestamp_val;
  435. uint64_t boot_timestamp;
  436. uint64_t last_sof_timestamp;
  437. uint64_t init_timestamp;
  438. int64_t frame_id;
  439. int64_t reported_req_id;
  440. int64_t last_applied_req_id;
  441. int64_t last_bufdone_err_apply_req_id;
  442. uint32_t frame_id_meta;
  443. uint8_t ctx_id;
  444. uint8_t subscribe_event;
  445. uint8_t bubble_frame_cnt;
  446. uint8_t isp_device_type;
  447. uint8_t active_req_cnt;
  448. uint8_t trigger_id;
  449. uint8_t substate_activated;
  450. uint8_t rxd_epoch;
  451. uint8_t process_bubble;
  452. uint8_t active_cnt;
  453. uint8_t pending_cnt;
  454. uint8_t wait_cnt;
  455. bool apply_in_progress;
  456. bool rdi_only_context;
  457. bool offline_context;
  458. bool hw_acquired;
  459. bool init_received;
  460. bool split_acquire;
  461. bool custom_enabled;
  462. bool use_frame_header_ts;
  463. bool support_consumed_addr;
  464. bool use_default_apply;
  465. };
  466. /**
  467. * cam_isp_context_init()
  468. *
  469. * @brief: Initialization function for the ISP context
  470. *
  471. * @ctx: ISP context obj to be initialized
  472. * @bridge_ops: Bridge call back funciton
  473. * @hw_intf: ISP hw manager interface
  474. * @ctx_id: ID for this context
  475. * @isp_device_type Isp device type
  476. * @img_iommu_hdl IOMMU HDL for image buffers
  477. *
  478. */
  479. int cam_isp_context_init(struct cam_isp_context *ctx,
  480. struct cam_context *ctx_base,
  481. struct cam_req_mgr_kmd_ops *bridge_ops,
  482. struct cam_hw_mgr_intf *hw_intf,
  483. uint32_t ctx_id,
  484. uint32_t isp_device_type,
  485. int img_iommu_hdl);
  486. /**
  487. * cam_isp_context_deinit()
  488. *
  489. * @brief: Deinitialize function for the ISP context
  490. *
  491. * @ctx: ISP context obj to be deinitialized
  492. *
  493. */
  494. int cam_isp_context_deinit(struct cam_isp_context *ctx);
  495. #endif /* __CAM_ISP_CONTEXT_H__ */