/drivers/uwb/ |
D | uwb-debug.c | 73 struct uwb_dbg *dbg = rsv->pal_priv; in uwb_dbg_rsv_cb() local 78 spin_lock(&dbg->list_lock); in uwb_dbg_rsv_cb() 80 spin_unlock(&dbg->list_lock); in uwb_dbg_rsv_cb() 98 rsv = uwb_rsv_create(rc, uwb_dbg_rsv_cb, rc->dbg); in cmd_rsv_establish() 115 spin_lock(&(rc->dbg)->list_lock); in cmd_rsv_establish() 116 list_add_tail(&rsv->pal_node, &rc->dbg->rsvs); in cmd_rsv_establish() 117 spin_unlock(&(rc->dbg)->list_lock); in cmd_rsv_establish() 128 spin_lock(&(rc->dbg)->list_lock); in cmd_rsv_terminate() 130 list_for_each_entry(rsv, &rc->dbg->rsvs, pal_node) { in cmd_rsv_terminate() 139 spin_unlock(&(rc->dbg)->list_lock); in cmd_rsv_terminate() [all …]
|
/drivers/hid/ |
D | hid-wiimote-debug.c | 29 struct wiimote_debug *dbg = f->private_data; in wiidebug_eeprom_read() local 30 struct wiimote_data *wdata = dbg->wdata; in wiidebug_eeprom_read() 103 struct wiimote_debug *dbg = f->private; in wiidebug_drm_show() local 108 spin_lock_irqsave(&dbg->wdata->state.lock, flags); in wiidebug_drm_show() 109 drm = dbg->wdata->state.drm; in wiidebug_drm_show() 110 spin_unlock_irqrestore(&dbg->wdata->state.lock, flags); in wiidebug_drm_show() 131 struct wiimote_debug *dbg = sf->private; in wiidebug_drm_write() local 156 spin_lock_irqsave(&dbg->wdata->state.lock, flags); in wiidebug_drm_write() 157 dbg->wdata->state.flags &= ~WIIPROTO_FLAG_DRM_LOCKED; in wiidebug_drm_write() 158 wiiproto_req_drm(dbg->wdata, (__u8) i); in wiidebug_drm_write() [all …]
|
/drivers/bluetooth/ |
D | btmrvl_debugfs.c | 202 struct btmrvl_debugfs_data *dbg; in btmrvl_debugfs_init() local 207 dbg = kzalloc(sizeof(*dbg), GFP_KERNEL); in btmrvl_debugfs_init() 208 priv->debugfs_data = dbg; in btmrvl_debugfs_init() 210 if (!dbg) { in btmrvl_debugfs_init() 215 dbg->config_dir = debugfs_create_dir("config", hdev->debugfs); in btmrvl_debugfs_init() 217 debugfs_create_u8("psmode", 0644, dbg->config_dir, in btmrvl_debugfs_init() 219 debugfs_create_file("pscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init() 221 debugfs_create_x16("gpiogap", 0644, dbg->config_dir, in btmrvl_debugfs_init() 223 debugfs_create_u8("hsmode", 0644, dbg->config_dir, in btmrvl_debugfs_init() 225 debugfs_create_file("hscmd", 0644, dbg->config_dir, in btmrvl_debugfs_init() [all …]
|
/drivers/pci/hotplug/ |
D | cpci_hotplug_core.c | 45 #define dbg(format, arg...) \ macro 109 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in enable_slot() 122 dbg("%s - physical_slot = %s", __func__, slot_name(slot)); in disable_slot() 127 dbg("%s - unconfiguring slot %s", __func__, slot_name(slot)); in disable_slot() 134 dbg("%s - finished unconfiguring slot %s", __func__, slot_name(slot)); in disable_slot() 276 dbg("initializing slot %s", name); in cpci_hp_register_bus() 280 dbg("registering slot %s", name); in cpci_hp_register_bus() 286 dbg("slot registered with name: %s", slot_name(slot)); in cpci_hp_register_bus() 323 dbg("deregistering slot %s", slot_name(slot)); in cpci_hp_unregister_bus() 341 dbg("entered cpci_hp_intr"); in cpci_hp_intr() [all …]
|
D | cpqphp_sysfs.c | 148 struct ctrl_dbg *dbg; in open() local 152 dbg = kmalloc(sizeof(*dbg), GFP_KERNEL); in open() 153 if (!dbg) in open() 155 dbg->data = kmalloc(MAX_OUTPUT, GFP_KERNEL); in open() 156 if (!dbg->data) { in open() 157 kfree(dbg); in open() 160 dbg->size = spew_debug_info(ctrl, dbg->data, MAX_OUTPUT); in open() 161 file->private_data = dbg; in open() 170 struct ctrl_dbg *dbg = file->private_data; in lseek() local 171 return fixed_size_llseek(file, off, whence, dbg->size); in lseek() [all …]
|
D | cpqphp_core.c | 123 dbg("Discovered SMBIOS Entry point at %p\n", fp); in detect_SMBIOS_pointer() 184 dbg("bus dev func slot\n"); in pci_print_IRQ_route() 189 dbg("%d %d %d %d\n", tbus, tdevice >> 3, tdevice & 0x7, tslot); in pci_print_IRQ_route() 287 dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); in release_slot() 342 dbg("%s: %p, %d, %d, %p\n", __func__, bus, bus_num, dev_num, slot); in get_slot_mapping() 452 dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); in set_attention_status() 459 dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function); in set_attention_status() 479 dbg("%s - physical_slot = %s\n", __func__, slot_name(slot)); in process_SI() 486 dbg("bus, dev, fn = %d, %d, %d\n", bus, device, function); in process_SI() 496 dbg("board_added(%p, %p)\n", slot_func, ctrl); in process_SI() [all …]
|
D | cpcihp_zt5550.c | 49 #define dbg(format, arg...) \ macro 97 dbg("hc_dev = %p", hc_dev); in zt5550_hc_config() 98 dbg("pci resource start %llx", (unsigned long long)pci_resource_start(hc_dev, 1)); in zt5550_hc_config() 99 dbg("pci resource len %llx", (unsigned long long)pci_resource_len(hc_dev, 1)); in zt5550_hc_config() 126 dbg("disabling host control, fault and serial interrupts"); in zt5550_hc_config() 129 dbg("disabled host control, fault and serial interrupts"); in zt5550_hc_config() 134 dbg("disabling timer0, timer1 and ENUM interrupts"); in zt5550_hc_config() 136 dbg("disabled timer0, timer1 and ENUM interrupts"); in zt5550_hc_config() 215 dbg("returned from zt5550_hc_config"); in zt5550_hc_init_one() 237 dbg("registered controller"); in zt5550_hc_init_one() [all …]
|
D | cpqphp_ctrl.c | 79 dbg("cpqsbd: Switch interrupt received.\n"); in handle_switch_change() 157 dbg("cpqsbd: Presence/Notify input change.\n"); in handle_presence_change() 158 dbg(" Changed bits are 0x%4.4x\n", change); in handle_presence_change() 190 dbg("hp_slot %d button pressed\n", hp_slot); in handle_presence_change() 196 dbg("hp_slot %d button released\n", hp_slot); in handle_presence_change() 203 dbg("hp_slot %d button cancel\n", hp_slot); in handle_presence_change() 208 dbg("hp_slot %d button ignore\n", hp_slot); in handle_presence_change() 418 dbg("do_pre_bridge_resource_split\n"); in do_pre_bridge_resource_split() 748 dbg("%s: req_size =%x node=%p, base=%x, length=%x\n", in get_resource() 754 dbg("%s: not aligned\n", __func__); in get_resource() [all …]
|
D | cpcihp_generic.c | 54 #define dbg(format, arg...) \ macro 99 dbg("bridge_busnr = 0x%02x", bridge_busnr); in validate_parameters() 111 dbg("bridge_slot = 0x%02x", bridge_slot); in validate_parameters() 113 dbg("first_slot = 0x%02x", first_slot); in validate_parameters() 114 dbg("last_slot = 0x%02x", last_slot); in validate_parameters() 124 dbg("port = 0x%04x", port); in validate_parameters() 125 dbg("enum_bit = 0x%02x", enum_bit); in validate_parameters() 176 dbg("registered controller"); in cpcihp_generic_init() 183 dbg("registered bus"); in cpcihp_generic_init() 190 dbg("started cpci hp system"); in cpcihp_generic_init()
|
D | pcihp_skeleton.c | 51 #define dbg(format, arg...) \ macro 100 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in enable_slot() 114 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in disable_slot() 128 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in set_attention_status() 153 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in hardware_test() 172 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in get_power_status() 187 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in get_attention_status() 202 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in get_latch_status() 217 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in get_adapter_status() 231 dbg("%s - physical_slot = %s\n", __func__, hotplug_slot->name); in release_slot() [all …]
|
D | cpqphp_pci.c | 79 dbg("Discovered Hotplug Resource Table at %p\n", fp); in detect_HRT_floating_pointer() 96 dbg("INFO: pci_dev still null\n"); in cpqhp_configure_device() 104 dbg("ERROR: pci_dev still null\n"); in cpqhp_configure_device() 128 dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function); in cpqhp_unconfigure_device() 181 dbg("%s: dev %d, bus %d, pin %d, num %d\n", in cpqhp_set_irq() 186 dbg("%s: rc %d\n", __func__, rc); in cpqhp_set_irq() 218 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 222 dbg("found it !\n"); in PCI_ScanBusForNonBridge() 230 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice); in PCI_ScanBusForNonBridge() 235 dbg("Recurse on bus_num %d tdevice %d\n", tbus, tdevice); in PCI_ScanBusForNonBridge() [all …]
|
D | cpci_hotplug_pci.c | 38 #define dbg(format, arg...) \ macro 259 dbg("%s - enter", __func__); in cpci_configure_slot() 264 dbg("pci_dev null, finding %02x:%02x:%x", in cpci_configure_slot() 272 dbg("pci_dev still null"); in cpci_configure_slot() 279 dbg("%s: pci_scan_slot returned %d", __func__, n); in cpci_configure_slot() 303 dbg("%s - exit", __func__); in cpci_configure_slot() 311 dbg("%s - enter", __func__); in cpci_unconfigure_slot() 331 dbg("%s - exit", __func__); in cpci_unconfigure_slot()
|
/drivers/video/fbdev/mbx/ |
D | mbxdebugfs.c | 219 struct mbxfb_debugfs_data *dbg; in mbxfb_debugfs_init() local 221 dbg = kzalloc(sizeof(struct mbxfb_debugfs_data), GFP_KERNEL); in mbxfb_debugfs_init() 222 mfbi->debugfs_data = dbg; in mbxfb_debugfs_init() 224 dbg->dir = debugfs_create_dir("mbxfb", NULL); in mbxfb_debugfs_init() 225 dbg->sysconf = debugfs_create_file("sysconf", 0444, dbg->dir, in mbxfb_debugfs_init() 227 dbg->clock = debugfs_create_file("clock", 0444, dbg->dir, in mbxfb_debugfs_init() 229 dbg->display = debugfs_create_file("display", 0444, dbg->dir, in mbxfb_debugfs_init() 231 dbg->gsctl = debugfs_create_file("gsctl", 0444, dbg->dir, in mbxfb_debugfs_init() 233 dbg->sdram = debugfs_create_file("sdram", 0444, dbg->dir, in mbxfb_debugfs_init() 235 dbg->misc = debugfs_create_file("misc", 0444, dbg->dir, in mbxfb_debugfs_init() [all …]
|
/drivers/net/wireless/marvell/mwifiex/ |
D | util.c | 219 = adapter->dbg.num_cmd_host_to_card_failure; in mwifiex_get_debug_info() 221 = adapter->dbg.num_cmd_sleep_cfm_host_to_card_failure; in mwifiex_get_debug_info() 223 = adapter->dbg.num_tx_host_to_card_failure; in mwifiex_get_debug_info() 224 info->num_event_deauth = adapter->dbg.num_event_deauth; in mwifiex_get_debug_info() 225 info->num_event_disassoc = adapter->dbg.num_event_disassoc; in mwifiex_get_debug_info() 226 info->num_event_link_lost = adapter->dbg.num_event_link_lost; in mwifiex_get_debug_info() 227 info->num_cmd_deauth = adapter->dbg.num_cmd_deauth; in mwifiex_get_debug_info() 229 adapter->dbg.num_cmd_assoc_success; in mwifiex_get_debug_info() 231 adapter->dbg.num_cmd_assoc_failure; in mwifiex_get_debug_info() 232 info->num_tx_timeout = adapter->dbg.num_tx_timeout; in mwifiex_get_debug_info() [all …]
|
D | cmdevt.c | 280 adapter->dbg.num_cmd_host_to_card_failure++; in mwifiex_dnld_cmd_to_fw() 285 adapter->dbg.last_cmd_index = in mwifiex_dnld_cmd_to_fw() 286 (adapter->dbg.last_cmd_index + 1) % DBG_CMD_NUM; in mwifiex_dnld_cmd_to_fw() 287 adapter->dbg.last_cmd_id[adapter->dbg.last_cmd_index] = cmd_code; in mwifiex_dnld_cmd_to_fw() 288 adapter->dbg.last_cmd_act[adapter->dbg.last_cmd_index] = in mwifiex_dnld_cmd_to_fw() 362 adapter->dbg.num_cmd_sleep_cfm_host_to_card_failure++; in mwifiex_dnld_sleep_confirm_cmd() 505 adapter->dbg.last_event_index = in mwifiex_process_event() 506 (adapter->dbg.last_event_index + 1) % DBG_CMD_NUM; in mwifiex_process_event() 507 adapter->dbg.last_event[adapter->dbg.last_event_index] = in mwifiex_process_event() 860 adapter->dbg.last_cmd_resp_index = in mwifiex_process_cmdresp() [all …]
|
/drivers/media/platform/sti/bdisp/ |
D | bdisp-debug.c | 16 bdisp->dbg.hw_start = ktime_get(); in bdisp_dbg_perf_begin() 23 time_us = ktime_us_delta(ktime_get(), bdisp->dbg.hw_start); in bdisp_dbg_perf_end() 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 bdisp_dbg_last_nodes() 331 node = bdisp->dbg.copy_node[i]; in bdisp_dbg_last_nodes() [all …]
|
/drivers/mtd/ubi/ |
D | debug.h | 77 return ubi->dbg.disable_bgt; in ubi_dbg_is_bgt_disabled() 88 if (ubi->dbg.emulate_bitflips) in ubi_dbg_is_bitflip() 102 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_write_failure() 116 if (ubi->dbg.emulate_io_failures) in ubi_dbg_is_erase_failure() 123 return ubi->dbg.chk_io; in ubi_dbg_chk_io() 128 return ubi->dbg.chk_gen; in ubi_dbg_chk_gen() 133 return ubi->dbg.chk_fastmap; in ubi_dbg_chk_fastmap() 138 ubi->dbg.chk_fastmap = 1; in ubi_enable_dbg_chk_fastmap()
|
D | debug.c | 272 d = &ubi->dbg; in dfs_file_read() 336 d = &ubi->dbg; in dfs_file_write() 411 struct ubi_debug_info *d = &ubi->dbg; in ubi_debugfs_init_dev() 512 debugfs_remove_recursive(ubi->dbg.dfs_dir); in ubi_debugfs_exit_dev() 526 if ((ubi->dbg.emulate_power_cut & caller) == 0) in ubi_dbg_power_cut() 529 if (ubi->dbg.power_cut_counter == 0) { in ubi_dbg_power_cut() 530 ubi->dbg.power_cut_counter = ubi->dbg.power_cut_min; in ubi_dbg_power_cut() 532 if (ubi->dbg.power_cut_max > ubi->dbg.power_cut_min) { in ubi_dbg_power_cut() 533 range = ubi->dbg.power_cut_max - ubi->dbg.power_cut_min; in ubi_dbg_power_cut() 534 ubi->dbg.power_cut_counter += prandom_u32() % range; in ubi_dbg_power_cut() [all …]
|
/drivers/pinctrl/ |
D | pinconf.c | 411 struct dbg_cfg *dbg = &pinconf_dbg_conf; in pinconf_dbg_config_print() local 418 if (map->type != dbg->map_type) in pinconf_dbg_config_print() 420 if (strcmp(map->dev_name, dbg->dev_name)) in pinconf_dbg_config_print() 422 if (strcmp(map->name, dbg->state_name)) in pinconf_dbg_config_print() 425 if (!strcmp(map->data.configs.group_or_pin, dbg->pin_name)) { in pinconf_dbg_config_print() 434 seq_printf(s, "Searched dev:%s\n", dbg->dev_name); in pinconf_dbg_config_print() 435 seq_printf(s, "Searched state:%s\n", dbg->state_name); in pinconf_dbg_config_print() 436 seq_printf(s, "Searched pin:%s\n", dbg->pin_name); in pinconf_dbg_config_print() 444 dbg->dev_name, dbg->pin_name, dbg->state_name); in pinconf_dbg_config_print() 474 struct dbg_cfg *dbg = &pinconf_dbg_conf; in pinconf_dbg_config_write() local [all …]
|
/drivers/net/wan/ |
D | farsync.c | 518 #define dbg(F, fmt, args...) \ macro 524 #define dbg(F, fmt, args...) \ macro 616 dbg(DBG_TX, "fst_process_tx_work_q\n"); in fst_process_tx_work_q() 628 dbg(DBG_TX, "Calling tx bh for card %d\n", i); in fst_process_tx_work_q() 646 dbg(DBG_INTR, "fst_process_int_work_q\n"); in fst_process_int_work_q() 658 dbg(DBG_INTR, in fst_process_int_work_q() 687 dbg(DBG_ASS, in fst_cpureset() 709 dbg(DBG_ASS, in fst_cpureset() 796 dbg(DBG_ASS, "%s: Received packet dropped\n", name); in fst_process_rx_status() 829 dbg(DBG_TX, "fst_tx_dma_complete\n"); in fst_tx_dma_complete() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 992 struct mlx5_cmd_debug *dbg = &dev->cmd.dbg; in dbg_write() local 996 if (!dbg->in_msg || !dbg->out_msg) in dbg_write() 1007 err = mlx5_cmd_exec(dev, dbg->in_msg, dbg->inlen, dbg->out_msg, dbg->outlen); in dbg_write() 1182 struct mlx5_cmd_debug *dbg = &dev->cmd.dbg; in data_write() local 1188 kfree(dbg->in_msg); in data_write() 1189 dbg->in_msg = NULL; in data_write() 1190 dbg->inlen = 0; in data_write() 1194 dbg->in_msg = ptr; in data_write() 1195 dbg->inlen = count; in data_write() 1206 struct mlx5_cmd_debug *dbg = &dev->cmd.dbg; in data_read() local [all …]
|
D | debugfs.c | 491 struct dentry *root, struct mlx5_rsc_debug **dbg, in add_res_tree() argument 523 *dbg = d; in add_res_tree() 548 &qp->dbg, qp->qpn, qp_fields, in mlx5_debug_qp_add() 551 qp->dbg = NULL; in mlx5_debug_qp_add() 561 if (qp->dbg) in mlx5_debug_qp_remove() 562 rem_res_tree(qp->dbg); in mlx5_debug_qp_remove() 574 &eq->dbg, eq->eqn, eq_fields, in mlx5_debug_eq_add() 577 eq->dbg = NULL; in mlx5_debug_eq_add() 587 if (eq->dbg) in mlx5_debug_eq_remove() 588 rem_res_tree(eq->dbg); in mlx5_debug_eq_remove() [all …]
|
/drivers/usb/host/whci/ |
D | debug.c | 177 whc->dbg = kzalloc(sizeof(struct whc_dbg), GFP_KERNEL); in whc_dbg_init() 178 if (whc->dbg == NULL) in whc_dbg_init() 181 whc->dbg->di_f = debugfs_create_file("di", 0444, in whc_dbg_init() 184 whc->dbg->asl_f = debugfs_create_file("asl", 0444, in whc_dbg_init() 187 whc->dbg->pzl_f = debugfs_create_file("pzl", 0444, in whc_dbg_init() 194 if (whc->dbg) { in whc_dbg_clean_up() 195 debugfs_remove(whc->dbg->pzl_f); in whc_dbg_clean_up() 196 debugfs_remove(whc->dbg->asl_f); in whc_dbg_clean_up() 197 debugfs_remove(whc->dbg->di_f); in whc_dbg_clean_up() 198 kfree(whc->dbg); in whc_dbg_clean_up()
|
/drivers/media/rc/ |
D | ene_ir.c | 327 dbg("attempt to read beyond ring buffer end"); in ene_rx_get_sample_reg() 348 dbg("RX: hardware carrier period = %02x", period); in ene_rx_sense_carrier() 349 dbg("RX: hardware carrier pulse period = %02x", hperiod); in ene_rx_sense_carrier() 353 dbg("RX: sensed carrier = %d Hz, duty cycle %d%%", in ene_rx_sense_carrier() 400 dbg("RX: setup receiver, learning mode = %d", learning_mode); in ene_rx_setup() 565 dbg("TX: pulse distance = %d * 500 ns", dev->tx_period); in ene_tx_set_carrier() 566 dbg("TX: pulse width = %d * 500 ns", tx_puls_width); in ene_tx_set_carrier() 597 dbg("TX: Transmitter #1 is connected"); in ene_tx_enable() 600 dbg("TX: Transmitter #2 is connected"); in ene_tx_enable() 639 dbg("TX: no more data to send"); in ene_tx_sample() [all …]
|
/drivers/mmc/host/ |
D | s3cmci.c | 136 #define dbg(host, channels, args...) \ macro 174 dbg(host, dbg_debug, "%s CON:[%08x] PRE:[%08x] TMR:[%08x]\n", in dbg_dumpregs() 177 dbg(host, dbg_debug, "%s CCON:[%08x] CARG:[%08x] CSTA:[%08x]\n", in dbg_dumpregs() 180 dbg(host, dbg_debug, "%s DCON:[%08x] FSTA:[%08x]" in dbg_dumpregs() 184 dbg(host, dbg_debug, "%s R0:[%08x] R1:[%08x]" in dbg_dumpregs() 217 dbg(host, dbglvl, "CMD[OK] %s R0:0x%08x\n", in dbg_dumpcmd() 220 dbg(host, dbglvl, "CMD[ERR %i] %s Status:%s\n", in dbg_dumpcmd() 228 dbg(host, dbglvl, "DAT[OK] %s\n", host->dbgmsg_dat); in dbg_dumpcmd() 230 dbg(host, dbglvl, "DAT[ERR %i] %s DCNT:0x%08x\n", in dbg_dumpcmd() 330 dbg(host, dbg_debug, "no more buffers (%i/%i)\n", in get_data_buffer() [all …]
|