/linux/drivers/media/platform/sti/hva/ |
A D | hva-debugfs.c | 18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx() local 124 struct hva_ctx_dbg *dbg = &ctx->dbg; in hva_dbg_perf_begin() local 134 dbg->min_period = min(period, dbg->min_period); in hva_dbg_perf_begin() 135 dbg->max_period = max(period, dbg->max_period); in hva_dbg_perf_begin() 137 dbg->cnt_period++; in hva_dbg_perf_begin() 182 struct hva_ctx_dbg *dbg = &ctx->dbg; in hva_dbg_perf_end() local 204 dbg->min_duration = min(duration, dbg->min_duration); in hva_dbg_perf_end() 205 dbg->max_duration = max(duration, dbg->max_duration); in hva_dbg_perf_end() 222 struct hva_ctx_dbg *dbg = &ctx->dbg; in hva_dbg_perf_compute() local 237 dbg->max_fps = 0; in hva_dbg_perf_compute() [all …]
|
/linux/drivers/hid/ |
A D | hid-wiimote-debug.c | 178 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in wiidebug_init() 179 if (!dbg) in wiidebug_init() 182 dbg->wdata = wdata; in wiidebug_init() 185 dbg->wdata->hdev->debug_dir, dbg, &wiidebug_eeprom_fops); in wiidebug_init() 186 if (!dbg->eeprom) in wiidebug_init() 190 dbg->wdata->hdev->debug_dir, dbg, &wiidebug_drm_fops); in wiidebug_init() 191 if (!dbg->drm) in wiidebug_init() 195 wdata->debug = dbg; in wiidebug_init() 203 kfree(dbg); in wiidebug_init() 212 if (!dbg) in wiidebug_deinit() [all …]
|
/linux/sound/soc/fsl/ |
A D | fsl_ssi_dbg.c | 18 dbg->stats.rfrc++; in fsl_ssi_dbg_isr() 21 dbg->stats.tfrc++; in fsl_ssi_dbg_isr() 24 dbg->stats.cmdau++; in fsl_ssi_dbg_isr() 30 dbg->stats.rxt++; in fsl_ssi_dbg_isr() 33 dbg->stats.rdr1++; in fsl_ssi_dbg_isr() 36 dbg->stats.rdr0++; in fsl_ssi_dbg_isr() 39 dbg->stats.tde1++; in fsl_ssi_dbg_isr() 57 dbg->stats.tfs++; in fsl_ssi_dbg_isr() 60 dbg->stats.rfs++; in fsl_ssi_dbg_isr() 63 dbg->stats.tls++; in fsl_ssi_dbg_isr() [all …]
|
/linux/drivers/bluetooth/ |
A D | btmrvl_debugfs.c | 155 struct btmrvl_debugfs_data *dbg; in btmrvl_debugfs_init() local 160 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in btmrvl_debugfs_init() 161 priv->debugfs_data = dbg; in btmrvl_debugfs_init() 163 if (!dbg) { in btmrvl_debugfs_init() 170 debugfs_create_u8("psmode", 0644, dbg->config_dir, in btmrvl_debugfs_init() 172 debugfs_create_file("pscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init() 176 debugfs_create_u8("hsmode", 0644, dbg->config_dir, in btmrvl_debugfs_init() 199 if (!dbg) in btmrvl_debugfs_remove() 202 debugfs_remove_recursive(dbg->config_dir); in btmrvl_debugfs_remove() 203 debugfs_remove_recursive(dbg->status_dir); in btmrvl_debugfs_remove() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_runtime_pm.c | 175 if (dbg->last_acquire) { in __print_intel_runtime_pm_wakeref() 180 if (dbg->last_release) { in __print_intel_runtime_pm_wakeref() 187 sort(dbg->owners, dbg->count, sizeof(*dbg->owners), cmphandle, NULL); in __print_intel_runtime_pm_wakeref() 194 while (i + 1 < dbg->count && dbg->owners[i + 1] == stack) in __print_intel_runtime_pm_wakeref() 266 dbg.count = rpm->debug.count; in print_intel_runtime_pm_wakeref() 267 if (dbg.count <= alloc) { in print_intel_runtime_pm_wakeref() 268 memcpy(dbg.owners, in print_intel_runtime_pm_wakeref() 275 if (dbg.count <= alloc) in print_intel_runtime_pm_wakeref() 278 s = krealloc(dbg.owners, in print_intel_runtime_pm_wakeref() 284 dbg.owners = s; in print_intel_runtime_pm_wakeref() [all …]
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_debugfs.c | 142 switch (dbg->type) { in hinic_dbg_cmd_read() 144 out = hinic_dbg_get_sq_info(dbg->dev, dbg->object, *desc); in hinic_dbg_cmd_read() 148 out = hinic_dbg_get_rq_info(dbg->dev, dbg->object, *desc); in hinic_dbg_cmd_read() 156 netif_warn(dbg->dev, drv, dbg->dev->netdev, "Invalid hinic debug cmd: %d\n", in hinic_dbg_cmd_read() 157 dbg->type); in hinic_dbg_cmd_read() 193 *dbg = tmp; in create_dbg_files() 203 kfree(dbg); in rem_dbg_files() 224 if (sq->dbg) in hinic_sq_debug_rem() 225 rem_dbg_files(sq->dbg); in hinic_sq_debug_rem() 246 if (rq->dbg) in hinic_rq_debug_rem() [all …]
|
/linux/drivers/pci/hotplug/ |
A D | cpci_hotplug_core.c | 32 #define dbg(format, arg...) \ macro 219 dbg("registering slot %s", name); in cpci_hp_register_bus() 272 dbg("entered cpci_hp_intr"); in cpci_hp_intr() 300 dbg("%s - enter", __func__); in init_slots() 319 dbg("%s - exit", __func__); in init_slots() 361 dbg("%s - configuring slot %s", in check_slots() 389 dbg("%s - slot %s extracted", in check_slots() 394 dbg("%s - slot %s HS_CSR = %04x", in check_slots() 438 dbg("event thread sleeping"); in event_thread() 592 dbg("%s - enter", __func__); in cpci_hp_start() [all …]
|
A D | cpqphp_sysfs.c | 134 struct ctrl_dbg *dbg; in open() local 138 dbg = kmalloc(sizeof(*dbg), GFP_KERNEL); in open() 139 if (!dbg) in open() 142 if (!dbg->data) { in open() 143 kfree(dbg); in open() 146 dbg->size = spew_debug_info(ctrl, dbg->data, MAX_OUTPUT); in open() 147 file->private_data = dbg; in open() 156 struct ctrl_dbg *dbg = file->private_data; in lseek() local 164 return simple_read_from_buffer(buf, nbytes, ppos, dbg->data, dbg->size); in read() 171 kfree(dbg->data); in release() [all …]
|
A D | cpqphp_core.c | 168 dbg("bus dev func slot\n"); in pci_print_IRQ_route() 587 dbg("%s\n", __func__); in ctrl_slot_setup() 704 dbg("Initialize slot lists\n"); in one_time_init() 794 dbg("Vendor ID: %x\n", vendor_id); in cpqhpc_probe() 796 dbg("revision: %d\n", pdev->revision); in cpqhpc_probe() 862 dbg("bus max supports 66MHz PCI-X\n"); in cpqhpc_probe() 867 dbg("bus max supports 66MHz PCI\n"); in cpqhpc_probe() 1042 dbg("pdev = %p\n", pdev); in cpqhpc_probe() 1189 dbg("hp_slot: %d\n", hp_slot); in cpqhpc_probe() 1398 dbg("unload_cpqphpd()\n"); in cpqhpc_cleanup() [all …]
|
A D | cpcihp_zt5550.c | 30 #define dbg(format, arg...) \ macro 78 dbg("hc_dev = %p", hc_dev); in zt5550_hc_config() 80 dbg("pci resource len %llx", (unsigned long long)pci_resource_len(hc_dev, 1)); in zt5550_hc_config() 107 dbg("disabling host control, fault and serial interrupts"); in zt5550_hc_config() 110 dbg("disabled host control, fault and serial interrupts"); in zt5550_hc_config() 115 dbg("disabling timer0, timer1 and ENUM interrupts"); in zt5550_hc_config() 117 dbg("disabled timer0, timer1 and ENUM interrupts"); in zt5550_hc_config() 196 dbg("returned from zt5550_hc_config"); in zt5550_hc_init_one() 218 dbg("registered controller"); in zt5550_hc_init_one() 235 dbg("registered bus"); in zt5550_hc_init_one() [all …]
|
A D | cpqphp_ctrl.c | 864 dbg("8..\n"); in cpqhp_resource_sort_and_combine() 942 dbg("Waking even thread"); in cpqhp_ctrl_intr() 1796 dbg("button pressed\n"); in interrupt_event_handler() 1799 dbg("button cancel\n"); in interrupt_event_handler() 1832 dbg("slot is on\n"); in interrupt_event_handler() 1836 dbg("slot is off\n"); in interrupt_event_handler() 1866 dbg("power fault\n"); in interrupt_event_handler() 2233 dbg("%s\n", __func__); in configure_new_device() 2412 dbg("io_node\n"); in configure_new_function() 2415 dbg("mem_node\n"); in configure_new_function() [all …]
|
A D | cpcihp_generic.c | 35 #define dbg(format, arg...) \ macro 80 dbg("bridge_busnr = 0x%02x", bridge_busnr); in validate_parameters() 92 dbg("bridge_slot = 0x%02x", bridge_slot); in validate_parameters() 94 dbg("first_slot = 0x%02x", first_slot); in validate_parameters() 95 dbg("last_slot = 0x%02x", last_slot); in validate_parameters() 105 dbg("port = 0x%04x", port); in validate_parameters() 106 dbg("enum_bit = 0x%02x", enum_bit); in validate_parameters() 157 dbg("registered controller"); in cpcihp_generic_init() 164 dbg("registered bus"); in cpcihp_generic_init() 171 dbg("started cpci hp system"); in cpcihp_generic_init()
|
/linux/drivers/media/platform/sti/bdisp/ |
A D | bdisp-debug.c | 16 bdisp->dbg.hw_start = ktime_get(); in bdisp_dbg_perf_begin() 25 if (!bdisp->dbg.min_duration) in bdisp_dbg_perf_end() 26 bdisp->dbg.min_duration = time_us; in bdisp_dbg_perf_end() 28 bdisp->dbg.min_duration = min(time_us, bdisp->dbg.min_duration); in bdisp_dbg_perf_end() 30 bdisp->dbg.last_duration = time_us; in bdisp_dbg_perf_end() 31 bdisp->dbg.max_duration = max(time_us, bdisp->dbg.max_duration); in bdisp_dbg_perf_end() 32 bdisp->dbg.tot_duration += time_us; in bdisp_dbg_perf_end() 325 if (!bdisp->dbg.copy_node[0]) { in last_nodes_show() 331 node = bdisp->dbg.copy_node[i]; in last_nodes_show() 398 if (!bdisp->dbg.copy_node[0]) { in last_nodes_raw_show() [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | util.c | 206 = adapter->dbg.num_cmd_host_to_card_failure; in mwifiex_get_debug_info() 210 = adapter->dbg.num_tx_host_to_card_failure; in mwifiex_get_debug_info() 216 adapter->dbg.num_cmd_assoc_success; in mwifiex_get_debug_info() 218 adapter->dbg.num_cmd_assoc_failure; in mwifiex_get_debug_info() 223 sizeof(adapter->dbg.last_cmd_id)); in mwifiex_get_debug_info() 225 sizeof(adapter->dbg.last_cmd_act)); in mwifiex_get_debug_info() 228 sizeof(adapter->dbg.last_cmd_resp_id)); in mwifiex_get_debug_info() 231 sizeof(adapter->dbg.last_event)); in mwifiex_get_debug_info() 236 sizeof(adapter->dbg.last_mp_wr_ports)); in mwifiex_get_debug_info() 238 adapter->dbg.last_mp_curr_wr_port, in mwifiex_get_debug_info() [all …]
|
/linux/arch/m68k/include/asm/ |
A D | mcfwdebug.h | 95 unsigned short *dbg; in wdebug() local 98 dbg = (unsigned short *)((((unsigned long)dbg_spc) + 3) & 0xfffffffc); in wdebug() 101 dbg[0] = 0x2c80 | (reg & 0xf); in wdebug() 102 dbg[1] = (data >> 16) & 0xffff; in wdebug() 103 dbg[2] = data & 0xffff; in wdebug() 104 dbg[3] = 0; in wdebug() 112 :: "g" (dbg) : "a0"); in wdebug() 115 asm( "wdebug (%0)" :: "a" (dbg)); in wdebug()
|
/linux/tools/usb/usbip/libsrc/ |
A D | vhci_driver.c | 63 dbg("sscanf failed: %d", ret); in parse_status() 92 dbg("imported_device_init failed"); in parse_status() 104 dbg("exit"); in parse_status() 128 dbg("controller %d", i); in refresh_imported_device_list() 269 dbg("available ports: %d", nports); in usbip_vhci_driver_open() 330 dbg("failed to refresh device list"); in usbip_vhci_refresh_device_list() 367 dbg("writing: %s", buff); in usbip_vhci_attach_device2() 376 dbg("write_sysfs_attribute failed"); in usbip_vhci_attach_device2() 380 dbg("attached port: %d", port); in usbip_vhci_attach_device2() 408 dbg("writing: %s", buff); in usbip_vhci_detach_device() [all …]
|
/linux/tools/perf/util/ |
A D | probe-finder.c | 70 dbg->mod = dwfl_report_offline(dbg->dwfl, "", "", fd); in debuginfo__init_offline_dwarf() 74 dbg->dbg = dwfl_module_getdwarf(dbg->mod, &dbg->bias); in debuginfo__init_offline_dwarf() 75 if (!dbg->dbg) in debuginfo__init_offline_dwarf() 88 memset(dbg, 0, sizeof(*dbg)); in debuginfo__init_offline_dwarf() 95 struct debuginfo *dbg = zalloc(sizeof(*dbg)); in __debuginfo__new() local 96 if (!dbg) in __debuginfo__new() 101 if (dbg) in __debuginfo__new() 103 return dbg; in __debuginfo__new() 149 if (dbg) { in debuginfo__delete() 1243 elf = dwarf_getelf(dbg->dbg); in debuginfo__find_probes() [all …]
|
A D | probe-finder.h | 32 Dwarf *dbg; member 41 void debuginfo__delete(struct debuginfo *dbg); 44 int debuginfo__find_trace_events(struct debuginfo *dbg, 49 int debuginfo__find_probe_point(struct debuginfo *dbg, u64 addr, 52 int debuginfo__get_text_offset(struct debuginfo *dbg, Dwarf_Addr *offs, 56 int debuginfo__find_line_range(struct debuginfo *dbg, struct line_range *lr); 59 int debuginfo__find_available_vars_at(struct debuginfo *dbg, 69 struct debuginfo *dbg; member
|
/linux/arch/powerpc/platforms/ps3/ |
A D | gelic_udbg.c | 68 static __iomem struct debug_block dbg __attribute__((aligned(32))); variable 127 map_dma_mem(GELIC_BUS_ID, GELIC_DEVICE_ID, &dbg, sizeof(dbg), in gelic_debug_init() 130 memset(&dbg, 0, sizeof(dbg)); in gelic_debug_init() 132 dbg.descr.buf_addr = bus_addr + offsetof(struct debug_block, pkt); in gelic_debug_init() 144 h_eth = (struct ethhdr *)dbg.pkt; in gelic_debug_init() 188 bus_addr, sizeof(dbg)); in gelic_debug_shutdown() 198 dbg.descr.buf_size = header_size + msgsize; in gelic_sendbuf() 210 dbg.descr.dmac_cmd_status = GELIC_DESCR_DMA_CMD_NO_CHKSUM | in gelic_sendbuf() 212 dbg.descr.result_size = 0; in gelic_sendbuf() 213 dbg.descr.data_status = 0; in gelic_sendbuf() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
A D | iwl-dbg-tlv.c | 140 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc() 308 &trans->dbg.external_ini_cfg : &trans->dbg.internal_ini_cfg; in iwl_dbg_tlv_alloc() 315 domain, trans->dbg.domains_bitmap); in iwl_dbg_tlv_alloc() 370 fw_mon = &trans->dbg.fw_mon_ini[alloc_id]; in iwl_dbg_tlv_fragments_free() 397 &trans->dbg.active_regions[i]; in iwl_dbg_tlv_free() 411 &trans->dbg.time_point[i]; in iwl_dbg_tlv_free() 499 &trans->dbg.time_point[i]; in iwl_dbg_tlv_init() 1196 fwrt->trans->dbg.domains_bitmap); in iwl_dbg_tlv_init_cfg() 1200 &fwrt->trans->dbg.time_point[i]; in iwl_dbg_tlv_init_cfg() 1208 &fwrt->trans->dbg.fw_mon_cfg[i]; in iwl_dbg_tlv_init_cfg() [all …]
|
/linux/tools/usb/usbip/src/ |
A D | usbipd.c | 105 dbg("usbip_net_recv failed: import request"); in recv_request_import() 148 dbg("usbip_net_send failed: devinfo"); in recv_request_import() 208 dbg("usbip_net_send failed: pdu_udev"); in send_reply_devlist() 244 dbg("send_reply_devlist failed"); in recv_request_devlist() 389 dbg("opening %s", ai_buf); in listen_all_addrinfo() 448 dbg("received '%s' signal", strsignal(i)); in signal_handler() 469 dbg("creating pid file %s", pid_file); in write_pid_file() 486 dbg("removing pid file %s", pid_file); in remove_pid_file() 564 dbg("%s", strerror(errno)); in do_standalone_mode() 569 dbg("read event on fd[%d]=%d", in do_standalone_mode() [all …]
|
/linux/arch/s390/kernel/vdso32/ |
A D | Makefile | 13 targets := $(obj-vdso32) vdso32.so vdso32.so.dbg 25 LDFLAGS_vdso32.so.dbg += -fPIC -shared -soname=linux-vdso32.so.1 \ 28 $(targets:%=$(obj)/%.dbg): KBUILD_CFLAGS = $(KBUILD_CFLAGS_32) 29 $(targets:%=$(obj)/%.dbg): KBUILD_AFLAGS = $(KBUILD_AFLAGS_32) 44 $(obj)/vdso32.so.dbg: $(src)/vdso32.lds $(obj-vdso32) FORCE 49 $(obj)/%.so: $(obj)/%.so.dbg FORCE 63 cmd_vdso_install = cp $(obj)/$@.dbg $(MODLIB)/vdso/$@ 65 vdso32.so: $(obj)/vdso32.so.dbg 76 include/generated/vdso32-offsets.h: $(obj)/vdso32.so.dbg FORCE
|
/linux/net/caif/ |
A D | cfdbgl.c | 22 struct cfsrvl *dbg = kzalloc(sizeof(struct cfsrvl), GFP_ATOMIC); in cfdbgl_create() local 23 if (!dbg) in cfdbgl_create() 26 cfsrvl_init(dbg, channel_id, dev_info, false); in cfdbgl_create() 27 dbg->layer.receive = cfdbgl_receive; in cfdbgl_create() 28 dbg->layer.transmit = cfdbgl_transmit; in cfdbgl_create() 29 snprintf(dbg->layer.name, CAIF_LAYER_NAME_SZ, "dbg%d", channel_id); in cfdbgl_create() 30 return &dbg->layer; in cfdbgl_create()
|
/linux/drivers/mtd/ubi/ |
A D | debug.h | 64 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled() 75 if (ubi->dbg.emulate_bitflips) in ubi_dbg_is_bitflip() 89 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_write_failure() 103 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_erase_failure() 110 return ubi->dbg.chk_io; in ubi_dbg_chk_io() 115 return ubi->dbg.chk_gen; in ubi_dbg_chk_gen() 120 return ubi->dbg.chk_fastmap; in ubi_dbg_chk_fastmap() 125 ubi->dbg.chk_fastmap = 1; in ubi_enable_dbg_chk_fastmap()
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | dbg.h | 60 void *__dbg_trigger = (fw)->dbg.trigger_tlv[(id)]; \ 67 return fw->dbg.trigger_tlv[id]; in _iwl_fw_dbg_get_trigger() 182 (fwrt->fw->dbg.dest_tlv || in iwl_fw_set_dbg_rec_on() 184 fwrt->trans->dbg.rec_on = true; in iwl_fw_set_dbg_rec_on() 197 return (fwrt->fw->dbg.dump_mask & BIT(type)); in iwl_fw_dbg_type_on() 271 if (!(trans->dbg.error_event_table_tlv_status & in iwl_fw_lmac1_set_alive_err_table() 273 WARN_ON(trans->dbg.lmac_error_event_table[0] != in iwl_fw_lmac1_set_alive_err_table() 281 if (!(trans->dbg.error_event_table_tlv_status & in iwl_fw_umac_set_alive_err_table() 283 WARN_ON(trans->dbg.umac_error_event_table != in iwl_fw_umac_set_alive_err_table() 297 if (fwrt->trans->dbg.hw_error) { in iwl_fw_error_collect() [all …]
|