/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | coredump.c | 86 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_new() 164 struct mt7996_crash_data *crash_data = dev->coredump.crash_data; in mt7996_coredump_build() 235 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7996_coredump_register() 239 dev->coredump.crash_data = crash_data; in mt7996_coredump_register() 259 if (dev->coredump.crash_data->memdump_buf) { in mt7996_coredump_unregister() 260 vfree(dev->coredump.crash_data->memdump_buf); in mt7996_coredump_unregister() 261 dev->coredump.crash_data->memdump_buf = NULL; in mt7996_coredump_unregister() 262 dev->coredump.crash_data->memdump_buf_len = 0; in mt7996_coredump_unregister() 265 vfree(dev->coredump.crash_data); in mt7996_coredump_unregister() 266 dev->coredump.crash_data = NULL; in mt7996_coredump_unregister()
|
D | Makefile | 8 mt7996e-$(CONFIG_DEV_COREDUMP) += coredump.o
|
D | mt7996.h | 218 } coredump; member
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | coredump.c | 133 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_new() 304 struct mt7915_crash_data *crash_data = dev->coredump.crash_data; in mt7915_coredump_build() 378 crash_data = vzalloc(sizeof(*dev->coredump.crash_data)); in mt7915_coredump_register() 382 dev->coredump.crash_data = crash_data; in mt7915_coredump_register() 402 if (dev->coredump.crash_data->memdump_buf) { in mt7915_coredump_unregister() 403 vfree(dev->coredump.crash_data->memdump_buf); in mt7915_coredump_unregister() 404 dev->coredump.crash_data->memdump_buf = NULL; in mt7915_coredump_unregister() 405 dev->coredump.crash_data->memdump_buf_len = 0; in mt7915_coredump_unregister() 408 vfree(dev->coredump.crash_data); in mt7915_coredump_unregister() 409 dev->coredump.crash_data = NULL; in mt7915_coredump_unregister()
|
D | Makefile | 10 mt7915e-$(CONFIG_DEV_COREDUMP) += coredump.o
|
D | mt7915.h | 285 } coredump; member
|
/drivers/net/wireless/ath/ath10k/ |
D | coredump.c | 1476 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new() 1493 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_build() 1621 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create() 1622 if (!ar->coredump.fw_crash_data) in ath10k_coredump_create() 1630 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_register() 1648 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_unregister() 1655 if (ar->coredump.fw_crash_data->ramdump_buf) { in ath10k_coredump_destroy() 1656 vfree(ar->coredump.fw_crash_data->ramdump_buf); in ath10k_coredump_destroy() 1657 ar->coredump.fw_crash_data->ramdump_buf = NULL; in ath10k_coredump_destroy() 1658 ar->coredump.fw_crash_data->ramdump_buf_len = 0; in ath10k_coredump_destroy() [all …]
|
D | Makefile | 24 ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
|
D | core.h | 1247 } coredump; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_coredump.c | 94 struct bnxt_coredump *coredump) in bnxt_hwrm_dbg_coredump_list() argument 111 coredump->data = info.dest_buf; in bnxt_hwrm_dbg_coredump_list() 112 coredump->data_size = info.dest_buf_size; in bnxt_hwrm_dbg_coredump_list() 113 coredump->total_segs = info.segs; in bnxt_hwrm_dbg_coredump_list() 278 struct bnxt_coredump coredump = {NULL}; in __bnxt_get_coredump() local 301 rc = bnxt_hwrm_dbg_coredump_list(bp, &coredump); in __bnxt_get_coredump() 307 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump() 309 seg_record = (struct coredump_segment_record *)coredump.data; in __bnxt_get_coredump() 312 for (i = 0; i < coredump.total_segs; i++) { in __bnxt_get_coredump() 366 start_utc, coredump.total_segs + 1, in __bnxt_get_coredump() [all …]
|
/drivers/connector/ |
D | cn_proc.c | 305 ev->event_data.coredump.process_pid = task->pid; in proc_coredump_connector() 306 ev->event_data.coredump.process_tgid = task->tgid; in proc_coredump_connector() 311 ev->event_data.coredump.parent_pid = parent->pid; in proc_coredump_connector() 312 ev->event_data.coredump.parent_tgid = parent->tgid; in proc_coredump_connector()
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | init.c | 205 INIT_DELAYED_WORK(&dev->coredump.work, mt7921_coredump_work); in mt7921_register_device() 211 skb_queue_head_init(&dev->coredump.msg_list); in mt7921_register_device()
|
D | mac.c | 710 coredump.work.work); in mt7921_coredump_work() 712 if (time_is_after_jiffies(dev->coredump.last_activity + in mt7921_coredump_work() 714 queue_delayed_work(dev->mt76.wq, &dev->coredump.work, in mt7921_coredump_work() 726 skb = __skb_dequeue(&dev->coredump.msg_list); in mt7921_coredump_work()
|
D | mcu.c | 276 &dev->coredump); in mt7921_mcu_rx_unsolicited_event()
|
/drivers/base/ |
D | dd.c | 428 dev->driver->coredump(dev); in coredump_store() 433 static DEVICE_ATTR_WO(coredump); 451 if (!IS_ENABLED(CONFIG_DEV_COREDUMP) || !dev->driver->coredump) in driver_sysfs_add() 473 if (drv->coredump) in driver_sysfs_remove()
|
D | Kconfig | 110 device coredump mechanism. 113 bool "Allow device coredump" if EXPERT 116 This option controls if the device coredump mechanism is available or
|
/drivers/remoteproc/ |
D | remoteproc_sysfs.c | 135 static DEVICE_ATTR_RW(coredump);
|
D | remoteproc_core.c | 1803 rproc->ops->coredump(rproc); in rproc_boot_recovery() 2407 if (!rproc->ops->coredump) in rproc_alloc_ops() 2408 rproc->ops->coredump = rproc_coredump; in rproc_alloc_ops()
|
D | qcom_q6v5_pas.c | 432 .coredump = adsp_minidump,
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | init.c | 628 INIT_DELAYED_WORK(&dev->coredump.work, mt7615_coredump_work); in mt7615_init_device() 630 skb_queue_head_init(&dev->coredump.msg_list); in mt7615_init_device()
|
D | mac.c | 2334 coredump.work.work); in mt7615_coredump_work() 2336 if (time_is_after_jiffies(dev->coredump.last_activity + in mt7615_coredump_work() 2338 queue_delayed_work(dev->mt76.wq, &dev->coredump.work, in mt7615_coredump_work() 2350 skb = __skb_dequeue(&dev->coredump.msg_list); in mt7615_coredump_work()
|
D | mt7615.h | 287 struct mt76_connac_coredump coredump; member
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt792x.h | 178 struct mt76_connac_coredump coredump; member
|
D | mt76_connac_mcu.c | 1919 struct mt76_connac_coredump *coredump) in mt76_connac_mcu_coredump_event() argument 1922 __skb_queue_tail(&coredump->msg_list, skb); in mt76_connac_mcu_coredump_event() 1925 coredump->last_activity = jiffies; in mt76_connac_mcu_coredump_event() 1927 queue_delayed_work(dev->wq, &coredump->work, in mt76_connac_mcu_coredump_event()
|
/drivers/bluetooth/ |
D | hci_qca.c | 2640 if (hdev->dump.coredump) in hciqca_coredump() 2641 hdev->dump.coredump(hdev); in hciqca_coredump() 2655 .coredump = hciqca_coredump,
|