Searched refs:id_buf (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/rts5208/ |
D | xd.c | 91 static int xd_read_id(struct rtsx_chip *chip, u8 id_cmd, u8 *id_buf, u8 buf_len) in xd_read_id() argument 114 if (id_buf && buf_len) { in xd_read_id() 117 memcpy(id_buf, ptr, buf_len); in xd_read_id() 491 u8 *ptr, id_buf[4], redunt[11]; in reset_xd() local 631 retval = xd_read_id(chip, READ_ID, id_buf, 4); in reset_xd() 638 id_buf[0], id_buf[1], id_buf[2], id_buf[3]); in reset_xd() 640 xd_card->device_code = id_buf[1]; in reset_xd() 714 retval = xd_read_id(chip, READ_ID, id_buf, 4); in reset_xd() 720 if (id_buf[1] != xd_card->device_code) in reset_xd() 738 retval = xd_read_id(chip, READ_xD_ID, id_buf, 4); in reset_xd() [all …]
|
/drivers/block/mtip32xx/ |
D | mtip32xx.c | 2488 char id_buf[42]; in show_device_status() local 2498 strlcpy(id_buf, in show_device_status() 2502 memset(id_buf, 0, 42); in show_device_status() 2511 id_buf, in show_device_status() 2517 id_buf); in show_device_status() 2528 strlcpy(id_buf, in show_device_status() 2532 memset(id_buf, 0, 42); in show_device_status() 2541 id_buf, in show_device_status() 2547 id_buf); in show_device_status()
|