| /linux/tools/perf/util/ |
| H A D | demangle-rust-v0.c | 111 struct printer { struct 120 static NODISCARD overflow_status printer_print_path(struct printer *printer, bool in_value); argument 121 static NODISCARD overflow_status printer_print_type(struct printer *printer); 122 static NODISCARD overflow_status printer_print_const(struct printer *printer, bool in_value); 125 struct printer printer = { in try_parse_path() local 133 overflow_status ignore = printer_print_path(&printer, false); // can't fail since no output in try_parse_path() 135 *parser = printer.parser; in try_parse_path() 136 return printer.status; in try_parse_path() 195 struct printer printer = { in rust_demangle_v0_display_demangle() local 208 if (printer_print_path(&printer, true) == OverflowOverflow) { in rust_demangle_v0_display_demangle() [all …]
|
| H A D | print_binary.c | 7 size_t bytes_per_line, binary__fprintf_t printer, in binary__fprintf() argument 13 if (!printer) in binary__fprintf() 19 printed += printer(BINARY_PRINT_DATA_BEGIN, 0, extra, fp); in binary__fprintf() 22 printed += printer(BINARY_PRINT_LINE_BEGIN, -1, extra, fp); in binary__fprintf() 23 printed += printer(BINARY_PRINT_ADDR, i, extra, fp); in binary__fprintf() 26 printed += printer(BINARY_PRINT_NUM_DATA, data[i], extra, fp); in binary__fprintf() 30 printed += printer(BINARY_PRINT_NUM_PAD, -1, extra, fp); in binary__fprintf() 32 printer(BINARY_PRINT_SEP, i, extra, fp); in binary__fprintf() 34 printed += printer(BINARY_PRINT_CHAR_DATA, data[j], extra, fp); in binary__fprintf() 36 printed += printer(BINARY_PRINT_CHAR_PAD, i, extra, fp); in binary__fprintf() [all …]
|
| H A D | print_binary.h | 25 size_t bytes_per_line, binary__fprintf_t printer, 29 size_t bytes_per_line, binary__fprintf_t printer, in print_binary() argument 32 binary__fprintf(data, len, bytes_per_line, printer, extra, stdout); in print_binary()
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_parser.py | 57 def add_error(self, printer: Printer, error_message: str) -> None: 60 printer.print_with_timestamp(stdout.red('[ERROR]') + f' Test: {self.name}: {error_message}') 254 version_type: str, test: Test, printer: Printer) -> None: 269 test.add_error(printer, f'{version_type} version lower than expected!') 271 test.add_error(printer, f'{version_type} version higer than expected!') 273 def parse_ktap_header(lines: LineStream, test: Test, printer: Printer) -> bool: 294 check_version(version_num, KTAP_VERSIONS, 'KTAP', test, printer) 297 check_version(version_num, TAP_VERSIONS, 'TAP', test, printer) 387 expected_num: int, printer: Printer) -> bool: 428 test.add_error(printer, f'Expected test number {expected_num} but found {num}') [all …]
|
| /linux/Documentation/usb/ |
| H A D | gadget_printer.rst | 14 This driver may be used if you are writing printer firmware using Linux as 15 the embedded OS. This driver has nothing to do with using a printer with 20 USB device controller driver is loaded then load the printer gadget driver. 21 This will present a printer interface to the USB Host that your USB Device 24 This driver is structured for printer firmware that runs in user mode. The 25 user mode printer firmware will read and write data from the kernel mode 26 printer gadget driver using a device file. The printer returns a printer status 27 byte when the USB HOST sends a device request to get the printer status. The 37 To load the USB device controller driver and the printer gadget driver. The 44 The follow command line parameter can be used when loading the printer gadget [all …]
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_debugfs.c | 49 struct drm_printer printer = drm_seq_file_printer(m); in lsdc_show_gfxpll_clock() local 52 gfxpll->funcs->print(gfxpll, &printer, true); in lsdc_show_gfxpll_clock() 61 struct drm_printer printer = drm_seq_file_printer(m); in lsdc_show_benchmark() local 63 lsdc_show_benchmark_copy(ldev, &printer); in lsdc_show_benchmark()
|
| H A D | lsdc_gfxpll.c | 153 struct drm_printer printer = drm_info_printer(this->ddev->dev); in loongson_gfxpll_init() local 161 this->funcs->print(this, &printer, false); in loongson_gfxpll_init()
|
| H A D | lsdc_gfxpll.h | 32 struct drm_printer *printer, bool verbose);
|
| H A D | lsdc_pixpll.h | 64 struct drm_printer *printer);
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_ttm_buddy_manager.c | 224 struct drm_printer *printer) in i915_ttm_buddy_man_debug() argument 230 drm_printf(printer, "default_page_size: %lluKiB\n", in i915_ttm_buddy_man_debug() 232 drm_printf(printer, "visible_avail: %lluMiB\n", in i915_ttm_buddy_man_debug() 234 drm_printf(printer, "visible_size: %lluMiB\n", in i915_ttm_buddy_man_debug() 236 drm_printf(printer, "visible_reserved: %lluMiB\n", in i915_ttm_buddy_man_debug() 239 drm_buddy_print(&bman->mm, printer); in i915_ttm_buddy_man_debug() 241 drm_printf(printer, "reserved:\n"); in i915_ttm_buddy_man_debug() 243 drm_buddy_block_print(&bman->mm, block, printer); in i915_ttm_buddy_man_debug()
|
| H A D | intel_memory_region.c | 206 struct drm_printer *printer) in intel_memory_region_debug() argument 208 drm_printf(printer, "%s: ", mr->name); in intel_memory_region_debug() 211 ttm_resource_manager_debug(mr->region_private, printer); in intel_memory_region_debug() 213 drm_printf(printer, "total:%pa bytes\n", &mr->total); in intel_memory_region_debug()
|
| H A D | intel_memory_region.h | 123 struct drm_printer *printer);
|
| /linux/drivers/parport/ |
| H A D | TODO-parport | 10 the printer support it. 14 with (maybe just log) whatever the printer wants to tell the world.
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_ttm_vram_mgr.c | 200 struct drm_printer *printer) in xe_ttm_vram_mgr_debug() argument 206 drm_printf(printer, "default_page_size: %lluKiB\n", in xe_ttm_vram_mgr_debug() 208 drm_printf(printer, "visible_avail: %lluMiB\n", in xe_ttm_vram_mgr_debug() 210 drm_printf(printer, "visible_size: %lluMiB\n", in xe_ttm_vram_mgr_debug() 213 drm_buddy_print(mm, printer); in xe_ttm_vram_mgr_debug() 215 drm_printf(printer, "man size:%llu\n", man->size); in xe_ttm_vram_mgr_debug()
|
| /linux/Documentation/networking/ |
| H A D | plip.rst | 25 printer port. PLIP is a non-standard, but [can use] uses the standard 26 LapLink null-printer cable [can also work in turbo mode, with a PLIP 118 printer "null" cable to transfer data four bits at a time using 122 bi-directional parallel ports, rather than output-only ``printer`` 130 printer "null" cable which transfers data four bits at a time using 163 bi-directional parallel ports, rather than output-only ``printer`` 166 ``printer`` (as opposed to ``parallel``) ports or when the machine
|
| /linux/Documentation/spi/ |
| H A D | butterfly.rst | 12 You can make this adapter from an old printer cable and solder things 15 Butterfly and the printer port, or with a better power supply than two 16 signal pins from the printer port. Or for that matter, you can use
|
| /linux/drivers/char/ |
| H A D | Kconfig | 35 tristate "Parallel printer support" 39 If you intend to attach a printer to the parallel port of your Linux 40 box (as opposed to using a serial printer; if the connector at the 41 printer has 9 or 25 holes ["female"], then it's serial), say Y. 46 (e.g. printer and ZIP drive) and it is safe to compile the 62 bool "Support for console on line printer" 66 can have a console on the printer. This option adds support for 70 If the printer is out of paper (or off, or unplugged, or too 71 busy..) the kernel will stall until the printer is ready again.
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_gmrid_manager.c | 141 struct drm_printer *printer) in vmw_gmrid_man_debug() argument 147 drm_printf(printer, "%s's used: %u pages, max: %u pages, %u id's\n", in vmw_gmrid_man_debug()
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_range_manager.c | 150 struct drm_printer *printer) in ttm_range_man_debug() argument 155 drm_mm_print(&rman->mm, printer); in ttm_range_man_debug()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vram_mgr.c | 877 struct drm_printer *printer) in amdgpu_vram_mgr_debug() argument 883 drm_printf(printer, " vis usage:%llu\n", in amdgpu_vram_mgr_debug() 887 drm_printf(printer, "default_page_size: %lluKiB\n", in amdgpu_vram_mgr_debug() 890 drm_buddy_print(mm, printer); in amdgpu_vram_mgr_debug() 892 drm_printf(printer, "reserved:\n"); in amdgpu_vram_mgr_debug() 894 drm_printf(printer, "%#018llx-%#018llx: %llu\n", in amdgpu_vram_mgr_debug()
|
| H A D | amdgpu_gtt_mgr.c | 298 struct drm_printer *printer) in amdgpu_gtt_mgr_debug() argument 303 drm_mm_print(&mgr->mm, printer); in amdgpu_gtt_mgr_debug()
|
| /linux/drivers/gpu/drm/display/ |
| H A D | drm_dp_mst_topology_internal.h | 24 int indent, struct drm_printer *printer);
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-printer | 1 What: /config/usb-gadget/gadget/functions/printer.name
|
| /linux/Documentation/admin-guide/blockdev/ |
| H A D | paride.rst | 191 3.3 Some drives need a printer reset 197 the adapter can often be reinitialised by issuing a "printer reset" on 200 automatically. You can however, force a printer reset by doing:: 206 your pata_parport drivers as modules, and arrange to do the printer reset
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | Makefile | 17 g_printer-y := printer.o
|