Home
last modified time | relevance | path

Searched refs:sense (Results 1 – 25 of 51) sorted by relevance

123

/linux-4.19.296/drivers/s390/block/
Ddasd_3990_erp.c302 dasd_3990_erp_action_4(struct dasd_ccw_req * erp, char *sense) in dasd_3990_erp_action_4() argument
319 if (sense && (sense[25] == 0x1D)) { /* state change pending */ in dasd_3990_erp_action_4()
328 } else if (sense && (sense[25] == 0x1E)) { /* busy */ in dasd_3990_erp_action_4()
395 dasd_3990_handle_env_data(struct dasd_ccw_req * erp, char *sense) in dasd_3990_handle_env_data() argument
399 char msg_format = (sense[7] & 0xF0); in dasd_3990_handle_env_data()
400 char msg_no = (sense[7] & 0x0F); in dasd_3990_handle_env_data()
406 if (sense[1] & 0x10) { /* check message to operator bit */ in dasd_3990_handle_env_data()
450 "... %02x\n", sense[8]); in dasd_3990_handle_env_data()
471 sense[8]); in dasd_3990_handle_env_data()
493 "device = %02x\n", sense[4]); in dasd_3990_handle_env_data()
[all …]
Ddasd_eckd.c1855 char *sense; in dasd_eckd_analysis_evaluation() local
1860 sense = dasd_get_sense(&init_cqr->irb); in dasd_eckd_analysis_evaluation()
1861 if (sense && (sense[1] & SNS1_NO_REC_FOUND)) in dasd_eckd_analysis_evaluation()
2566 char *sense = NULL; in dasd_eckd_format_process_data() local
2642 sense = dasd_get_sense(&cqr->irb); in dasd_eckd_format_process_data()
2663 if (sense && in dasd_eckd_format_process_data()
2664 (sense[1] & SNS1_NO_REC_FOUND || in dasd_eckd_format_process_data()
2665 sense[1] & SNS1_FILE_PROTECTED)) in dasd_eckd_format_process_data()
2948 char *sense = NULL; in dasd_eckd_check_for_device_change() local
2969 sense = dasd_get_sense(irb); in dasd_eckd_check_for_device_change()
[all …]
Ddasd_fba.c650 u64 *sense; in dasd_fba_dump_sense_dbf() local
652 sense = (u64 *) dasd_get_sense(irb); in dasd_fba_dump_sense_dbf()
653 if (sense) { in dasd_fba_dump_sense_dbf()
659 scsw_dstat(&irb->scsw), sense[0], sense[1], in dasd_fba_dump_sense_dbf()
660 sense[2], sense[3]); in dasd_fba_dump_sense_dbf()
Ddasd_eer.c303 char *sense; in dasd_eer_write_standard_trigger() local
324 sense = dasd_get_sense(&temp_cqr->irb); in dasd_eer_write_standard_trigger()
325 if (sense) in dasd_eer_write_standard_trigger()
326 dasd_eer_write_buffer(eerb, sense, 32); in dasd_eer_write_standard_trigger()
Ddasd_alias.c381 char *sense; in suborder_not_supported() local
400 sense = dasd_get_sense(&cqr->irb); in suborder_not_supported()
401 if (!sense) in suborder_not_supported()
404 reason = sense[0]; in suborder_not_supported()
405 msg_format = (sense[7] & 0xF0); in suborder_not_supported()
406 msg_no = (sense[7] & 0x0F); in suborder_not_supported()
/linux-4.19.296/drivers/s390/char/
Dtape_3590.c669 struct tape_3590_med_sense *sense) in tape_3590_med_state_set() argument
675 DBF_EVENT(6, "medium state: %x:%x\n", sense->macst, sense->masst); in tape_3590_med_state_set()
676 switch (sense->macst) { in tape_3590_med_state_set()
692 if (sense->flags & MSENSE_CRYPT_MASK) { in tape_3590_med_state_set()
693 DBF_EVENT(6, "Medium is encrypted (%04x)\n", sense->flags); in tape_3590_med_state_set()
696 DBF_EVENT(6, "Medium is not encrypted %04x\n", sense->flags); in tape_3590_med_state_set()
826 struct tape_3590_sense *sense; in tape_3590_erp_basic() local
828 sense = (struct tape_3590_sense *) irb->ecw; in tape_3590_erp_basic()
830 switch (sense->bra) { in tape_3590_erp_basic()
958 struct tape_3590_sense *sense; in tape_3590_print_mim_msg_f0() local
[all …]
Dtape_34xx.c59 unsigned char *sense; in __tape_34xx_medium_sense() local
62 sense = request->cpdata; in __tape_34xx_medium_sense()
70 if (sense[0] & SENSE_INTERVENTION_REQUIRED) in __tape_34xx_medium_sense()
75 if (sense[1] & SENSE_WRITE_PROTECT) in __tape_34xx_medium_sense()
321 __u8* sense; in tape_34xx_unit_check() local
324 sense = irb->ecw; in tape_34xx_unit_check()
327 sense[0] & SENSE_COMMAND_REJECT && in tape_34xx_unit_check()
328 sense[1] & SENSE_WRITE_PROTECT in tape_34xx_unit_check()
355 sense[0] == SENSE_DATA_CHECK || in tape_34xx_unit_check()
356 sense[0] == SENSE_EQUIPMENT_CHECK || in tape_34xx_unit_check()
[all …]
/linux-4.19.296/include/scsi/
Dscsi.h215 #define sense_class(sense) (((sense) >> 4) & 0x7) argument
216 #define sense_error(sense) ((sense) & 0xf) argument
217 #define sense_valid(sense) ((sense) & 0x80) argument
Dscsi_device.h433 unsigned char *sense, struct scsi_sense_hdr *sshdr,
437 #define scsi_execute(sdev, cmd, data_direction, buffer, bufflen, sense, \ argument
440 BUILD_BUG_ON((sense) != NULL && \
441 sizeof(sense) != SCSI_SENSE_BUFFERSIZE); \
443 sense, sshdr, timeout, retries, flags, rq_flags, \
Dscsi_request.h17 void *sense; member
/linux-4.19.296/drivers/media/rc/
Dserial_ir.c63 static int sense = -1; /* -1 = auto, 0 = active high, 1 = active low */ variable
350 sense != -1) { in serial_ir_irq_handler()
366 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
374 if (!(dcd ^ sense)) { in serial_ir_irq_handler()
378 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
384 sense = sense ? 0 : 1; in serial_ir_irq_handler()
389 frbwrite(data, !(dcd ^ sense)); in serial_ir_irq_handler()
579 if (sense == -1) { in serial_ir_probe()
596 sense = nlow >= nhigh ? 1 : 0; in serial_ir_probe()
598 sense ? "low" : "high"); in serial_ir_probe()
[all …]
/linux-4.19.296/drivers/irqchip/
Dirq-aspeed-vic.c70 u32 sense; in vic_init_hw() local
88 sense = readl(vic->base + AVIC_INT_SENSE); in vic_init_hw()
89 vic->edge_sources[0] = ~sense; in vic_init_hw()
90 sense = readl(vic->base + AVIC_INT_SENSE + 4); in vic_init_hw()
91 vic->edge_sources[1] = ~sense; in vic_init_hw()
Dirq-meson-gpio.c205 unsigned int sense = type & IRQ_TYPE_SENSE_MASK; in meson_gpio_irq_type_output() local
213 if (sense & (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_LEVEL_LOW)) in meson_gpio_irq_type_output()
215 else if (sense & (IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING)) in meson_gpio_irq_type_output()
/linux-4.19.296/drivers/s390/scsi/
Dzfcp_fc.h261 char *sense; in zfcp_fc_eval_fcp_rsp() local
281 sense = (char *) &fcp_rsp[1]; in zfcp_fc_eval_fcp_rsp()
283 sense += be32_to_cpu(fcp_rsp->ext.fr_rsp_len); in zfcp_fc_eval_fcp_rsp()
286 memcpy(scsi->sense_buffer, sense, sense_len); in zfcp_fc_eval_fcp_rsp()
/linux-4.19.296/drivers/iio/afe/
DKconfig13 that handles voltage dividers, current sense shunts and
14 current sense amplifiers.
Diio-rescale.c151 u32 sense; in rescale_current_sense_amplifier_props() local
158 &sense); in rescale_current_sense_amplifier_props()
172 factor = gcd(sense, 1000000); in rescale_current_sense_amplifier_props()
174 rescale->denominator = sense / factor; in rescale_current_sense_amplifier_props()
/linux-4.19.296/drivers/cdrom/
Dgdrom.c388 char sense = __raw_readb(GDROM_ERROR_REG); in gdrom_drivestatus() local
389 sense &= 0xF0; in gdrom_drivestatus()
390 if (sense == 0) in gdrom_drivestatus()
392 if (sense == 0x20) in gdrom_drivestatus()
434 short sense[5]; in gdrom_getsense() local
456 insw(GDROM_DATA_REG, &sense, sense_command->buflen/2); in gdrom_getsense()
457 if (sense[1] & 40) { in gdrom_getsense()
461 sense_key = sense[1] & 0x0F; in gdrom_getsense()
467 memcpy(bufstring, &sense[4], 2); in gdrom_getsense()
/linux-4.19.296/drivers/sh/intc/
Dcore.c150 (d->sense + d->nr_sense)->irq = irq; in intc_register_irq()
151 (d->sense + d->nr_sense)->handle = data[0]; in intc_register_irq()
272 d->sense = kcalloc(hw->nr_vectors, sizeof(*d->sense), in register_intc_controller()
274 if (!d->sense) in register_intc_controller()
280 sort(d->sense, hw->nr_sense_regs, sizeof(*d->sense), in register_intc_controller()
/linux-4.19.296/drivers/s390/net/
Dctcm_main.c309 static void ccw_unit_check(struct channel *ch, __u8 sense) in ccw_unit_check() argument
313 CTCM_FUNTAIL, ch->id, sense); in ccw_unit_check()
315 if (sense & SNS0_INTERVENTION_REQ) { in ccw_unit_check()
316 if (sense & 0x01) { in ccw_unit_check()
333 } else if (sense & SNS0_EQUIPMENT_CHECK) { in ccw_unit_check()
334 if (sense & SNS0_BUS_OUT_CHECK) { in ccw_unit_check()
338 CTCM_FUNTAIL, ch->id, sense); in ccw_unit_check()
346 CTCM_FUNTAIL, ch->id, sense); in ccw_unit_check()
351 } else if (sense & SNS0_BUS_OUT_CHECK) { in ccw_unit_check()
355 CTCM_FUNTAIL, ch->id, sense); in ccw_unit_check()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd_dvbt_mon.h54 *sense);
Dcxd2880_tnrdmd_dvbt_mon.c337 *sense) in cxd2880_tnrdmd_dvbt_mon_spectrum_sense()
342 if (!tnr_dmd || !sense) in cxd2880_tnrdmd_dvbt_mon_spectrum_sense()
361 sense); in cxd2880_tnrdmd_dvbt_mon_spectrum_sense()
384 *sense = in cxd2880_tnrdmd_dvbt_mon_spectrum_sense()
Dcxd2880_tnrdmd_dvbt2_mon.h88 *sense);
/linux-4.19.296/block/
Dcompat_ioctl.c111 compat_caddr_t sense; member
162 get_user(data, &cgc32->sense) || in compat_cdrom_generic_command()
163 put_user(compat_ptr(data), &cgc->sense) || in compat_cdrom_generic_command()
/linux-4.19.296/include/linux/usb/
Duas.h80 __u8 sense[SCSI_SENSE_BUFFERSIZE]; member
/linux-4.19.296/include/uapi/linux/
Dvirtio_scsi.h72 __u8 sense[VIRTIO_SCSI_SENSE_SIZE]; member

123