Searched refs:hreg (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/scsi/ |
H A D | qlogicfas.c | 60 struct Scsi_Host *hreg; /* registered host structure */ in __qlogicfas_detect() local 98 hreg = scsi_host_alloc(host, sizeof(struct qlogicfas408_priv)); in __qlogicfas_detect() 99 if (!hreg) in __qlogicfas_detect() 101 priv = get_priv_by_host(hreg); in __qlogicfas_detect() 102 hreg->io_port = qbase; in __qlogicfas_detect() 103 hreg->n_io_port = 16; in __qlogicfas_detect() 104 hreg->dma_channel = -1; in __qlogicfas_detect() 106 hreg->irq = qlirq; in __qlogicfas_detect() 110 priv->shost = hreg; in __qlogicfas_detect() 118 if (request_irq(qlirq, qlogicfas408_ihandl, 0, qlogicfas_name, hreg)) in __qlogicfas_detect() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | stts751.c | 201 u8 hreg, u8 lreg) in stts751_set_temp_reg16() argument 208 ret = i2c_smbus_write_byte_data(priv->client, hreg, hwval >> 8); in stts751_set_temp_reg16() 224 u8 hreg, u8 lreg) in stts751_read_reg16() argument 228 integer = i2c_smbus_read_byte_data(priv->client, hreg); in stts751_read_reg16()
|