Lines Matching +full:software +full:- +full:based
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
65 * struct drm_printer p = drm_info_printer(drm->dev);
71 * struct drm_printer - drm output "stream"
101 * drm_vprintf - print to a &drm_printer stream
111 p->printfn(p, &vaf); in drm_vprintf()
115 * drm_printf_indent - Print to a &drm_printer stream with indentation
124 * struct drm_print_iterator - local struct used with drm_printer_coredump
138 * drm_coredump_printer - construct a &drm_printer that can output to a buffer
183 iter->offset = 0; in drm_coredump_printer()
189 * drm_seq_file_printer - construct a &drm_printer that outputs to &seq_file
206 * drm_info_printer - construct a &drm_printer that outputs to dev_printk()
222 * drm_debug_printer - construct a &drm_printer that outputs to pr_debug()
238 * drm_err_printer - construct a &drm_printer that outputs to pr_err()
254 * enum drm_debug_category - The DRM debug categories
266 * - drm.debug=0x1 will enable CORE messages
267 * - drm.debug=0x2 will enable DRIVER messages
268 * - drm.debug=0x3 will enable CORE and DRIVER messages
269 * - ...
270 * - drm.debug=0x1ff will enable all messages
273 * run-time by echoing the debug value in its sysfs node::
339 * the private macro to avoid re-testing the enable-bit.
349 * struct device based logging
351 * Prefer drm_device based logging over device or printk based logging.
363 * DRM_DEV_ERROR() - Error output.
374 * DRM_DEV_ERROR_RATELIMITED() - Rate limited error output.
418 * DRM_DEV_DEBUG() - Debug output for generic drm code
428 * DRM_DEV_DEBUG_DRIVER() - Debug output for vendor specific part of the driver
438 * DRM_DEV_DEBUG_KMS() - Debug output for modesetting code
449 * struct drm_device based logging
451 * Prefer drm_device based logging over device or prink based logging.
454 /* Helper for struct drm_device based logging. */
456 dev_##level##type((drm)->dev, "[drm] " fmt, ##__VA_ARGS__)
490 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_CORE, fmt, ##__VA_ARGS__)
492 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
494 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_KMS, fmt, ##__VA_ARGS__)
496 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_PRIME, fmt, ##__VA_ARGS__)
498 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_ATOMIC, fmt, ##__VA_ARGS__)
500 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_VBL, fmt, ##__VA_ARGS__)
502 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_STATE, fmt, ##__VA_ARGS__)
504 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_LEASE, fmt, ##__VA_ARGS__)
506 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DP, fmt, ##__VA_ARGS__)
508 drm_dev_dbg((drm) ? (drm)->dev : NULL, DRM_UT_DRMRES, fmt, ##__VA_ARGS__)
513 * printk based logging
515 * Prefer drm_device based logging over device or prink based logging.
602 drm_dev_printk(drm_ ? drm_->dev : NULL, KERN_DEBUG, fmt, ## __VA_ARGS__); \
612 * struct drm_device based WARNs
618 * Prefer drm_device based drm_WARN* over regular WARN*
621 /* Helper for struct drm_device based WARNs */
624 dev_driver_string((drm)->dev), \
625 dev_name((drm)->dev), ## arg)
629 dev_driver_string((drm)->dev), \
630 dev_name((drm)->dev), ## arg)