Lines Matching refs:bd_count
464 int bd_count = 0; in qedf_map_sg() local
484 bd[bd_count].sge_addr.lo = (addr & 0xffffffff); in qedf_map_sg()
485 bd[bd_count].sge_addr.hi = (addr >> 32); in qedf_map_sg()
486 bd[bd_count].sge_len = (u16)sg_len; in qedf_map_sg()
488 return ++bd_count; in qedf_map_sg()
522 bd_count); in qedf_map_sg()
525 bd[bd_count].sge_addr.lo = U64_LO(addr); in qedf_map_sg()
526 bd[bd_count].sge_addr.hi = U64_HI(addr); in qedf_map_sg()
527 bd[bd_count].sge_len = (uint16_t)sg_len; in qedf_map_sg()
530 bd_count += sg_frags; in qedf_map_sg()
539 return bd_count; in qedf_map_sg()
546 int bd_count; in qedf_build_bd_list_from_sg() local
549 bd_count = qedf_map_sg(io_req); in qedf_build_bd_list_from_sg()
550 if (bd_count == 0) in qedf_build_bd_list_from_sg()
553 bd_count = 0; in qedf_build_bd_list_from_sg()
557 io_req->bd_tbl->bd_valid = bd_count; in qedf_build_bd_list_from_sg()
609 int bd_count = 0; in qedf_init_task() local
649 bd_count = bd_tbl->bd_valid; in qedf_init_task()
655 io_req->sgl_task_params->num_sges = bd_count; in qedf_init_task()
682 if (bd_count == 1) { in qedf_init_task()