Home
last modified time | relevance | path

Searched refs:diag (Results 1 – 25 of 84) sorted by relevance

1234

/linux-6.1.9/kernel/debug/kdb/
Dkdb_support.c345 int diag; in kdb_getphysword() local
354 diag = kdb_getphys(&w1, addr, sizeof(w1)); in kdb_getphysword()
355 if (!diag) in kdb_getphysword()
359 diag = kdb_getphys(&w2, addr, sizeof(w2)); in kdb_getphysword()
360 if (!diag) in kdb_getphysword()
364 diag = kdb_getphys(&w4, addr, sizeof(w4)); in kdb_getphysword()
365 if (!diag) in kdb_getphysword()
370 diag = kdb_getphys(&w8, addr, sizeof(w8)); in kdb_getphysword()
371 if (!diag) in kdb_getphysword()
377 diag = KDB_BADWIDTH; in kdb_getphysword()
[all …]
Dkdb_main.c339 int diag; in kdbgetintenv() local
341 diag = kdbgetulenv(match, &val); in kdbgetintenv()
342 if (!diag) in kdbgetintenv()
344 return diag; in kdbgetintenv()
550 int diag; in kdbgetaddrarg() local
592 diag = kdbgetulenv(&symname[1], &addr); in kdbgetaddrarg()
593 if (diag) in kdbgetaddrarg()
594 return diag; in kdbgetaddrarg()
596 diag = kdb_check_regs(); in kdbgetaddrarg()
597 if (diag) in kdbgetaddrarg()
[all …]
Dkdb_bt.c129 int diag; in kdb_bt() local
165 diag = kdbgetularg((char *)argv[1], &pid); in kdb_bt()
166 if (diag) in kdb_bt()
167 return diag; in kdb_bt()
176 diag = kdbgetularg((char *)argv[1], &addr); in kdb_bt()
177 if (diag) in kdb_bt()
178 return diag; in kdb_bt()
185 diag = kdbgetularg((char *)argv[1], &cpu); in kdb_bt()
186 if (diag) in kdb_bt()
187 return diag; in kdb_bt()
[all …]
Dkdb_bp.c51 int diag; in kdb_parsebp() local
71 diag = kdbgetularg((char *)argv[nextarg], in kdb_parsebp()
73 if (diag) in kdb_parsebp()
74 return diag; in kdb_parsebp()
281 int diag; in kdb_bp() local
302 diag = kdbgetaddrarg(argc, argv, &nextarg, &template.bp_addr, in kdb_bp()
304 if (diag) in kdb_bp()
305 return diag; in kdb_bp()
314 diag = kgdb_validate_break_address(template.bp_addr); in kdb_bp()
315 if (diag) in kdb_bp()
[all …]
Dkdb_io.c209 int diag, dtab_count; in kdb_read() local
213 diag = kdbgetintenv("DTABCOUNT", &dtab_count); in kdb_read()
214 if (diag) in kdb_read()
584 int diag; in vkdb_printf() local
609 diag = kdbgetintenv("LINES", &linecount); in vkdb_printf()
610 if (diag || linecount <= 1) in vkdb_printf()
613 diag = kdbgetintenv("COLUMNS", &colcount); in vkdb_printf()
614 if (diag || colcount <= 1) in vkdb_printf()
617 diag = kdbgetintenv("LOGGING", &logging); in vkdb_printf()
618 if (diag) in vkdb_printf()
/linux-6.1.9/drivers/s390/scsi/
Dzfcp_diag.c36 struct zfcp_diag_adapter *diag; in zfcp_diag_adapter_setup() local
39 diag = kzalloc(sizeof(*diag), GFP_KERNEL); in zfcp_diag_adapter_setup()
40 if (diag == NULL) in zfcp_diag_adapter_setup()
43 diag->max_age = (5 * 1000); /* default value: 5 s */ in zfcp_diag_adapter_setup()
46 hdr = &diag->port_data.header; in zfcp_diag_adapter_setup()
49 hdr->buffer = &diag->port_data.data; in zfcp_diag_adapter_setup()
50 hdr->buffer_size = sizeof(diag->port_data.data); in zfcp_diag_adapter_setup()
52 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()
55 hdr = &diag->config_data.header; in zfcp_diag_adapter_setup()
58 hdr->buffer = &diag->config_data.data; in zfcp_diag_adapter_setup()
[all …]
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_ioc.c4714 struct bfa_diag_s *diag = diag_arg; in bfa_diag_notify() local
4716 bfa_trc(diag, event); in bfa_diag_notify()
4717 bfa_trc(diag, diag->block); in bfa_diag_notify()
4718 bfa_trc(diag, diag->fwping.lock); in bfa_diag_notify()
4719 bfa_trc(diag, diag->tsensor.lock); in bfa_diag_notify()
4724 if (diag->fwping.lock) { in bfa_diag_notify()
4725 diag->fwping.status = BFA_STATUS_IOC_FAILURE; in bfa_diag_notify()
4726 diag->fwping.cbfn(diag->fwping.cbarg, in bfa_diag_notify()
4727 diag->fwping.status); in bfa_diag_notify()
4728 diag->fwping.lock = 0; in bfa_diag_notify()
[all …]
Dbfa_ioc.h452 void bfa_sfp_memclaim(struct bfa_sfp_s *diag, u8 *dm_kva, u64 dm_pa);
632 void bfa_diag_memclaim(struct bfa_diag_s *diag, u8 *dm_kva, u64 dm_pa);
633 void bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev,
636 bfa_status_t bfa_diag_reg_read(struct bfa_diag_s *diag, u32 offset,
638 bfa_status_t bfa_diag_reg_write(struct bfa_diag_s *diag, u32 offset,
640 bfa_status_t bfa_diag_tsensor_query(struct bfa_diag_s *diag,
643 bfa_status_t bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt,
646 bfa_status_t bfa_diag_sfpshow(struct bfa_diag_s *diag,
649 bfa_status_t bfa_diag_memtest(struct bfa_diag_s *diag,
653 bfa_status_t bfa_diag_ledtest(struct bfa_diag_s *diag,
[all …]
/linux-6.1.9/net/core/
Dbpf_sk_storage.c492 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
496 if (!diag) in bpf_sk_storage_diag_free()
499 for (i = 0; i < diag->nr_maps; i++) in bpf_sk_storage_diag_free()
500 bpf_map_put(diag->maps[i]); in bpf_sk_storage_diag_free()
502 kfree(diag); in bpf_sk_storage_diag_free()
506 static bool diag_check_dup(const struct bpf_sk_storage_diag *diag, in diag_check_dup() argument
511 for (i = 0; i < diag->nr_maps; i++) { in diag_check_dup()
512 if (diag->maps[i] == map) in diag_check_dup()
522 struct bpf_sk_storage_diag *diag; in bpf_sk_storage_diag_alloc() local
538 diag = kzalloc(struct_size(diag, maps, nr_maps), GFP_KERNEL); in bpf_sk_storage_diag_alloc()
[all …]
/linux-6.1.9/include/net/
Dbpf_sk_storage.h35 void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag);
36 int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag,
51 static inline void bpf_sk_storage_diag_free(struct bpf_sk_storage_diag *diag) in bpf_sk_storage_diag_free() argument
54 static inline int bpf_sk_storage_diag_put(struct bpf_sk_storage_diag *diag, in bpf_sk_storage_diag_put() argument
/linux-6.1.9/drivers/s390/char/
Dsclp_ftp.c54 struct sclp_diag_evbuf *diag = (struct sclp_diag_evbuf *) evbuf; in sclp_ftp_rxcb() local
60 diag->route != SCLP_DIAG_FTP_ROUTE || in sclp_ftp_rxcb()
61 diag->mdd.ftp.pcx != SCLP_DIAG_FTP_XPCX || in sclp_ftp_rxcb()
75 sclp_ftp_ldflg = diag->mdd.ftp.ldflg; in sclp_ftp_rxcb()
76 sclp_ftp_fsize = diag->mdd.ftp.fsize; in sclp_ftp_rxcb()
77 sclp_ftp_length = diag->mdd.ftp.length; in sclp_ftp_rxcb()
/linux-6.1.9/drivers/s390/cio/
Ddevice_id.c37 static int diag210_to_senseid(struct senseid *senseid, struct diag210 *diag) in diag210_to_senseid() argument
75 if (diag->vrdcvcla == 0x02 && diag->vrdcvtyp == 0x20) { in diag210_to_senseid()
82 if (diag->vrdcvcla == vm_devices[i].class && in diag210_to_senseid()
83 diag->vrdcvtyp == vm_devices[i].type) { in diag210_to_senseid()
/linux-6.1.9/arch/s390/kernel/
Dtext_amode31.S36 diag %r1,%r2,0x14
54 diag %r1,%r0,0x210
71 diag %r2,%r4,0x26c
84 diag %r2,%r2,0x0c
118 diag %r0,%r1,0x308
Drelocate_kernel.S62 je .diag
67 .diag: label
68 diag %r0,%r0,0x308
/linux-6.1.9/arch/mips/loongson64/
Dcpucfg-emul.c34 u32 diag = read_c0_diag(); in cpu_has_uca() local
37 if (diag & LOONGSON_DIAG_UCAC) in cpu_has_uca()
42 new_diag = diag | LOONGSON_DIAG_UCAC; in cpu_has_uca()
45 write_c0_diag(diag); in cpu_has_uca()
/linux-6.1.9/drivers/net/phy/
Dsfp.c265 struct sfp_diag diag; member
833 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_t_slope), in sfp_hwmon_calibrate_temp()
834 be16_to_cpu(sfp->diag.cal_t_offset), value); in sfp_hwmon_calibrate_temp()
844 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_v_slope), in sfp_hwmon_calibrate_vcc()
845 be16_to_cpu(sfp->diag.cal_v_offset), value); in sfp_hwmon_calibrate_vcc()
852 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txi_slope), in sfp_hwmon_calibrate_bias()
853 be16_to_cpu(sfp->diag.cal_txi_offset), value); in sfp_hwmon_calibrate_bias()
860 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txpwr_slope), in sfp_hwmon_calibrate_tx_power()
861 be16_to_cpu(sfp->diag.cal_txpwr_offset), value); in sfp_hwmon_calibrate_tx_power()
941 *value = be16_to_cpu(sfp->diag.temp_low_alarm); in sfp_hwmon_temp()
[all …]
/linux-6.1.9/drivers/soc/fujitsu/
DKconfig5 bool "A64FX diag driver"
9 Say Y here if you want to enable diag interrupt on Fujitsu A64FX.
DMakefile3 obj-$(CONFIG_A64FX_DIAG) += a64fx-diag.o
/linux-6.1.9/drivers/atm/
Didt77105.c161 int diag; in set_loopback() local
163 diag = GET(DIAG) & ~IDT77105_DIAG_LCMASK; in set_loopback()
168 diag |= IDT77105_DIAG_LC_PHY_LOOPBACK; in set_loopback()
171 diag |= IDT77105_DIAG_LC_LINE_LOOPBACK; in set_loopback()
176 PUT(diag,DIAG); in set_loopback()
/linux-6.1.9/arch/s390/include/asm/
Dappldata.h23 u16 diag; member
53 parm_list->diag = 0xdc; in appldata_asm()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
DMakefile18 lib/devcom.o lib/pci_vsc.o lib/dm.o lib/fs_ttc.o diag/fs_tracepoint.o \
19 diag/fw_tracer.o diag/crdump.o devlink.o diag/rsc_dump.o \
48 en/tc_tun_mplsoudp.o diag/en_tc_tracepoint.o \
/linux-6.1.9/drivers/usb/misc/
Dftdi-elan.c801 char diag[40 *3 + 4]; in ftdi_elan_command_engine() local
802 char *d = diag; in ftdi_elan_command_engine()
805 int s = (sizeof(diag) - 1) / 3; in ftdi_elan_command_engine()
806 diag[0] = 0; in ftdi_elan_command_engine()
927 char diag[30 *3 + 4]; in ftdi_elan_respond_engine() local
928 char *d = diag; in ftdi_elan_respond_engine()
931 int s = (sizeof(diag) - 1) / 3; in ftdi_elan_respond_engine()
932 diag[0] = 0; in ftdi_elan_respond_engine()
946 packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
950 bytes_read, diag); in ftdi_elan_respond_engine()
[all …]
/linux-6.1.9/drivers/pcmcia/
Dti113x.h885 u8 old, diag; in ti1250_override() local
888 diag = old & ~(TI1250_DIAG_PCI_CSC | TI1250_DIAG_PCI_IREQ); in ti1250_override()
890 diag |= TI1250_DIAG_PCI_CSC | TI1250_DIAG_PCI_IREQ; in ti1250_override()
892 if (diag != old) { in ti1250_override()
895 old, diag); in ti1250_override()
896 config_writeb(socket, TI1250_DIAGNOSTIC, diag); in ti1250_override()
/linux-6.1.9/arch/arm/boot/dts/
Dls1021a-moxa-uc-8410a.dts109 cpu-diag-red {
115 cpu-diag-green {
121 cpu-diag-yellow {
/linux-6.1.9/tools/perf/util/
Ds390-cpumsf.c290 struct hws_diag_entry *diag = diagp; in s390_cpumsf_diag_show() local
297 diag = &local; in s390_cpumsf_diag_show()
299 if (diag->def < S390_CPUMSF_DIAG_DEF_FIRST) { in s390_cpumsf_diag_show()
304 pos, diag->def, diag->I ? 'I' : ' '); in s390_cpumsf_diag_show()
437 struct hws_diag_entry *diag; in s390_cpumsf_dump() local
465 diag = (struct hws_diag_entry *)(buf + pos); in s390_cpumsf_dump()
466 if (s390_cpumsf_diag_show(color, pos, diag)) in s390_cpumsf_dump()

1234