Home
last modified time | relevance | path

Searched refs:dump (Results 1 – 25 of 71) sorted by relevance

123

/drivers/input/joystick/
Djoydump.c52 struct joydump *dump, *prev; /* one entry each */ in joydump_connect() local
88 dump = buf; in joydump_connect()
96 dump->data = u; in joydump_connect()
97 dump->time = t; in joydump_connect()
98 dump++; in joydump_connect()
104 dump->data = gameport_read(gameport); in joydump_connect()
106 if (dump->data ^ u) { in joydump_connect()
107 u = dump->data; in joydump_connect()
108 dump->time = t; in joydump_connect()
110 dump++; in joydump_connect()
[all …]
/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.h93 if (fwrt->dump.desc != &iwl_dump_desc_assert) in iwl_fw_free_dump_desc()
94 kfree(fwrt->dump.desc); in iwl_fw_free_dump_desc()
95 fwrt->dump.desc = NULL; in iwl_fw_free_dump_desc()
96 fwrt->dump.trig = NULL; in iwl_fw_free_dump_desc()
144 (fwrt->dump.conf == FW_DBG_INVALID || in iwl_fw_dbg_trigger_stop_conf_match()
145 (BIT(fwrt->dump.conf) & le32_to_cpu(trig->stop_conf_ids)))); in iwl_fw_dbg_trigger_stop_conf_match()
157 if (fwrt->dump.non_collect_ts_start[id] && in iwl_fw_dbg_no_trig_window()
158 (time_after(fwrt->dump.non_collect_ts_start[id] + wind_jiff, in iwl_fw_dbg_no_trig_window()
162 fwrt->dump.non_collect_ts_start[id] = jiffies; in iwl_fw_dbg_no_trig_window()
215 fwrt->dump.conf = FW_DBG_INVALID; in iwl_fw_dump_conf_clear()
[all …]
Ddbg.c571 if (fwrt->dump.trig && in iwl_fw_error_dump()
572 fwrt->dump.trig->mode & IWL_FW_DBG_TRIGGER_MONITOR_ONLY) in iwl_fw_error_dump()
717 if (fwrt->dump.desc) in iwl_fw_error_dump()
719 fwrt->dump.desc->len; in iwl_fw_error_dump()
785 if (fwrt->dump.desc) { in iwl_fw_error_dump()
788 fwrt->dump.desc->len); in iwl_fw_error_dump()
790 memcpy(dump_trig, &fwrt->dump.desc->trig_desc, in iwl_fw_error_dump()
791 sizeof(*dump_trig) + fwrt->dump.desc->len); in iwl_fw_error_dump()
907 fwrt->dump.trig); in iwl_fw_error_dump()
973 if (WARN_ON(fwrt->dump.desc)) in iwl_fw_dbg_collect_desc()
[all …]
Dinit.c70 fwrt->dump.conf = FW_DBG_INVALID; in iwl_fw_runtime_init()
73 INIT_DELAYED_WORK(&fwrt->dump.wk, iwl_fw_error_dump_wk); in iwl_fw_runtime_init()
/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c1832 static u32 qed_dump_str(char *dump_buf, bool dump, const char *str) in qed_dump_str() argument
1834 if (dump) in qed_dump_str()
1843 static u32 qed_dump_align(char *dump_buf, bool dump, u32 byte_offset) in qed_dump_align() argument
1850 if (dump && align_size) in qed_dump_align()
1860 bool dump, in qed_dump_str_param() argument
1867 offset += qed_dump_str(char_buf + offset, dump, param_name); in qed_dump_str_param()
1870 if (dump) in qed_dump_str_param()
1875 offset += qed_dump_str(char_buf + offset, dump, param_val); in qed_dump_str_param()
1878 offset += qed_dump_align(char_buf + offset, dump, offset); in qed_dump_str_param()
1887 bool dump, const char *param_name, u32 param_val) in qed_dump_num_param() argument
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Ddebug.c33 void *dump; in brcmf_debug_create_memdump() local
41 dump = vzalloc(len + ramsize); in brcmf_debug_create_memdump()
42 if (!dump) in brcmf_debug_create_memdump()
45 memcpy(dump, data, len); in brcmf_debug_create_memdump()
46 err = brcmf_bus_get_memdump(bus, dump + len, ramsize); in brcmf_debug_create_memdump()
48 vfree(dump); in brcmf_debug_create_memdump()
52 dev_coredumpv(bus->dev, dump, len + ramsize, GFP_KERNEL); in brcmf_debug_create_memdump()
/drivers/mfd/
Dipaq-micro.c245 u8 dump[256]; in ipaq_micro_eeprom_dump() local
248 ipaq_micro_eeprom_read(micro, 0, 128, dump); in ipaq_micro_eeprom_dump()
249 str = ipaq_micro_str(dump, 10); in ipaq_micro_eeprom_dump()
254 str = ipaq_micro_str(dump+10, 40); in ipaq_micro_eeprom_dump()
261 str = ipaq_micro_str(dump+50, 20); in ipaq_micro_eeprom_dump()
266 str = ipaq_micro_str(dump+70, 10); in ipaq_micro_eeprom_dump()
271 dev_info(micro->dev, "product ID: %u\n", ipaq_micro_to_u16(dump+80)); in ipaq_micro_eeprom_dump()
273 ipaq_micro_to_u16(dump+82)); in ipaq_micro_eeprom_dump()
274 dev_info(micro->dev, "page mode: %u\n", ipaq_micro_to_u16(dump+84)); in ipaq_micro_eeprom_dump()
275 dev_info(micro->dev, "country ID: %u\n", ipaq_micro_to_u16(dump+86)); in ipaq_micro_eeprom_dump()
[all …]
Dpcf50633-core.c89 u8 dump[16]; in show_dump_regs() local
101 for (n = 0; n < 256; n += sizeof(dump)) { in show_dump_regs()
102 for (n1 = 0; n1 < sizeof(dump); n1++) in show_dump_regs()
105 dump[n1] = 0x00; in show_dump_regs()
107 dump[n1] = pcf50633_reg_read(pcf, n + n1); in show_dump_regs()
109 buf1 += sprintf(buf1, "%*ph\n", (int)sizeof(dump), dump); in show_dump_regs()
/drivers/net/fjes/
Dfjes_ethtool.c237 static int fjes_set_dump(struct net_device *netdev, struct ethtool_dump *dump) in fjes_set_dump() argument
243 if (dump->flag) { in fjes_set_dump()
247 hw->debug_mode = dump->flag; in fjes_set_dump()
270 struct ethtool_dump *dump) in fjes_get_dump_flag() argument
275 dump->len = hw->hw_info.trace_size; in fjes_get_dump_flag()
276 dump->version = 1; in fjes_get_dump_flag()
277 dump->flag = hw->debug_mode; in fjes_get_dump_flag()
283 struct ethtool_dump *dump, void *buf) in fjes_get_dump_data() argument
/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/
Dmxms.c153 u8 *dump = desc; in mxms_foreach() local
158 ptr += sprintf(ptr, "%02x", dump[j]); in mxms_foreach()
159 dump += headerlen; in mxms_foreach()
162 for (i = 0; i < entries; i++, dump += recordlen) { in mxms_foreach()
164 ptr += sprintf(ptr, "%02x", dump[j]); in mxms_foreach()
/drivers/target/iscsi/
Discsi_target_erl0.c96 goto dump; in iscsit_dataout_within_command_recovery_check()
116 goto dump; in iscsit_dataout_within_command_recovery_check()
121 goto dump; in iscsit_dataout_within_command_recovery_check()
125 goto dump; in iscsit_dataout_within_command_recovery_check()
133 dump: in iscsit_dataout_within_command_recovery_check()
376 goto dump; in iscsit_dataout_check_datasn()
387 dump: in iscsit_dataout_check_datasn()
398 int dump = 0, recovery = 0; in iscsit_dataout_pre_datapduinorder_yes() local
434 dump = 1; in iscsit_dataout_pre_datapduinorder_yes()
435 goto dump; in iscsit_dataout_pre_datapduinorder_yes()
[all …]
/drivers/ssb/
Dsprom.c36 static int hex2sprom(u16 *sprom, const char *dump, size_t len, in hex2sprom() argument
45 c = dump[len - 1]; in hex2sprom()
55 memcpy(tmp, dump, 4); in hex2sprom()
56 dump += 4; in hex2sprom()
/drivers/mtd/
Dmtdoops.c58 struct kmsg_dumper dump; member
307 struct mtdoops_context, dump); in mtdoops_do_dump()
360 cxt->dump.max_reason = KMSG_DUMP_OOPS; in mtdoops_notify_add()
361 cxt->dump.dump = mtdoops_do_dump; in mtdoops_notify_add()
362 err = kmsg_dump_register(&cxt->dump); in mtdoops_notify_add()
383 if (kmsg_dump_unregister(&cxt->dump) < 0) in mtdoops_notify_remove()
/drivers/infiniband/core/
Dnetlink.c96 if (!cb_table || (!cb_table[op].dump && !cb_table[op].doit)) in is_nl_valid()
191 .dump = cb_table[op].dump, in rdma_nl_rcv_msg()
193 if (c.dump) in rdma_nl_rcv_msg()
Diwcm.c84 [RDMA_NL_IWPM_REG_PID] = {.dump = iwpm_register_pid_cb},
85 [RDMA_NL_IWPM_ADD_MAPPING] = {.dump = iwpm_add_mapping_cb},
86 [RDMA_NL_IWPM_QUERY_MAPPING] = {.dump = iwpm_add_and_query_mapping_cb},
87 [RDMA_NL_IWPM_REMOTE_INFO] = {.dump = iwpm_remote_info_cb},
88 [RDMA_NL_IWPM_HANDLE_ERR] = {.dump = iwpm_mapping_error_cb},
89 [RDMA_NL_IWPM_MAPINFO] = {.dump = iwpm_mapping_info_cb},
90 [RDMA_NL_IWPM_MAPINFO_NUM] = {.dump = iwpm_ack_mapping_info_cb}
/drivers/net/wireless/ti/wlcore/
Dsdio.c51 static bool dump = false; variable
103 if (unlikely(dump)) { in wl12xx_sdio_raw_read()
122 if (unlikely(dump)) { in wl12xx_sdio_raw_write()
477 module_param(dump, bool, S_IRUSR | S_IWUSR);
478 MODULE_PARM_DESC(dump, "Enable sdio read/write dumps.");
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_ethtool.c917 nfp_dump_nsp_diag(struct nfp_app *app, struct ethtool_dump *dump, void *buffer) in nfp_dump_nsp_diag() argument
925 dump->version = 1; in nfp_dump_nsp_diag()
926 dump->flag = NFP_DUMP_NSP_DIAG; in nfp_dump_nsp_diag()
933 if (dump->len != nfp_resource_size(res)) { in nfp_dump_nsp_diag()
940 buffer, dump->len); in nfp_dump_nsp_diag()
941 if (ret != dump->len) in nfp_dump_nsp_diag()
946 dump->len = nfp_resource_size(res); in nfp_dump_nsp_diag()
969 nfp_app_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) in nfp_app_get_dump_flag() argument
971 return nfp_dump_nsp_diag(nfp_app_from_netdev(netdev), dump, NULL); in nfp_app_get_dump_flag()
975 nfp_app_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, in nfp_app_get_dump_data() argument
[all …]
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c831 netxen_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) in netxen_get_dump_flag() argument
836 dump->len = mdump->md_dump_size; in netxen_get_dump_flag()
838 dump->len = 0; in netxen_get_dump_flag()
841 dump->flag = ETH_FW_DUMP_DISABLE; in netxen_get_dump_flag()
843 dump->flag = mdump->md_capture_mask; in netxen_get_dump_flag()
845 dump->version = adapter->fw_version; in netxen_get_dump_flag()
905 netxen_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, in netxen_get_dump_data() argument
929 dump->len = copy_sz + mdump->md_capture_size; in netxen_get_dump_data()
930 dump->flag = mdump->md_capture_mask; in netxen_get_dump_data()
/drivers/media/usb/gspca/stv06xx/
Dstv06xx_hdcs.h153 .dump = hdcs_dump,
172 .dump = hdcs_dump,
Dstv06xx_sensor.h80 int (*dump)(struct sd *sd); member
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c756 static int be_set_dump(struct net_device *netdev, struct ethtool_dump *dump) in be_set_dump() argument
766 switch (dump->flag) { in be_set_dump()
778 dev_err(dev, "Invalid dump level: 0x%x\n", dump->flag); in be_set_dump()
961 be_get_dump_flag(struct net_device *netdev, struct ethtool_dump *dump) in be_get_dump_flag() argument
968 dump->len = be_get_dump_len(adapter); in be_get_dump_flag()
969 dump->version = 1; in be_get_dump_flag()
970 dump->flag = 0x1; /* FW dump is enabled */ in be_get_dump_flag()
975 be_get_dump_data(struct net_device *netdev, struct ethtool_dump *dump, in be_get_dump_data() argument
984 status = be_read_dump_data(adapter, dump->len, buf); in be_get_dump_data()
/drivers/scsi/
Dipr.c2960 struct ipr_ioa_dump *ioa_dump = &ioa_cfg->dump->ioa_dump; in ipr_sdt_copy()
3124 static void ipr_get_ioa_dump(struct ipr_ioa_cfg *ioa_cfg, struct ipr_dump *dump) in ipr_get_ioa_dump() argument
3128 struct ipr_driver_dump *driver_dump = &dump->driver_dump; in ipr_get_ioa_dump()
3129 struct ipr_ioa_dump *ioa_dump = &dump->ioa_dump; in ipr_get_ioa_dump()
3223 dump->driver_dump.hdr.len += sizeof(struct ipr_sdt_header); in ipr_get_ioa_dump()
3225 dump->driver_dump.hdr.len += num_entries * sizeof(struct ipr_sdt_entry); in ipr_get_ioa_dump()
3227 dump->driver_dump.hdr.len += max_num_entries * sizeof(struct ipr_sdt_entry); in ipr_get_ioa_dump()
3280 #define ipr_get_ioa_dump(ioa_cfg, dump) do { } while (0) argument
3292 struct ipr_dump *dump = container_of(kref, struct ipr_dump, kref); in ipr_release_dump() local
3293 struct ipr_ioa_cfg *ioa_cfg = dump->ioa_cfg; in ipr_release_dump()
[all …]
/drivers/media/platform/sti/delta/
Ddelta-mjpeg-dec.c175 bool dump = false; in delta_mjpeg_check_status() local
192 dump = true; in delta_mjpeg_check_status()
200 return dump; in delta_mjpeg_check_status()
/drivers/fmc/
DMakefile9 fmc-y += fmc-dump.o
/drivers/staging/lustre/lustre/ptlrpc/
Dlayout.c1778 void *value, int len, int dump, void (*swabber)(void *)) in swabber_dumper_helper() argument
1795 dump = 0; in swabber_dumper_helper()
1798 if (dump) { in swabber_dumper_helper()
1807 if (dump && field->rmf_dumper) { in swabber_dumper_helper()
1824 if (dump) { in swabber_dumper_helper()
1832 if (dump) { in swabber_dumper_helper()
1856 int dump) in __req_capsule_get() argument
1911 dump, swabber); in __req_capsule_get()

123