Home
last modified time | relevance | path

Searched refs:out_ptr (Results 1 – 4 of 4) sorted by relevance

/drivers/usb/image/
Dmdc800.c168 int out_ptr; // Index to the first not readen byte member
404 mdc800->out_ptr=0; in mdc800_usb_download_notify()
640 mdc800->out_ptr=0; in mdc800_device_open()
729 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read()
737 mdc800->out_ptr=0; in mdc800_device_read()
772 if (copy_to_user(ptr, &mdc800->out [mdc800->out_ptr], in mdc800_device_read()
779 mdc800->out_ptr+=sts; in mdc800_device_read()
831 mdc800->out_ptr=0; in mdc800_device_write()
922 mdc800->out_ptr=0; in mdc800_device_write()
/drivers/scsi/
Dqlogicpti.c888 struct qlogicpti *qpti, u_int in_ptr, u_int out_ptr) in load_cmd() argument
921 if (in_ptr == out_ptr) in load_cmd()
957 static inline void update_can_queue(struct Scsi_Host *host, u_int in_ptr, u_int out_ptr) in update_can_queue() argument
961 int num_free = QLOGICPTI_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr) - 64; in update_can_queue()
1010 u_int out_ptr; in qlogicpti_queuecommand_lck() local
1017 out_ptr = sbus_readw(qpti->qregs + MBOX4); in qlogicpti_queuecommand_lck()
1019 if (in_ptr == out_ptr) in qlogicpti_queuecommand_lck()
1025 if (NEXT_REQ_PTR(in_ptr) == out_ptr) { in qlogicpti_queuecommand_lck()
1034 if ((in_ptr = load_cmd(Cmnd, cmd, qpti, in_ptr, out_ptr)) == -1) in qlogicpti_queuecommand_lck()
1037 update_can_queue(host, in_ptr, out_ptr); in qlogicpti_queuecommand_lck()
[all …]
/drivers/ata/
Dsata_mv.c2465 u32 in_ptr, out_ptr; in mv_req_q_empty() local
2469 out_ptr = (readl(port_mmio + EDMA_REQ_Q_OUT_PTR) in mv_req_q_empty()
2471 return (in_ptr == out_ptr); /* 1 == queue_is_empty */ in mv_req_q_empty()
/drivers/scsi/qla2xxx/
Dqla_def.h2380 uint16_t out_ptr; member