Home
last modified time | relevance | path

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

12

/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 …]
/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 …]
/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()
/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()
/drivers/net/phy/
Dsfp.c271 struct sfp_diag diag; member
843 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_t_slope), in sfp_hwmon_calibrate_temp()
844 be16_to_cpu(sfp->diag.cal_t_offset), value); in sfp_hwmon_calibrate_temp()
854 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_v_slope), in sfp_hwmon_calibrate_vcc()
855 be16_to_cpu(sfp->diag.cal_v_offset), value); in sfp_hwmon_calibrate_vcc()
862 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txi_slope), in sfp_hwmon_calibrate_bias()
863 be16_to_cpu(sfp->diag.cal_txi_offset), value); in sfp_hwmon_calibrate_bias()
870 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txpwr_slope), in sfp_hwmon_calibrate_tx_power()
871 be16_to_cpu(sfp->diag.cal_txpwr_offset), value); in sfp_hwmon_calibrate_tx_power()
951 *value = be16_to_cpu(sfp->diag.temp_low_alarm); in sfp_hwmon_temp()
[all …]
/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()
/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 …]
/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 \
/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
/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()
/drivers/infiniband/hw/mlx4/
Dmain.c2098 struct mlx4_ib_diag_counters *diag = dev->diag_counters; in mlx4_ib_alloc_hw_device_stats() local
2100 if (!diag[0].descs) in mlx4_ib_alloc_hw_device_stats()
2103 return rdma_alloc_hw_stats_struct(diag[0].descs, diag[0].num_counters, in mlx4_ib_alloc_hw_device_stats()
2111 struct mlx4_ib_diag_counters *diag = dev->diag_counters; in mlx4_ib_alloc_hw_port_stats() local
2113 if (!diag[1].descs) in mlx4_ib_alloc_hw_port_stats()
2116 return rdma_alloc_hw_stats_struct(diag[1].descs, diag[1].num_counters, in mlx4_ib_alloc_hw_port_stats()
2125 struct mlx4_ib_diag_counters *diag = dev->diag_counters; in mlx4_ib_get_hw_stats() local
2133 diag[!!port].offset, hw_value, in mlx4_ib_get_hw_stats()
2134 diag[!!port].num_counters, port); in mlx4_ib_get_hw_stats()
2139 for (i = 0; i < diag[!!port].num_counters; i++) in mlx4_ib_get_hw_stats()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/
Dvhca_tracepoint.h37 #define TRACE_INCLUDE_PATH sf/diag
/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer_tracepoint.h77 #define TRACE_INCLUDE_PATH ./diag
Dcmd_tracepoint.h42 #define TRACE_INCLUDE_PATH ./diag
Den_rep_tracepoint.h51 #define TRACE_INCLUDE_PATH ./diag
Den_tc_tracepoint.h111 #define TRACE_INCLUDE_PATH ./diag
/drivers/s390/block/
Ddasd_fba.h22 unsigned char diag:1; /* allow diagnose */ member
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/
Ddev_tracepoint.h55 #define TRACE_INCLUDE_PATH sf/dev/diag
/drivers/bluetooth/
Dbtusb.c754 struct usb_interface *diag; member
1665 if (data->diag) { in btusb_open()
3543 struct usb_interface *intf = data->diag; in __set_diag_interface()
3546 if (!data->diag) in __set_diag_interface()
3614 if (!data->diag) in btusb_bcm_set_diag()
3935 data->diag = usb_ifnum_to_if(data->udev, ifnum_base + 2); in btusb_probe()
3945 data->diag = usb_ifnum_to_if(data->udev, ifnum_base + 2); in btusb_probe()
4111 if (IS_ENABLED(CONFIG_BT_HCIBTUSB_BCM) && data->diag) { in btusb_probe()
4113 data->diag, data)) in btusb_probe()
4116 data->diag = NULL; in btusb_probe()
[all …]
/drivers/gpu/drm/savage/
Dsavage_drv.h450 #define BCI_LINE_STEPS(diag, axi) (((axi) << 16) | ((diag) & 0xFFFF)) argument
/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/
Dbridge_tracepoint.h117 #define TRACE_INCLUDE_PATH esw/diag
Dqos_tracepoint.h120 #define TRACE_INCLUDE_PATH esw/diag
/drivers/parport/
Dparport_ip32.c627 u64 diag; in parport_ip32_dma_stop() local
655 diag = readq(&mace->perif.ctrl.parport.diagnostic); in parport_ip32_dma_stop()
664 if (diag & MACEPAR_DIAG_DMACTIVE) in parport_ip32_dma_stop()
665 res[(diag & MACEPAR_DIAG_CTXINUSE) != 0] = in parport_ip32_dma_stop()
666 1 + ((diag & MACEPAR_DIAG_CTRMASK) >> in parport_ip32_dma_stop()

12