Home
last modified time | relevance | path

Searched refs:get_index (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v4.19/drivers/staging/speakup/
Dspeakup_dectlk.c35 static unsigned char get_index(struct spk_synth *synth);
133 .get_index = get_index,
157 static unsigned char get_index(struct spk_synth *synth) in get_index() function
Dspeakup_soft.c29 static unsigned char get_index(struct spk_synth *synth);
134 .get_index = get_index,
338 static unsigned char get_index(struct spk_synth *synth) in get_index() function
Dsynth.c276 synth->get_index(synth); in spk_reset_index_count()
283 if (synth->get_index) in synth_supports_indexing()
309 int ind = synth->get_index(synth); in spk_get_index_count()
Dspeakup_dummy.c103 .get_index = NULL,
Dspeakup_bns.c100 .get_index = NULL,
Dspeakup_txprt.c99 .get_index = NULL,
Dspeakup_acntsa.c103 .get_index = NULL,
Dspeakup_spkout.c105 .get_index = spk_synth_get_index,
Dspeakup_audptr.c107 .get_index = NULL,
Dspeakup_ltlk.c114 .get_index = spk_synth_get_index,
Dspk_types.h193 unsigned char (*get_index)(struct spk_synth *synth); member
Dspeakup_apollo.c112 .get_index = NULL,
Dspeakup_decext.c127 .get_index = NULL,
Dspeakup_keypc.c108 .get_index = NULL,
Dspeakup_acntpc.c117 .get_index = NULL,
Dspeakup_decpc.c221 .get_index = NULL,
Dspeakup_dtlk.c132 .get_index = spk_synth_get_index,
/Linux-v4.19/fs/quota/
Dquota_tree.c35 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() function
323 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
331 le32_to_cpu(ref[get_index(info, in do_insert_tree()
342 ref[get_index(info, dquot->dq_id, depth)] = in do_insert_tree()
489 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree()
498 ref[get_index(info, dquot->dq_id, depth)] = cpu_to_le32(0); in remove_tree()
586 blk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in find_tree_dqentry()
/Linux-v4.19/net/ipv4/
Dfib_trie.c230 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() function
480 put_child(tp, get_index(key, tp), n); in put_child_root()
574 put_child(tn, get_index(inode->key, tn), inode); in inflate()
859 unsigned long cindex = get_index(tn->key, tp); in resize()
1028 n = get_child(tp, get_index(key, tp)); in fib_insert_node()
1045 put_child(tn, get_index(key, tn) ^ 1, n); in fib_insert_node()
1429 cindex = get_index(pkey, pn); in fib_table_lookup()
1625 cindex = (key > pn->key) ? get_index(key, pn) : 0; in leaf_walk_rcu()
1647 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu()
1698 cindex = get_index(pkey, pn); in fib_trie_free()
[all …]
/Linux-v4.19/drivers/staging/rts5208/
Dxd.c860 xd_card->zone[i].get_index = 0; in xd_init_l2p_tbl()
875 zone->get_index = 0; in free_zone()
932 (zone->set_index == zone->get_index)) { in xd_get_unused_block()
937 if ((zone->get_index >= XD_FREE_TABLE_CNT) || (zone->get_index < 0)) { in xd_get_unused_block()
944 zone->get_index); in xd_get_unused_block()
946 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
947 zone->free_table[zone->get_index++] = 0xFFFF; in xd_get_unused_block()
948 if (zone->get_index >= XD_FREE_TABLE_CNT) in xd_get_unused_block()
949 zone->get_index = 0; in xd_get_unused_block()
1421 zone->get_index = 0; in xd_build_l2p_tbl()
Dms.c2261 ms_card->segment[i].get_index = 0;
2335 phy_blk = segment->free_table[segment->get_index];
2336 segment->free_table[segment->get_index++] = 0xFFFF;
2337 if (segment->get_index >= MS_FREE_TABLE_CNT)
2338 segment->get_index = 0;
2445 segment->get_index = 0;
/Linux-v4.19/drivers/scsi/isci/
Dhost.c184 u32 get_index = get_value & SMU_COMPLETION_QUEUE_GET_POINTER_MASK; in sci_controller_completion_queue_has_entries() local
187 COMPLETION_QUEUE_CYCLE_BIT(ihost->completion_queue[get_index])) in sci_controller_completion_queue_has_entries()
489 u32 get_index; in sci_controller_process_completions() local
500 get_index = NORMALIZE_GET_POINTER(ihost->completion_queue_get); in sci_controller_process_completions()
508 == COMPLETION_QUEUE_CYCLE_BIT(ihost->completion_queue[get_index]) in sci_controller_process_completions()
512 ent = ihost->completion_queue[get_index]; in sci_controller_process_completions()
515 get_cycle ^= ((get_index+1) & SCU_MAX_COMPLETION_QUEUE_ENTRIES) << in sci_controller_process_completions()
517 get_index = (get_index+1) & (SCU_MAX_COMPLETION_QUEUE_ENTRIES-1); in sci_controller_process_completions()
567 SMU_CQGR_GEN_VAL(POINTER, get_index); in sci_controller_process_completions()
/Linux-v4.19/sound/synth/emux/
Dsoundfont.c71 static int get_index(int bank, int instr, int key);
1195 if ((index = get_index(cur->bank, cur->instr, cur->v.low)) < 0) in add_preset()
1211 if ((index = get_index(zp->bank, zp->instr, zp->v.low)) < 0) in delete_preset()
1271 if ((index = get_index(bank, preset, key)) < 0) in search_first_zone()
1330 get_index(int bank, int instr, int key) in get_index() function
/Linux-v4.19/drivers/md/
Ddm-cache-policy-smq.c773 static unsigned get_index(struct entry_alloc *ea, struct entry *e) in get_index() function
988 return to_cblock(get_index(&mq->cache_alloc, e)); in infer_cblock()
1308 hi = get_index(&mq->hotspot_alloc, e); in update_hotspot_queue()
1322 hi = get_index(&mq->hotspot_alloc, e); in update_hotspot_queue()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dev.c488 static int get_index(struct video_device *vdev) in get_index() function
955 vdev->index = get_index(vdev); in __video_register_device()

12