Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/image/
Dmdc800.c155 int out_ptr; // Index to the first not readen byte member
390 mdc800->out_ptr=0; in mdc800_usb_download_notify()
626 mdc800->out_ptr=0; in mdc800_device_open()
714 sts=left > (mdc800->out_count-mdc800->out_ptr)?mdc800->out_count-mdc800->out_ptr:left; in mdc800_device_read()
722 mdc800->out_ptr=0; in mdc800_device_read()
758 if (copy_to_user(ptr, &mdc800->out [mdc800->out_ptr], in mdc800_device_read()
765 mdc800->out_ptr+=sts; in mdc800_device_read()
817 mdc800->out_ptr=0; in mdc800_device_write()
910 mdc800->out_ptr=0; in mdc800_device_write()
/Linux-v5.4/drivers/scsi/
Dqlogicpti.c899 struct qlogicpti *qpti, u_int in_ptr, u_int out_ptr) in load_cmd() argument
932 if (in_ptr == out_ptr) in load_cmd()
968 static inline void update_can_queue(struct Scsi_Host *host, u_int in_ptr, u_int out_ptr) in update_can_queue() argument
972 int num_free = QLOGICPTI_REQ_QUEUE_LEN - REQ_QUEUE_DEPTH(in_ptr, out_ptr) - 64; in update_can_queue()
1021 u_int out_ptr; in qlogicpti_queuecommand_lck() local
1028 out_ptr = sbus_readw(qpti->qregs + MBOX4); in qlogicpti_queuecommand_lck()
1030 if (in_ptr == out_ptr) in qlogicpti_queuecommand_lck()
1036 if (NEXT_REQ_PTR(in_ptr) == out_ptr) { in qlogicpti_queuecommand_lck()
1045 if ((in_ptr = load_cmd(Cmnd, cmd, qpti, in_ptr, out_ptr)) == -1) in qlogicpti_queuecommand_lck()
1048 update_can_queue(host, in_ptr, out_ptr); in qlogicpti_queuecommand_lck()
[all …]
/Linux-v5.4/drivers/scsi/qla2xxx/
Dqla_tmpl.c634 qla27xx_insert32(req && req->out_ptr ? in qla27xx_fwdt_entry_t274()
635 *req->out_ptr : 0, buf, len); in qla27xx_fwdt_entry_t274()
Dqla_iocb.c1639 cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : in qla24xx_start_scsi()
1824 cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : in qla24xx_dif_start_scsi()
1959 cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : in qla2xxx_start_scsi_mq()
2159 cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : in qla2xxx_dif_start_scsi_mq()
2266 cnt = *req->out_ptr; in __qla2x00_alloc_iocbs()
3756 cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : in qla2x00_start_bidir()
Dqla_nvme.c386 cnt = IS_SHADOW_REG_CAPABLE(ha) ? *req->out_ptr : in qla2x00_start_nvme_mq()
Dqla_mid.c763 req->out_ptr = (void *)(req->ring + req->length); in qla25xx_create_req_que()
Dqla_def.h3435 uint16_t out_ptr; member
3463 uint16_t *out_ptr; /* queue shadow out index */ member
Dqla_init.c4027 req->out_ptr = (void *)(req->ring + req->length); in qla2x00_init_rings()
4028 *req->out_ptr = 0; in qla2x00_init_rings()
Dqla_mbx.c4370 mcp->mb[9] = *req->out_ptr = 0; in qla25xx_init_req_que()
Dqla_target.c2478 cnt = (uint16_t)(qpair->use_shadow_reg ? *req->out_ptr : in qlt_check_reserve_free_req()
/Linux-v5.4/include/linux/mlx5/
Ddevice.h516 __be64 out_ptr; member
/Linux-v5.4/drivers/ata/
Dsata_mv.c2492 u32 in_ptr, out_ptr; in mv_req_q_empty() local
2496 out_ptr = (readl(port_mmio + EDMA_REQ_Q_OUT_PTR) in mv_req_q_empty()
2498 return (in_ptr == out_ptr); /* 1 == queue_is_empty */ in mv_req_q_empty()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c901 lay->out_ptr = cpu_to_be64(ent->out->next->dma); in cmd_work_handler()