| /OK3568_Linux_fs/kernel/drivers/cpuidle/governors/ |
| H A D | ladder.c | 71 int last_idx = dev->last_state_idx; in ladder_select_state() local 78 ladder_do_selection(dev, ldev, last_idx, 0); in ladder_select_state() 82 last_state = &ldev->states[last_idx]; in ladder_select_state() 84 last_residency = dev->last_residency_ns - drv->states[last_idx].exit_latency_ns; in ladder_select_state() 87 if (last_idx < drv->state_count - 1 && in ladder_select_state() 88 !dev->states_usage[last_idx + 1].disable && in ladder_select_state() 90 drv->states[last_idx + 1].exit_latency_ns <= latency_req) { in ladder_select_state() 94 ladder_do_selection(dev, ldev, last_idx, last_idx + 1); in ladder_select_state() 95 return last_idx + 1; in ladder_select_state() 100 if (last_idx > first_idx && in ladder_select_state() [all …]
|
| H A D | menu.c | 448 int last_idx = dev->last_state_idx; in menu_update() local 449 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update() 479 } else if ((drv->states[last_idx].flags & CPUIDLE_FLAG_POLLING) && in menu_update()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/ |
| H A D | dtl.c | 25 u64 last_idx; member 202 dtl->last_idx = 0; in dtl_enable() 255 u64 cur_idx, last_idx, i; in dtl_file_read() local 271 last_idx = dtl->last_idx; in dtl_file_read() 273 if (last_idx + dtl->buf_entries <= cur_idx) in dtl_file_read() 274 last_idx = cur_idx - dtl->buf_entries + 1; in dtl_file_read() 276 if (last_idx + n_req > cur_idx) in dtl_file_read() 277 n_req = cur_idx - last_idx; in dtl_file_read() 280 dtl->last_idx = last_idx + n_req; in dtl_file_read() 287 i = last_idx % dtl->buf_entries; in dtl_file_read()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 3945-rs.c | 431 int scale_rate_idx, first_idx, last_idx; in il3945_rs_tx_status() local 464 last_idx = first_idx; in il3945_rs_tx_status() 479 last_idx = scale_rate_idx; in il3945_rs_tx_status() 482 last_idx = il3945_rs_next_rate(il, scale_rate_idx); in il3945_rs_tx_status() 494 scale_rate_idx = last_idx; in il3945_rs_tx_status() 498 D_RATE("Update rate %d with %s.\n", last_idx, in il3945_rs_tx_status() 500 il3945_collect_tx_data(rs_sta, &rs_sta->win[last_idx], in il3945_rs_tx_status() 502 last_idx); in il3945_rs_tx_status()
|
| /OK3568_Linux_fs/u-boot/drivers/phy/marvell/ |
| H A D | comphy_core.c | 112 int last_idx = 0; in comphy_probe() local 190 last_idx = 1; in comphy_probe() 192 if (chip_cfg->cp_index == last_idx) { in comphy_probe()
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | retimer.c | 410 int ret, i, last_idx = 0; in tb_retimer_scan() local 439 last_idx = i; in tb_retimer_scan() 444 if (!last_idx) in tb_retimer_scan() 448 for (i = 1; i <= last_idx; i++) { in tb_retimer_scan()
|
| /OK3568_Linux_fs/kernel/drivers/md/bcache/ |
| H A D | journal.c | 279 ja->last_idx = ja->discard_idx = (i + 1) % in bch_journal_read() 598 ja->discard_idx = ja->last_idx; in do_journal_discard() 614 if (ja->discard_idx == ja->last_idx) in do_journal_discard() 669 while (ja->last_idx != ja->cur_idx && in journal_reclaim() 670 ja->seq[ja->last_idx] < last_seq) in journal_reclaim() 671 ja->last_idx = (ja->last_idx + 1) % in journal_reclaim()
|
| H A D | journal.h | 140 unsigned int last_idx; member
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/ |
| H A D | font.h | 51 size_t *width, size_t *height, size_t *last_idx);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/ |
| H A D | font.h | 51 size_t *width, size_t *height, size_t *last_idx);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/ |
| H A D | font.h | 51 size_t *width, size_t *height, size_t *last_idx);
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/ |
| H A D | font.h | 51 size_t *width, size_t *height, size_t *last_idx);
|
| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | ite-cir.c | 382 int remaining_us, fifo_avail, fifo_remaining, last_idx = 0; in ite_tx_ir() local 441 last_sent[last_idx++] = val; in ite_tx_ir() 442 last_idx &= (ITE_TX_FIFO_LEN); in ite_tx_ir() 494 last_idx--; in ite_tx_ir() 495 last_idx &= (ITE_TX_FIFO_LEN - 1); in ite_tx_ir() 496 remaining_us += last_sent[last_idx]; in ite_tx_ir()
|
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | util.c | 122 ids->last_idx = -1; in ipc_init_ids() 238 if (idx <= ids->last_idx) { in ipc_idr_alloc() 243 ids->last_idx = idx; in ipc_idr_alloc()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | ipc_namespace.h | 22 int last_idx; /* For wrap around detection */ member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/ |
| H A D | os-area.c | 398 struct db_index *last_idx; member 426 i->last_idx = i->idx + db->count_64; in db_for_each_64() 434 if (i->idx >= i->last_idx) { in db_for_each_64()
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | fib_semantics.c | 548 struct fib_info **last_resort, int *last_idx, in fib_detect_death() argument 574 (*last_idx < 0 && order > dflt && state != NUD_INCOMPLETE)) { in fib_detect_death() 576 *last_idx = order; in fib_detect_death() 2065 int order = -1, last_idx = -1; in fib_select_default() local 2106 &last_idx, fa1->fa_default)) { in fib_select_default() 2121 if (!fib_detect_death(fi, order, &last_resort, &last_idx, in fib_select_default() 2128 if (last_idx >= 0) in fib_select_default() 2130 fa1->fa_default = last_idx; in fib_select_default()
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | file.c | 3554 pgoff_t page_idx = 0, last_idx; in f2fs_release_compress_blocks() local 3602 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_release_compress_blocks() 3604 while (page_idx < last_idx) { in f2fs_release_compress_blocks() 3621 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_release_compress_blocks() 3723 pgoff_t page_idx = 0, last_idx; in f2fs_reserve_compress_blocks() local 3755 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_reserve_compress_blocks() 3757 while (page_idx < last_idx) { in f2fs_reserve_compress_blocks() 3774 count = min(end_offset - dn.ofs_in_node, last_idx - page_idx); in f2fs_reserve_compress_blocks() 4120 pgoff_t page_idx = 0, last_idx; in f2fs_ioc_decompress_file() local 4157 last_idx = DIV_ROUND_UP(i_size_read(inode), PAGE_SIZE); in f2fs_ioc_decompress_file() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/cxgb4/ |
| H A D | restrack.c | 121 u16 last_idx, struct t4_swsqe *last_sqe) in fill_swsqes() argument 129 if (fill_swsqe(msg, sq, last_idx, last_sqe)) in fill_swsqes()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | hashtable.c | 201 int hmatch_r(const char *match, int last_idx, ENTRY ** retval, in hmatch_r() argument 207 for (idx = last_idx + 1; idx < htab->size; ++idx) { in hmatch_r()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | utils.c | 278 u8 iwl_mvm_next_antenna(struct iwl_mvm *mvm, u8 valid, u8 last_idx) in iwl_mvm_next_antenna() argument 280 u8 ind = last_idx; in iwl_mvm_next_antenna() 290 return last_idx; in iwl_mvm_next_antenna()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_ll2.c | 1317 u8 *start_idx, u8 *last_idx) in _qed_ll2_calc_allowed_conns() argument 1324 *last_idx = *start_idx + in _qed_ll2_calc_allowed_conns() 1329 *last_idx = *start_idx + in _qed_ll2_calc_allowed_conns() 1354 u8 i, first_idx, last_idx, *p_tx_max; in qed_ll2_acquire_connection() local 1360 _qed_ll2_calc_allowed_conns(p_hwfn, data, &first_idx, &last_idx); in qed_ll2_acquire_connection() 1363 for (i = first_idx; i < last_idx; i++) { in qed_ll2_acquire_connection()
|
| /OK3568_Linux_fs/kernel/include/pcmcia/ |
| H A D | cistpl.h | 383 u_char last_idx; member
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | binfmt_elf.c | 401 int i, first_idx = -1, last_idx = -1; in total_mapping_size() local 405 last_idx = i; in total_mapping_size() 413 return cmds[last_idx].p_vaddr + cmds[last_idx].p_memsz - in total_mapping_size()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7603/ |
| H A D | mac.c | 1065 int first_idx = 0, last_idx; in mt7603_fill_txs() local 1086 last_idx = FIELD_GET(MT_TXS4_LAST_TX_RATE, txs); in mt7603_fill_txs() 1108 first_idx = max_t(int, 0, last_idx - (count - 1) / MT7603_RATE_RETRY); in mt7603_fill_txs() 1137 for (i = 0, idx = first_idx; count && idx <= last_idx; idx++) { in mt7603_fill_txs()
|