Home
last modified time | relevance | path

Searched refs:fwlog (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/intel/libie/
H A Dfwlog.c134 static void libie_fwlog_realloc_rings(struct libie_fwlog *fwlog, int index) in libie_fwlog_realloc_rings() argument
149 if (ring_size == fwlog->ring.size) in libie_fwlog_realloc_rings()
164 dev_warn(&fwlog->pdev->dev, "Unable to allocate memory for FW log ring data buffers\n"); in libie_fwlog_realloc_rings()
170 libie_fwlog_free_ring_buffs(&fwlog->ring); in libie_fwlog_realloc_rings()
171 kfree(fwlog->ring.rings); in libie_fwlog_realloc_rings()
173 fwlog->ring.rings = ring.rings; in libie_fwlog_realloc_rings()
174 fwlog->ring.size = ring.size; in libie_fwlog_realloc_rings()
175 fwlog->ring.index = index; in libie_fwlog_realloc_rings()
176 fwlog->ring.head = 0; in libie_fwlog_realloc_rings()
177 fwlog->ring.tail = 0; in libie_fwlog_realloc_rings()
[all …]
/linux/include/linux/net/intel/libie/
H A Dfwlog.h82 int libie_fwlog_init(struct libie_fwlog *fwlog, struct libie_fwlog_api *api);
83 void libie_fwlog_deinit(struct libie_fwlog *fwlog);
84 void libie_fwlog_reregister(struct libie_fwlog *fwlog);
85 void libie_get_fwlog_data(struct libie_fwlog *fwlog, u8 *buf, u16 len);
87 static inline int libie_fwlog_init(struct libie_fwlog *fwlog, in libie_fwlog_init() argument
92 static inline void libie_fwlog_deinit(struct libie_fwlog *fwlog) { } in libie_fwlog_deinit() argument
93 static inline void libie_fwlog_reregister(struct libie_fwlog *fwlog) { } in libie_fwlog_reregister() argument
94 static inline void libie_get_fwlog_data(struct libie_fwlog *fwlog, u8 *buf, in libie_get_fwlog_data() argument
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Dice.rst959 the 'fwlog' file will not get created in the ice debugfs directory.
965 The modules will be instantiated under the 'fwlog/modules' directory.
970 # echo <log_level> > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/<module>
1028 # echo verbose > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/link
1032 # echo verbose > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/link
1033 # echo warning > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/ctrl
1034 # echo none > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/dcb
1038 # echo normal > /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/all
1042 # cat /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/general
1046 # cat /sys/kernel/debug/ice/0000\:18\:00.0/fwlog/modules/all
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dmain.c307 wl->conf.fwlog.mode = WL12XX_FWLOG_CONTINUOUS; in wlcore_adjust_conf()
308 wl->conf.fwlog.output = WL12XX_FWLOG_OUTPUT_HOST; in wlcore_adjust_conf()
310 wl->conf.fwlog.mode = WL12XX_FWLOG_CONTINUOUS; in wlcore_adjust_conf()
311 wl->conf.fwlog.output = WL12XX_FWLOG_OUTPUT_DBG_PINS; in wlcore_adjust_conf()
313 wl->conf.fwlog.mem_blocks = 0; in wlcore_adjust_conf()
314 wl->conf.fwlog.output = WL12XX_FWLOG_OUTPUT_NONE; in wlcore_adjust_conf()
888 memcpy(wl->fwlog + wl->fwlog_size, memblock, len); in wl12xx_copy_fwlog()
913 wl->conf.fwlog.output != WL12XX_FWLOG_OUTPUT_DBG_PINS) in wl12xx_read_fwlog_panic()
1012 if (wl->conf.fwlog.output == WL12XX_FWLOG_OUTPUT_HOST) in wl1271_recovery_work()
6449 wl->fwlog = (u8 *)get_zeroed_page(GFP_KERNEL); in wlcore_alloc_hw()
[all …]
H A Dcmd.c1787 cmd->logger_mode = wl->conf.fwlog.mode; in wl12xx_cmd_config_fwlog()
1788 cmd->log_severity = wl->conf.fwlog.severity; in wl12xx_cmd_config_fwlog()
1789 cmd->timestamp = wl->conf.fwlog.timestamp; in wl12xx_cmd_config_fwlog()
1790 cmd->output = wl->conf.fwlog.output; in wl12xx_cmd_config_fwlog()
1791 cmd->threshold = wl->conf.fwlog.threshold; in wl12xx_cmd_config_fwlog()
H A Dconf.h1144 struct conf_fwlog fwlog; member
H A Dwlcore.h293 u8 *fwlog; member
H A Dacx.c982 mem_conf->fwlog_blocks = wl->conf.fwlog.mem_blocks; in wl12xx_acx_mem_cfg()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_e610.c3945 return libie_fwlog_init(&hw->fwlog, &api); in ixgbe_fwlog_init()
3953 libie_fwlog_deinit(&hw->fwlog); in ixgbe_fwlog_deinit()
H A Dixgbe_main.c3360 libie_get_fwlog_data(&hw->fwlog, event.msg_buf, in ixgbe_handle_fw_event()
/linux/drivers/net/wireless/ti/wl12xx/
H A Dmain.c322 .fwlog = {
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c980 return libie_fwlog_init(&hw->fwlog, &api); in __fwlog_init()
1165 libie_fwlog_deinit(&hw->fwlog); in __fwlog_deinit()
H A Dice_main.c1546 libie_get_fwlog_data(&hw->fwlog, event.msg_buf, in __ice_clean_ctrlq()