Home
last modified time | relevance | path

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

12345678910>>...19

/linux/drivers/s390/block/
A Ddasd_3990_erp.c319 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()
471 sense[8]); in dasd_3990_handle_env_data()
595 sense[8]); in dasd_3990_handle_env_data()
1436 char *sense; in dasd_3990_erp_inspect_alias() local
1446 && (sense[0] == 0x10) && (sense[7] == 0x0F) in dasd_3990_erp_inspect_alias()
2087 sense[23], sense[11], sense[12]); in dasd_3990_erp_handle_sim()
2092 sense[23], sense[11], sense[12]); in dasd_3990_erp_handle_sim()
2323 char *sense; in dasd_3990_erp_inspect() local
2335 if (!sense) in dasd_3990_erp_inspect()
[all …]
/linux/drivers/s390/char/
A Dtape_3590.c1091 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1100 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1110 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_io_sim_msg_f1()
1191 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1200 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1209 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1222 sense->fmt.f71.md[1], sense->fmt.f71.md[2]); in tape_3590_print_dev_sim_msg_f2()
1265 sense->fmt.f70.emc, sense->fmt.f70.smc, in tape_3590_print_era_msg()
1266 sense->fmt.f70.refcode, sense->fmt.f70.mid, in tape_3590_print_era_msg()
1276 sense->mc, sense->fmt.f71.emc, sense->fmt.f71.smc, in tape_3590_print_era_msg()
[all …]
A Dtape_34xx.c59 unsigned char *sense; in __tape_34xx_medium_sense() local
62 sense = request->cpdata; 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()
328 sense[1] & SENSE_WRITE_PROTECT in tape_34xx_unit_check()
359 sense[1] == SENSE_DRIVE_ONLINE || in tape_34xx_unit_check()
413 switch (sense[3]) { in tape_34xx_unit_check()
470 if (sense[0] & SENSE_OVERRUN) in tape_34xx_unit_check()
477 switch (sense[3]) { in tape_34xx_unit_check()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
A Dsense.c68 struct mlx4_sense *sense = &mlx4_priv(dev)->sense; in mlx4_do_sense_ports() local
74 if (sense->do_sense_port[i] && sense->sense_allowed[i] && in mlx4_do_sense_ports()
96 struct mlx4_dev *dev = sense->dev; in mlx4_sense_port()
111 queue_delayed_work(mlx4_wq , &sense->sense_poll, in mlx4_sense_port()
118 struct mlx4_sense *sense = &priv->sense; in mlx4_start_sense() local
123 queue_delayed_work(mlx4_wq , &sense->sense_poll, in mlx4_start_sense()
129 cancel_delayed_work_sync(&mlx4_priv(dev)->sense.sense_poll); in mlx4_stop_sense()
135 struct mlx4_sense *sense = &priv->sense; in mlx4_sense_init() local
138 sense->dev = dev; in mlx4_sense_init()
140 sense->do_sense_port[port] = 1; in mlx4_sense_init()
[all …]
/linux/Documentation/devicetree/bindings/iio/afe/
A Dcurrent-sense-amplifier.yaml4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml#
16 describes such a current sense circuit.
20 const: current-sense-amplifier
27 sense-resistor-micro-ohms:
28 description: The sense resistance.
30 sense-gain-mult:
34 sense-gain-div:
41 - sense-resistor-micro-ohms
48 compatible = "current-sense-amplifier";
51 sense-resistor-micro-ohms = <20000>;
[all …]
A Dcurrent-sense-shunt.yaml4 $id: http://devicetree.org/schemas/iio/afe/current-sense-shunt.yaml#
13 When an io-channel measures the voltage over a current sense shunt,
16 sense circuit.
20 const: current-sense-shunt
61 compatible = "current-sense-shunt";
/linux/include/scsi/
A Dscsi.h126 #define sense_class(sense) (((sense) >> 4) & 0x7) argument
127 #define sense_error(sense) ((sense) & 0xf) argument
128 #define sense_valid(sense) ((sense) & 0x80) argument
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Di2c.c96 info->sense = DCB_I2C_UNUSED; in dcb_i2c_parse()
103 info->sense = nvbios_rd08(bios, ent + 1); in dcb_i2c_parse()
148 info->sense = nvbios_rd08(bios, ent + 5); in dcb_i2c_parse()
149 if (!info->sense) info->sense = 0x3e; in dcb_i2c_parse()
154 info->sense = nvbios_rd08(bios, ent + 7); in dcb_i2c_parse()
155 if (!info->sense) info->sense = 0x36; in dcb_i2c_parse()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
A Dbusnv04.c32 u8 sense; member
62 return !!(nvkm_rdvgac(device, 0, bus->sense) & 0x04); in nv04_i2c_bus_sense_scl()
70 return !!(nvkm_rdvgac(device, 0, bus->sense) & 0x08); in nv04_i2c_bus_sense_sda()
83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, in nv04_i2c_bus_new() argument
94 bus->sense = sense; in nv04_i2c_bus_new()
/linux/drivers/media/rc/
A Dserial_ir.c342 sense != -1) { in serial_ir_irq_handler()
358 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler()
366 if (!(dcd ^ sense)) { in serial_ir_irq_handler()
376 sense = sense ? 0 : 1; in serial_ir_irq_handler()
571 if (sense == -1) { in serial_ir_probe()
588 sense = nlow >= nhigh ? 1 : 0; in serial_ir_probe()
590 sense ? "low" : "high"); in serial_ir_probe()
593 sense ? "low" : "high"); in serial_ir_probe()
792 if (sense != -1) in serial_ir_init_module()
793 sense = !!sense; in serial_ir_init_module()
[all …]
/linux/drivers/irqchip/
A Dirq-renesas-rza1.c31 #define ICR1_IRQS(n, sense) ((sense) << ((n) * 2)) /* IRQ Sense Select */ argument
72 u16 sense, tmp; in rza1_irqc_set_type() local
76 sense = ICR1_IRQS_LEVEL_LOW; in rza1_irqc_set_type()
80 sense = ICR1_IRQS_EDGE_FALLING; in rza1_irqc_set_type()
84 sense = ICR1_IRQS_EDGE_RISING; in rza1_irqc_set_type()
88 sense = ICR1_IRQS_EDGE_BOTH; in rza1_irqc_set_type()
97 tmp |= ICR1_IRQS(hw_irq, sense); in rza1_irqc_set_type()
A Dirq-aspeed-vic.c60 u32 sense; in vic_init_hw() local
78 sense = readl(vic->base + AVIC_INT_SENSE); in vic_init_hw()
79 vic->edge_sources[0] = ~sense; in vic_init_hw()
80 sense = readl(vic->base + AVIC_INT_SENSE + 4); in vic_init_hw()
81 vic->edge_sources[1] = ~sense; in vic_init_hw()
/linux/drivers/video/fbdev/
A Dvalkyriefb.c88 int sense; member
275 p->sense = read_valkyrie_sense(p); in valkyrie_choose_mode()
276 printk(KERN_INFO "Monitor sense value = 0x%x\n", p->sense); in valkyrie_choose_mode()
285 default_vmode = mac_map_monitor_sense(p->sense); in valkyrie_choose_mode()
408 int sense, in; in read_valkyrie_sense() local
412 sense = ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x70) << 4; in read_valkyrie_sense()
416 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x30); in read_valkyrie_sense()
419 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x40) >> 3; in read_valkyrie_sense()
420 sense |= (in & 0x10) >> 2; in read_valkyrie_sense()
423 sense |= ((in = in_8(&p->valkyrie_regs->msense.r)) & 0x60) >> 5; in read_valkyrie_sense()
[all …]
A Dplatinumfb.c344 int sense, rc; in platinum_init_fb() local
346 sense = read_platinum_sense(pinfo); in platinum_init_fb()
347 printk(KERN_INFO "platinumfb: Monitor sense value = 0x%x, ", sense); in platinum_init_fb()
353 default_vmode = mac_map_monitor_sense(sense); in platinum_init_fb()
412 int sense; in read_platinum_sense() local
416 sense = (~in_be32(&platinum_regs->reg[23].r) & 7) << 8; in read_platinum_sense()
421 sense |= (~in_be32(&platinum_regs->reg[23].r) & 3) << 4; in read_platinum_sense()
424 sense |= (~in_be32(&platinum_regs->reg[23].r) & 4) << 1; in read_platinum_sense()
425 sense |= (~in_be32(&platinum_regs->reg[23].r) & 1) << 2; in read_platinum_sense()
428 sense |= (~in_be32(&platinum_regs->reg[23].r) & 6) >> 1; in read_platinum_sense()
[all …]
A Dmacmodes.c182 int sense; member
367 int mac_map_monitor_sense(int sense) in mac_map_monitor_sense() argument
371 for (map = mac_monitors; map->sense != -1; map++) in mac_map_monitor_sense()
372 if (map->sense == sense) in mac_map_monitor_sense()
/linux/Documentation/devicetree/bindings/sound/
A Dcs42l42.txt26 This is "inverted tip sense (ITS)" in the datasheet.
29 This is "normal tip sense (TS)" in the datasheet.
32 debounce, the tip sense pin might be noisy on a plug event.
44 With no debounce, the tip sense pin might be noisy on an unplug event.
85 - cirrus,hs-bias-sense-disable: This is boolean property. If present the
86 HSBIAS sense is disabled. Configures HSBIAS output current sense through
A Dtas2764.yaml16 Integrated speaker voltage and current sense provides for
42 description: TDM TX current sense time slot.
46 description: TDM TX voltage sense time slot.
/linux/Documentation/devicetree/bindings/iio/dac/
A Dadi,ad5755.yaml94 adi,ext-current-sense-resistor:
97 Set if the hardware has an external current sense resistor
146 adi,ext-current-sense-resistor;
152 adi,ext-current-sense-resistor;
158 adi,ext-current-sense-resistor;
164 adi,ext-current-sense-resistor;
/linux/Documentation/hwmon/
A Dltc2990.rst55 curr1_input Current in mA across V1-V2 assuming a 1mOhm sense resistor
56 curr2_input Current in mA across V3-V4 assuming a 1mOhm sense resistor
61 sense resistor. Divide the reported value by the actual sense resistor value
/linux/drivers/gpio/
A Dgpio-idt3243x.c52 unsigned int sense = flow_type & IRQ_TYPE_SENSE_MASK; in idt_gpio_irq_set_type() local
57 if (sense == IRQ_TYPE_NONE || (sense & IRQ_TYPE_EDGE_BOTH)) in idt_gpio_irq_set_type()
63 if (sense & IRQ_TYPE_LEVEL_HIGH) in idt_gpio_irq_set_type()
65 else if (sense & IRQ_TYPE_LEVEL_LOW) in idt_gpio_irq_set_type()
/linux/drivers/scsi/
A Daha1740.c119 static int aha1740_makecode(unchar *sense, unchar *status) in aha1740_makecode() argument
143 sense[0], sense[1], sense[2], sense[3]); in aha1740_makecode()
272 ecbptr->sense, in aha1740_intr_handle()
273 sizeof(ecbptr->sense), in aha1740_intr_handle()
275 errstatus = aha1740_makecode(ecbptr->sense,ecbptr->status); in aha1740_intr_handle()
431 host->ecb[ecbno].sense); in aha1740_queuecommand_lck()
/linux/drivers/s390/scsi/
A Dzfcp_fc.h274 char *sense; in zfcp_fc_eval_fcp_rsp() local
293 sense = (char *) &fcp_rsp[1]; in zfcp_fc_eval_fcp_rsp()
295 sense += be32_to_cpu(fcp_rsp->ext.fr_rsp_len); in zfcp_fc_eval_fcp_rsp()
298 memcpy(scsi->sense_buffer, sense, sense_len); in zfcp_fc_eval_fcp_rsp()
/linux/drivers/cdrom/
A Dgdrom.c369 char sense = __raw_readb(GDROM_ERROR_REG); in gdrom_drivestatus() local
370 sense &= 0xF0; in gdrom_drivestatus()
371 if (sense == 0) in gdrom_drivestatus()
373 if (sense == 0x20) in gdrom_drivestatus()
415 short sense[5]; in gdrom_getsense() local
437 insw(GDROM_DATA_REG, &sense, sense_command->buflen/2); in gdrom_getsense()
438 if (sense[1] & 40) { in gdrom_getsense()
442 sense_key = sense[1] & 0x0F; in gdrom_getsense()
448 memcpy(bufstring, &sense[4], 2); in gdrom_getsense()
/linux/drivers/sh/intc/
A 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()
287 d->sense = kcalloc(hw->nr_vectors, sizeof(*d->sense), in register_intc_controller()
289 if (!d->sense) in register_intc_controller()
295 sort(d->sense, hw->nr_sense_regs, sizeof(*d->sense), in register_intc_controller()
/linux/Documentation/devicetree/bindings/power/supply/
A Dlltc,ltc294x.yaml33 lltc,resistor-sense:
50 - lltc,resistor-sense
63 lltc,resistor-sense = <15>;

Completed in 125 milliseconds

12345678910>>...19