Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/comedi/drivers/
Dadv_pci_dio.c107 unsigned long id_reg; member
121 .id_reg = 0x04,
131 .id_reg = 0x04,
137 .id_reg = 0x04,
144 .id_reg = 0x08,
152 .id_reg = 0x04,
158 .id_reg = 0x08,
177 .id_reg = 0x10,
196 .id_reg = 0x10,
204 .id_reg = 0x10,
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/arch/arm/kernel/
Dsetup.c280 unsigned int id_reg, num_sets, line_size; in cpu_has_aliasing_icache() local
291 id_reg = read_ccsidr(); in cpu_has_aliasing_icache()
292 line_size = 4 << ((id_reg & 0x7) + 2); in cpu_has_aliasing_icache()
293 num_sets = ((id_reg >> 13) & 0x7fff) + 1; in cpu_has_aliasing_icache()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/drivers/iio/pressure/
Dbmp280-core.c799 .id_reg = BMP280_REG_ID,
850 .id_reg = BMP280_REG_ID,
1225 .id_reg = BMP380_REG_ID,
1725 .id_reg = BMP580_REG_CHIP_ID,
1988 .id_reg = BMP280_REG_ID,
2142 ret = regmap_read(regmap, data->chip_info->id_reg, &chip_id); in bmp280_common_probe()
Dbmp280.h420 unsigned int id_reg; member
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c20 __u64 id_reg; member
65 ret = __vcpu_get_reg(vcpu, feat_id_regs[i].id_reg, &data); in check_supported_feat_reg()
/linux-6.6.21/drivers/scsi/pcmcia/
Dnsp_cs.c657 unsigned char id_reg, tmp; in nsp_reselected() local
662 id_reg = nsp_index_read(base, RESELECTID); in nsp_reselected()
663 tmp = id_reg & (~BIT(host_id)); in nsp_reselected()
/linux-6.6.21/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()
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-ocelot.c1961 unsigned int id_reg = OCELOT_GPIO_INTR_IDENT * info->stride; in ocelot_irq_handler() local
1966 regmap_read(info->map, id_reg + 4 * i, &reg); in ocelot_irq_handler()