Home
last modified time | relevance | path

Searched refs:id_reg (Results 1 – 9 of 9) sorted by relevance

/drivers/comedi/drivers/
Dadv_pci_dio.c109 unsigned long id_reg; member
123 .id_reg = 0x04,
133 .id_reg = 0x04,
139 .id_reg = 0x04,
146 .id_reg = 0x08,
154 .id_reg = 0x04,
160 .id_reg = 0x08,
179 .id_reg = 0x10,
198 .id_reg = 0x10,
206 .id_reg = 0x10,
[all …]
/drivers/memstick/core/
Dmemstick.c326 struct ms_id_register id_reg; in h_memstick_read_dev_id() local
329 memstick_init_req(&card->current_mrq, MS_TPC_READ_REG, &id_reg, in h_memstick_read_dev_id()
335 memcpy(&id_reg, (*mrq)->data, sizeof(id_reg)); in h_memstick_read_dev_id()
337 card->id.type = id_reg.type; in h_memstick_read_dev_id()
338 card->id.category = id_reg.category; in h_memstick_read_dev_id()
339 card->id.class = id_reg.class; in h_memstick_read_dev_id()
340 dev_dbg(&card->dev, "if_mode = %02x\n", id_reg.if_mode); in h_memstick_read_dev_id()
381 struct ms_id_register id_reg; in memstick_alloc_card() local
392 card->reg_addr.r_length = sizeof(id_reg); in memstick_alloc_card()
394 card->reg_addr.w_length = sizeof(id_reg); in memstick_alloc_card()
/drivers/hwmon/
Dshtc1.c194 u16 id_reg; in shtc1_probe() local
219 id_reg = be16_to_cpup((__be16 *)id_reg_buf); in shtc1_probe()
221 if ((id_reg & SHTC3_ID_MASK) != SHTC3_ID) { in shtc1_probe()
225 } else if ((id_reg & SHTC1_ID_MASK) != SHTC1_ID) { in shtc1_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dhwif.c11 static u32 stmmac_get_id(struct stmmac_priv *priv, u32 id_reg) in stmmac_get_id() argument
13 u32 reg = readl(priv->ioaddr + id_reg); in stmmac_get_id()
26 static u32 stmmac_get_dev_id(struct stmmac_priv *priv, u32 id_reg) in stmmac_get_dev_id() argument
28 u32 reg = readl(priv->ioaddr + id_reg); in stmmac_get_dev_id()
/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c576 static void compiz_enable_input(u32 __iomem *id_reg, in compiz_enable_input() argument
591 malidp_write32(id_reg, BLK_INPUT_ID0, input_hw_id); in compiz_enable_input()
605 u32 __iomem *id_reg, *cfg_reg; in d71_compiz_update() local
609 id_reg = reg + index; in d71_compiz_update()
612 compiz_enable_input(id_reg, cfg_reg, in d71_compiz_update()
616 malidp_write32(id_reg, BLK_INPUT_ID0, 0); in d71_compiz_update()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c310 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock() argument
320 if (id_reg) { in qlcnic_pcie_sem_lock()
321 done = QLCRD32(adapter, id_reg, &err); in qlcnic_pcie_sem_lock()
339 if (id_reg) in qlcnic_pcie_sem_lock()
340 QLCWR32(adapter, id_reg, adapter->portnum); in qlcnic_pcie_sem_lock()
/drivers/scsi/pcmcia/
Dnsp_cs.c655 unsigned char id_reg, tmp; in nsp_reselected() local
660 id_reg = nsp_index_read(base, RESELECTID); in nsp_reselected()
661 tmp = id_reg & (~BIT(host_id)); in nsp_reselected()
/drivers/pinctrl/
Dpinctrl-ocelot.c1278 unsigned int id_reg = OCELOT_GPIO_INTR_IDENT * info->stride; in ocelot_irq_handler() local
1283 regmap_read(info->map, id_reg + 4 * i, &reg); in ocelot_irq_handler()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c293 netxen_pcie_sem_lock(struct netxen_adapter *adapter, int sem, u32 id_reg) in netxen_pcie_sem_lock() argument
306 if (id_reg) in netxen_pcie_sem_lock()
307 NXWR32(adapter, id_reg, adapter->portnum); in netxen_pcie_sem_lock()