/drivers/s390/scsi/ |
D | zfcp_diag.c | 36 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/ |
D | bfa_ioc.c | 4714 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 …]
|
D | bfa_ioc.h | 456 void bfa_sfp_memclaim(struct bfa_sfp_s *diag, u8 *dm_kva, u64 dm_pa); 636 void bfa_diag_memclaim(struct bfa_diag_s *diag, u8 *dm_kva, u64 dm_pa); 637 void bfa_diag_attach(struct bfa_diag_s *diag, struct bfa_ioc_s *ioc, void *dev, 640 bfa_status_t bfa_diag_reg_read(struct bfa_diag_s *diag, u32 offset, 642 bfa_status_t bfa_diag_reg_write(struct bfa_diag_s *diag, u32 offset, 644 bfa_status_t bfa_diag_tsensor_query(struct bfa_diag_s *diag, 647 bfa_status_t bfa_diag_fwping(struct bfa_diag_s *diag, u32 cnt, 650 bfa_status_t bfa_diag_sfpshow(struct bfa_diag_s *diag, 653 bfa_status_t bfa_diag_memtest(struct bfa_diag_s *diag, 657 bfa_status_t bfa_diag_ledtest(struct bfa_diag_s *diag, [all …]
|
/drivers/s390/char/ |
D | sclp_ftp.c | 54 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/ |
D | device_id.c | 37 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/ |
D | sfp.c | 288 struct sfp_diag diag; member 987 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_t_slope), in sfp_hwmon_calibrate_temp() 988 be16_to_cpu(sfp->diag.cal_t_offset), value); in sfp_hwmon_calibrate_temp() 998 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_v_slope), in sfp_hwmon_calibrate_vcc() 999 be16_to_cpu(sfp->diag.cal_v_offset), value); in sfp_hwmon_calibrate_vcc() 1006 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txi_slope), in sfp_hwmon_calibrate_bias() 1007 be16_to_cpu(sfp->diag.cal_txi_offset), value); in sfp_hwmon_calibrate_bias() 1014 sfp_hwmon_calibrate(sfp, be16_to_cpu(sfp->diag.cal_txpwr_slope), in sfp_hwmon_calibrate_tx_power() 1015 be16_to_cpu(sfp->diag.cal_txpwr_offset), value); in sfp_hwmon_calibrate_tx_power() 1095 *value = be16_to_cpu(sfp->diag.temp_low_alarm); in sfp_hwmon_temp() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | Makefile | 18 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 diag/reporter_vnic.o \ 48 en/tc_tun_mplsoudp.o diag/en_tc_tracepoint.o \
|
/drivers/atm/ |
D | idt77105.c | 161 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/soc/fujitsu/ |
D | Kconfig | 5 bool "A64FX diag driver" 9 Say Y here if you want to enable diag interrupt on Fujitsu A64FX.
|
D | Makefile | 3 obj-$(CONFIG_A64FX_DIAG) += a64fx-diag.o
|
/drivers/pcmcia/ |
D | ti113x.h | 885 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/ |
D | main.c | 2100 struct mlx4_ib_diag_counters *diag = dev->diag_counters; in mlx4_ib_alloc_hw_device_stats() local 2102 if (!diag[0].descs) in mlx4_ib_alloc_hw_device_stats() 2105 return rdma_alloc_hw_stats_struct(diag[0].descs, diag[0].num_counters, in mlx4_ib_alloc_hw_device_stats() 2113 struct mlx4_ib_diag_counters *diag = dev->diag_counters; in mlx4_ib_alloc_hw_port_stats() local 2115 if (!diag[1].descs) in mlx4_ib_alloc_hw_port_stats() 2118 return rdma_alloc_hw_stats_struct(diag[1].descs, diag[1].num_counters, in mlx4_ib_alloc_hw_port_stats() 2127 struct mlx4_ib_diag_counters *diag = dev->diag_counters; in mlx4_ib_get_hw_stats() local 2135 diag[!!port].offset, hw_value, in mlx4_ib_get_hw_stats() 2136 diag[!!port].num_counters, port); in mlx4_ib_get_hw_stats() 2141 for (i = 0; i < diag[!!port].num_counters; i++) in mlx4_ib_get_hw_stats() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/diag/ |
D | vhca_tracepoint.h | 37 #define TRACE_INCLUDE_PATH sf/diag
|
D | sf_tracepoint.h | 170 #define TRACE_INCLUDE_PATH sf/diag
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | fw_tracer_tracepoint.h | 77 #define TRACE_INCLUDE_PATH ./diag
|
D | cmd_tracepoint.h | 42 #define TRACE_INCLUDE_PATH ./diag
|
D | en_rep_tracepoint.h | 51 #define TRACE_INCLUDE_PATH ./diag
|
D | en_tc_tracepoint.h | 111 #define TRACE_INCLUDE_PATH ./diag
|
/drivers/s390/block/ |
D | dasd_fba.h | 22 unsigned char diag:1; /* allow diagnose */ member
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/ |
D | dev_tracepoint.h | 55 #define TRACE_INCLUDE_PATH sf/dev/diag
|
/drivers/bluetooth/ |
D | btusb.c | 803 struct usb_interface *diag; member 1841 if (data->diag) { in btusb_open() 3972 struct usb_interface *intf = data->diag; in __set_diag_interface() 3975 if (!data->diag) in __set_diag_interface() 4043 if (!data->diag) in btusb_bcm_set_diag() 4364 data->diag = usb_ifnum_to_if(data->udev, ifnum_base + 2); in btusb_probe() 4374 data->diag = usb_ifnum_to_if(data->udev, ifnum_base + 2); in btusb_probe() 4548 if (IS_ENABLED(CONFIG_BT_HCIBTUSB_BCM) && data->diag) { in btusb_probe() 4550 data->diag, data)) in btusb_probe() 4553 data->diag = NULL; in btusb_probe() [all …]
|
/drivers/parport/ |
D | parport_ip32.c | 627 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/diag/ |
D | qos_tracepoint.h | 120 #define TRACE_INCLUDE_PATH esw/diag
|
D | bridge_tracepoint.h | 152 #define TRACE_INCLUDE_PATH esw/diag
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad.h | 345 struct bnad_diag *diag; member
|