Lines Matching refs:int_reg
200 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_write_bytes() argument
229 if (int_reg) in ms_write_bytes()
239 if (int_reg) in ms_write_bytes()
240 *int_reg = val & 0x0F; in ms_write_bytes()
259 if (int_reg) { in ms_write_bytes()
261 *int_reg = *ptr & 0x0F; in ms_write_bytes()
268 u8 cfg, u8 cnt, u8 *data, u8 *int_reg) in ms_read_bytes() argument
298 if (int_reg) in ms_read_bytes()
308 if (int_reg) in ms_read_bytes()
309 *int_reg = val & 0x0F; in ms_read_bytes()
332 if (int_reg) in ms_read_bytes()
333 *int_reg = *ptr & 0x0F; in ms_read_bytes()
342 u8 cfg = 0, int_reg; in rtsx_pci_ms_issue_cmd() local
357 req->data_len, req->data, &int_reg); in rtsx_pci_ms_issue_cmd()
360 req->data_len, req->data, &int_reg); in rtsx_pci_ms_issue_cmd()
368 NO_WAIT_INT, 1, &int_reg, NULL); in rtsx_pci_ms_issue_cmd()
374 dev_dbg(ms_dev(host), "int_reg: 0x%02x\n", int_reg); in rtsx_pci_ms_issue_cmd()
376 if (int_reg & MS_INT_CMDNK) in rtsx_pci_ms_issue_cmd()
377 req->int_reg |= MEMSTICK_INT_CMDNAK; in rtsx_pci_ms_issue_cmd()
378 if (int_reg & MS_INT_BREQ) in rtsx_pci_ms_issue_cmd()
379 req->int_reg |= MEMSTICK_INT_BREQ; in rtsx_pci_ms_issue_cmd()
380 if (int_reg & MS_INT_ERR) in rtsx_pci_ms_issue_cmd()
381 req->int_reg |= MEMSTICK_INT_ERR; in rtsx_pci_ms_issue_cmd()
382 if (int_reg & MS_INT_CED) in rtsx_pci_ms_issue_cmd()
383 req->int_reg |= MEMSTICK_INT_CED; in rtsx_pci_ms_issue_cmd()