/openbmc/linux/drivers/media/platform/st/sti/hva/ |
H 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 …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-wiimote-debug.c | 106 drm = dbg->wdata->state.drm; in wiidebug_drm_show() 174 struct wiimote_debug *dbg; in wiidebug_init() local 177 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in wiidebug_init() 178 if (!dbg) in wiidebug_init() 181 dbg->wdata = wdata; in wiidebug_init() 184 dbg->wdata->hdev->debug_dir, dbg, &wiidebug_eeprom_fops); in wiidebug_init() 187 dbg->wdata->hdev->debug_dir, dbg, &wiidebug_drm_fops); in wiidebug_init() 190 wdata->debug = dbg; in wiidebug_init() 202 if (!dbg) in wiidebug_deinit() 209 debugfs_remove(dbg->drm); in wiidebug_deinit() [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H 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 …]
|
/openbmc/linux/drivers/bluetooth/ |
H A D | btmrvl_debugfs.c | 142 struct btmrvl_debugfs_data *dbg; in btmrvl_debugfs_init() local 147 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in btmrvl_debugfs_init() 148 priv->debugfs_data = dbg; in btmrvl_debugfs_init() 150 if (!dbg) { in btmrvl_debugfs_init() 157 debugfs_create_u8("psmode", 0644, dbg->config_dir, in btmrvl_debugfs_init() 159 debugfs_create_file("pscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init() 163 debugfs_create_u8("hsmode", 0644, dbg->config_dir, in btmrvl_debugfs_init() 186 if (!dbg) in btmrvl_debugfs_remove() 189 debugfs_remove_recursive(dbg->config_dir); in btmrvl_debugfs_remove() 190 debugfs_remove_recursive(dbg->status_dir); in btmrvl_debugfs_remove() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | intel_runtime_pm.c | 176 if (dbg->last_acquire) { in __print_intel_runtime_pm_wakeref() 181 if (dbg->last_release) { in __print_intel_runtime_pm_wakeref() 188 sort(dbg->owners, dbg->count, sizeof(*dbg->owners), cmphandle, NULL); in __print_intel_runtime_pm_wakeref() 195 while (i + 1 < dbg->count && dbg->owners[i + 1] == stack) in __print_intel_runtime_pm_wakeref() 267 dbg.count = rpm->debug.count; in print_intel_runtime_pm_wakeref() 268 if (dbg.count <= alloc) { in print_intel_runtime_pm_wakeref() 269 memcpy(dbg.owners, in print_intel_runtime_pm_wakeref() 276 if (dbg.count <= alloc) in print_intel_runtime_pm_wakeref() 279 s = krealloc(dbg.owners, in print_intel_runtime_pm_wakeref() 285 dbg.owners = s; in print_intel_runtime_pm_wakeref() [all …]
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_debugfs.c | 148 switch (dbg->type) { in hinic_dbg_cmd_read() 150 out = hinic_dbg_get_sq_info(dbg->dev, dbg->object, *desc); in hinic_dbg_cmd_read() 154 out = hinic_dbg_get_rq_info(dbg->dev, dbg->object, *desc); in hinic_dbg_cmd_read() 162 netif_warn(dbg->dev, drv, dbg->dev->netdev, "Invalid hinic debug cmd: %d\n", in hinic_dbg_cmd_read() 163 dbg->type); in hinic_dbg_cmd_read() 199 *dbg = tmp; in create_dbg_files() 209 kfree(dbg); in rem_dbg_files() 230 if (sq->dbg) in hinic_sq_debug_rem() 231 rem_dbg_files(sq->dbg); in hinic_sq_debug_rem() 252 if (rq->dbg) in hinic_rq_debug_rem() [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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()
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/dvb-apps/ |
H A D | dvb-apps_1.1.1.20140321.bb | 39 PACKAGES =+ "dvb-evtest dvb-evtest-dbg \ 40 dvbapp-tests dvbapp-tests-dbg \ 41 dvbdate dvbdate-dbg \ 42 dvbtraffic dvbtraffic-dbg \ 43 dvbnet dvbnet-dbg \ 45 dvb-azap dvb-azap-dbg \ 46 dvb-czap dvb-czap-dbg \ 47 dvb-szap dvb-szap-dbg \ 48 dvb-tzap dvb-tzap-dbg \ 49 dvb-femon dvb-femon-dbg \ [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | debugfs.c | 109 dev->priv.dbg.qp_debugfs = debugfs_create_dir("QPs", dev->priv.dbg.dbg_root); in mlx5_qp_debugfs_init() 121 dev->priv.dbg.eq_debugfs = debugfs_create_dir("EQs", dev->priv.dbg.dbg_root); in mlx5_eq_debugfs_init() 260 dev->priv.dbg.cq_debugfs = debugfs_create_dir("CQs", dev->priv.dbg.dbg_root); in mlx5_cq_debugfs_init() 515 *dbg = d; in add_res_tree() 537 qp->dbg = NULL; in mlx5_debug_qp_add() 549 qp->dbg = NULL; in mlx5_debug_qp_remove() 564 eq->dbg = NULL; in mlx5_debug_eq_add() 574 if (eq->dbg) in mlx5_debug_eq_remove() 589 cq->dbg = NULL; in mlx5_debug_cq_add() 599 if (cq->dbg) { in mlx5_debug_cq_remove() [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H 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()
|
/openbmc/linux/tools/perf/util/ |
H 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
|
H 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() 1252 elf = dwarf_getelf(dbg->dbg); in debuginfo__find_probes() [all …]
|
/openbmc/linux/tools/usb/usbip/libsrc/ |
H 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 …]
|
/openbmc/linux/drivers/media/platform/st/sti/bdisp/ |
H 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 …]
|
/openbmc/linux/arch/powerpc/platforms/ps3/ |
H 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 …]
|
/openbmc/linux/net/caif/ |
H 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()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | debugfs.c | 166 struct dentry *dbg; in mlx5_ldev_add_debugfs() local 168 dbg = debugfs_create_dir("lag", mlx5_debugfs_get_dev_root(dev)); in mlx5_ldev_add_debugfs() 169 dev->priv.dbg.lag_debugfs = dbg; in mlx5_ldev_add_debugfs() 171 debugfs_create_file("type", 0444, dbg, dev, &type_fops); in mlx5_ldev_add_debugfs() 172 debugfs_create_file("port_sel_mode", 0444, dbg, dev, &port_sel_mode_fops); in mlx5_ldev_add_debugfs() 173 debugfs_create_file("state", 0444, dbg, dev, &state_fops); in mlx5_ldev_add_debugfs() 174 debugfs_create_file("flags", 0444, dbg, dev, &flags_fops); in mlx5_ldev_add_debugfs() 175 debugfs_create_file("mapping", 0444, dbg, dev, &mapping_fops); in mlx5_ldev_add_debugfs() 176 debugfs_create_file("members", 0444, dbg, dev, &members_fops); in mlx5_ldev_add_debugfs() 179 void mlx5_ldev_remove_debugfs(struct dentry *dbg) in mlx5_ldev_remove_debugfs() argument [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-dbg-tlv.c | 153 trans->dbg.fw_mon_cfg[alloc_id] = *alloc; in iwl_dbg_tlv_alloc_buf_alloc() 228 trans->dbg.imr_data.sram_addr = in iwl_dbg_tlv_alloc_region() 230 trans->dbg.imr_data.sram_size = in iwl_dbg_tlv_alloc_region() 275 trans->dbg.last_tp_resetfw = 0xFF; in iwl_dbg_tlv_alloc_trigger() 330 &trans->dbg.external_ini_cfg : &trans->dbg.internal_ini_cfg; in iwl_dbg_tlv_alloc() 430 &trans->dbg.active_regions[i]; in iwl_dbg_tlv_free() 444 &trans->dbg.time_point[i]; in iwl_dbg_tlv_free() 532 &trans->dbg.time_point[i]; in iwl_dbg_tlv_init() 1267 fwrt->trans->dbg.last_tp_resetfw = in iwl_dbg_tlv_tp_trigger() 1294 &fwrt->trans->dbg.time_point[i]; in iwl_dbg_tlv_init_cfg() [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | util.c | 194 = adapter->dbg.num_cmd_host_to_card_failure; in mwifiex_get_debug_info() 198 = adapter->dbg.num_tx_host_to_card_failure; in mwifiex_get_debug_info() 204 adapter->dbg.num_cmd_assoc_success; in mwifiex_get_debug_info() 206 adapter->dbg.num_cmd_assoc_failure; in mwifiex_get_debug_info() 211 sizeof(adapter->dbg.last_cmd_id)); in mwifiex_get_debug_info() 213 sizeof(adapter->dbg.last_cmd_act)); in mwifiex_get_debug_info() 216 sizeof(adapter->dbg.last_cmd_resp_id)); in mwifiex_get_debug_info() 219 sizeof(adapter->dbg.last_event)); in mwifiex_get_debug_info() 224 sizeof(adapter->dbg.last_mp_wr_ports)); in mwifiex_get_debug_info() 226 adapter->dbg.last_mp_curr_wr_port, in mwifiex_get_debug_info() [all …]
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | debug.h | 68 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled() 79 if (ubi->dbg.emulate_bitflips) in ubi_dbg_is_bitflip() 93 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_write_failure() 107 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_erase_failure() 114 return ubi->dbg.chk_io; in ubi_dbg_chk_io() 119 return ubi->dbg.chk_gen; in ubi_dbg_chk_gen() 124 return ubi->dbg.chk_fastmap; in ubi_dbg_chk_fastmap() 129 ubi->dbg.chk_fastmap = 1; in ubi_enable_dbg_chk_fastmap()
|
/openbmc/linux/drivers/mtd/ubi/ |
H 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()
|