Home
last modified time | relevance | path

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

/drivers/memstick/core/
Dmemstick.c328 struct ms_id_register id_reg; in h_memstick_read_dev_id() local
337 memcpy(&id_reg, (*mrq)->data, sizeof(id_reg)); in h_memstick_read_dev_id()
339 card->id.type = id_reg.type; in h_memstick_read_dev_id()
340 card->id.category = id_reg.category; in h_memstick_read_dev_id()
341 card->id.class = id_reg.class; in h_memstick_read_dev_id()
344 dev_dbg(&card->dev, "if_mode = %02x\n", id_reg.if_mode); in h_memstick_read_dev_id()
384 struct ms_id_register id_reg; in memstick_alloc_card() local
395 card->reg_addr.r_length = sizeof(id_reg); in memstick_alloc_card()
397 card->reg_addr.w_length = sizeof(id_reg); in memstick_alloc_card()
/drivers/scsi/pcmcia/
Dnsp_cs.c658 unsigned char id_reg, tmp; in nsp_reselected() local
663 id_reg = nsp_index_read(base, RESELECTID); in nsp_reselected()
664 tmp = id_reg & (~BIT(host_id)); in nsp_reselected()