seg_no 303 drivers/scsi/bfa/bfa.h void bfa_iocfc_set_snsbase(struct bfa_s *bfa, int seg_no, u64 snsbase_pa); seg_no 1656 drivers/scsi/bfa/bfa_core.c bfa_iocfc_set_snsbase(struct bfa_s *bfa, int seg_no, u64 snsbase_pa) seg_no 1661 drivers/scsi/bfa/bfa_core.c bfa_dma_be_addr_set(iocfc->cfginfo->ioim_snsbase[seg_no], snsbase_pa); seg_no 2099 drivers/staging/rts5208/ms.c int size, i, seg_no, retval; seg_no 2132 drivers/staging/rts5208/ms.c seg_no = defect_block / 512; seg_no 2134 drivers/staging/rts5208/ms.c block_no = ms_card->segment[seg_no].disable_count++; seg_no 2135 drivers/staging/rts5208/ms.c ms_card->segment[seg_no].defect_list[block_no] = defect_block; seg_no 2159 drivers/staging/rts5208/ms.c static u16 ms_get_l2p_tbl(struct rtsx_chip *chip, int seg_no, u16 log_off) seg_no 2167 drivers/staging/rts5208/ms.c segment = &ms_card->segment[seg_no]; seg_no 2176 drivers/staging/rts5208/ms.c int seg_no, u16 log_off, u16 phy_blk) seg_no 2184 drivers/staging/rts5208/ms.c segment = &ms_card->segment[seg_no]; seg_no 2193 drivers/staging/rts5208/ms.c int seg_no; seg_no 2195 drivers/staging/rts5208/ms.c seg_no = (int)phy_blk >> 9; seg_no 2196 drivers/staging/rts5208/ms.c segment = &ms_card->segment[seg_no]; seg_no 2205 drivers/staging/rts5208/ms.c static u16 ms_get_unused_block(struct rtsx_chip *chip, int seg_no) seg_no 2211 drivers/staging/rts5208/ms.c segment = &ms_card->segment[seg_no]; seg_no 2236 drivers/staging/rts5208/ms.c int seg_no; seg_no 2239 drivers/staging/rts5208/ms.c seg_no = (int)phy_blk >> 9; seg_no 2240 drivers/staging/rts5208/ms.c segment = &ms_card->segment[seg_no]; seg_no 2274 drivers/staging/rts5208/ms.c static int ms_build_l2p_tbl(struct rtsx_chip *chip, int seg_no) seg_no 2283 drivers/staging/rts5208/ms.c dev_dbg(rtsx_dev(chip), "%s: %d\n", __func__, seg_no); seg_no 2291 drivers/staging/rts5208/ms.c if (ms_card->segment[seg_no].build_flag) { seg_no 2293 drivers/staging/rts5208/ms.c seg_no); seg_no 2297 drivers/staging/rts5208/ms.c if (seg_no == 0) seg_no 2302 drivers/staging/rts5208/ms.c segment = &ms_card->segment[seg_no]; seg_no 2318 drivers/staging/rts5208/ms.c start = (u16)seg_no << 9; seg_no 2319 drivers/staging/rts5208/ms.c end = (u16)(seg_no + 1) << 9; seg_no 2350 drivers/staging/rts5208/ms.c if (seg_no == ms_card->segment_cnt - 1) { seg_no 2381 drivers/staging/rts5208/ms.c if ((log_blk < ms_start_idx[seg_no]) || seg_no 2382 drivers/staging/rts5208/ms.c (log_blk >= ms_start_idx[seg_no + 1])) { seg_no 2392 drivers/staging/rts5208/ms.c idx = log_blk - ms_start_idx[seg_no]; seg_no 2408 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no], us1, us2); seg_no 2418 drivers/staging/rts5208/ms.c if (seg_no == ms_card->segment_cnt - 1) { seg_no 2429 drivers/staging/rts5208/ms.c for (log_blk = ms_start_idx[seg_no]; seg_no 2430 drivers/staging/rts5208/ms.c log_blk < ms_start_idx[seg_no + 1]; log_blk++) { seg_no 2431 drivers/staging/rts5208/ms.c idx = log_blk - ms_start_idx[seg_no]; seg_no 2433 drivers/staging/rts5208/ms.c phy_blk = ms_get_unused_block(chip, seg_no); seg_no 2443 drivers/staging/rts5208/ms.c if (seg_no == ms_card->segment_cnt - 1) { seg_no 2458 drivers/staging/rts5208/ms.c if (seg_no == 0) { seg_no 2498 drivers/staging/rts5208/ms.c int seg_no = ms_card->total_block / 512 - 1; seg_no 2532 drivers/staging/rts5208/ms.c retval = ms_build_l2p_tbl(chip, seg_no); seg_no 3319 drivers/staging/rts5208/ms.c int retval, seg_no; seg_no 3326 drivers/staging/rts5208/ms.c seg_no = old_blk >> 9; seg_no 3337 drivers/staging/rts5208/ms.c ms_set_l2p_tbl(chip, seg_no, log_blk - ms_start_idx[seg_no], new_blk); seg_no 3397 drivers/staging/rts5208/ms.c int retval, seg_no; seg_no 3421 drivers/staging/rts5208/ms.c for (seg_no = 0; seg_no < ARRAY_SIZE(ms_start_idx) - 1; seg_no++) { seg_no 3422 drivers/staging/rts5208/ms.c if (log_blk < ms_start_idx[seg_no + 1]) seg_no 3426 drivers/staging/rts5208/ms.c if (ms_card->segment[seg_no].build_flag == 0) { seg_no 3427 drivers/staging/rts5208/ms.c retval = ms_build_l2p_tbl(chip, seg_no); seg_no 3468 drivers/staging/rts5208/ms.c (chip, seg_no, seg_no 3469 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no]); seg_no 3470 drivers/staging/rts5208/ms.c new_blk = ms_get_unused_block(chip, seg_no); seg_no 3508 drivers/staging/rts5208/ms.c old_blk = ms_get_l2p_tbl(chip, seg_no, seg_no 3509 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no]); seg_no 3518 drivers/staging/rts5208/ms.c seg_no, old_blk, new_blk); seg_no 3560 drivers/staging/rts5208/ms.c ms_set_l2p_tbl(chip, seg_no, seg_no 3561 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no], seg_no 3575 drivers/staging/rts5208/ms.c for (seg_no = 0; seg_no < ARRAY_SIZE(ms_start_idx) - 1; seg_no 3576 drivers/staging/rts5208/ms.c seg_no++) { seg_no 3577 drivers/staging/rts5208/ms.c if (log_blk < ms_start_idx[seg_no + 1]) seg_no 3581 drivers/staging/rts5208/ms.c if (ms_card->segment[seg_no].build_flag == 0) { seg_no 3582 drivers/staging/rts5208/ms.c retval = ms_build_l2p_tbl(chip, seg_no); seg_no 3591 drivers/staging/rts5208/ms.c old_blk = ms_get_l2p_tbl(chip, seg_no, seg_no 3592 drivers/staging/rts5208/ms.c log_blk - ms_start_idx[seg_no]); seg_no 3599 drivers/staging/rts5208/ms.c new_blk = ms_get_unused_block(chip, seg_no); seg_no 3607 drivers/staging/rts5208/ms.c seg_no, old_blk, new_blk); seg_no 230 drivers/staging/rts5208/rtsx_chip.h unsigned char seg_no; /* segment No. */