Home
last modified time | relevance | path

Searched refs:bd_count (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/arch/powerpc/sysdev/bestcomm/
Dbestcomm.c50 bcom_task_alloc(int bd_count, int bd_size, int priv_size) in bcom_task_alloc() argument
89 if (bd_count) { in bcom_task_alloc()
90 tsk->cookie = kmalloc(sizeof(void*) * bd_count, GFP_KERNEL); in bcom_task_alloc()
94 tsk->bd = bcom_sram_alloc(bd_count * bd_size, 4, &tsk->bd_pa); in bcom_task_alloc()
97 memset(tsk->bd, 0x00, bd_count * bd_size); in bcom_task_alloc()
99 tsk->num_bd = bd_count; in bcom_task_alloc()
Dbestcomm_priv.h236 extern struct bcom_task *bcom_task_alloc(int bd_count, int bd_size, int priv_size);
/linux-3.4.99/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c147 int bd_count = 0; in bnx2i_map_scsi_sg() local
160 bd[bd_count].buffer_addr_lo = addr & 0xffffffff; in bnx2i_map_scsi_sg()
161 bd[bd_count].buffer_addr_hi = addr >> 32; in bnx2i_map_scsi_sg()
162 bd[bd_count].buffer_length = sg_len; in bnx2i_map_scsi_sg()
163 bd[bd_count].flags = 0; in bnx2i_map_scsi_sg()
164 if (bd_count == 0) in bnx2i_map_scsi_sg()
165 bd[bd_count].flags = ISCSI_BD_FIRST_IN_BD_CHAIN; in bnx2i_map_scsi_sg()
168 bd_count++; in bnx2i_map_scsi_sg()
171 if (bd_count) in bnx2i_map_scsi_sg()
172 bd[bd_count - 1].flags |= ISCSI_BD_LAST_IN_BD_CHAIN; in bnx2i_map_scsi_sg()
[all …]
/linux-3.4.99/drivers/scsi/bnx2fc/
Dbnx2fc_io.c1615 int bd_count = 0; in bnx2fc_map_sg() local
1628 bd_count); in bnx2fc_map_sg()
1632 bd[bd_count].buf_addr_lo = addr & 0xffffffff; in bnx2fc_map_sg()
1633 bd[bd_count].buf_addr_hi = addr >> 32; in bnx2fc_map_sg()
1634 bd[bd_count].buf_len = (u16)sg_len; in bnx2fc_map_sg()
1635 bd[bd_count].flags = 0; in bnx2fc_map_sg()
1637 bd_count += sg_frags; in bnx2fc_map_sg()
1644 return bd_count; in bnx2fc_map_sg()
1651 int bd_count; in bnx2fc_build_bd_list_from_sg() local
1654 bd_count = bnx2fc_map_sg(io_req); in bnx2fc_build_bd_list_from_sg()
[all …]
Dbnx2fc_hwi.c1485 int bd_count; in bnx2fc_init_seq_cleanup_task() local
1515 bd_count = orig_io_req->bd_tbl->bd_valid; in bnx2fc_init_seq_cleanup_task()
1518 for (i = 0; i < bd_count; i++) { in bnx2fc_init_seq_cleanup_task()
1531 bd_count; in bnx2fc_init_seq_cleanup_task()
1547 sgl->mul_sgl.sgl_size = bd_count; in bnx2fc_init_seq_cleanup_task()
1705 int bd_count; in bnx2fc_init_task() local
1718 bd_count = bd_tbl->bd_valid; in bnx2fc_init_task()
1721 if ((dev_type == TYPE_DISK) && (bd_count == 1)) { in bnx2fc_init_task()
1801 bd_count = bd_tbl->bd_valid; in bnx2fc_init_task()
1804 if (bd_count == 1) { in bnx2fc_init_task()
[all …]
/linux-3.4.99/drivers/net/ethernet/toshiba/
Dtc35815.c1101 int i, bd_count = (le32_to_cpu(fd->fd.FDCtl) & FD_BDCnt_MASK) >> FD_BDCnt_SHIFT; in dump_rxfd() local
1102 if (bd_count > 8) in dump_rxfd()
1103 bd_count = 8; in dump_rxfd()
1112 for (i = 0; i < bd_count; i++) in dump_rxfd()
1117 return bd_count; in dump_rxfd()
1152 int bd_count = dump_rxfd(&lp->rfd_base[i]); in panic_queues() local
1153 i += (bd_count + 1) / 2; /* skip BDs */ in panic_queues()
1502 int bd_count = (fdctl & FD_BDCnt_MASK) >> FD_BDCnt_SHIFT; in tc35815_rx() local
1519 BUG_ON(bd_count > 1); in tc35815_rx()
1573 if (bd_count > 0) { in tc35815_rx()
[all …]