Home
last modified time | relevance | path

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

12

/openbmc/phosphor-dbus-monitor/src/
H A Dpdmgen.py52 def get_index(objs, cls, name, config=None): function
73 get_index(objs, cls, name, config)
298 self.path = get_index(objs, "pathname", self.name["path"])
299 self.meta = get_index(objs, "meta", self.name["meta"])
343 self.interface = get_index(objs, "interface", self.name["interface"])
344 self.prop = get_index(objs, "propertyname", self.name["property"])
345 self.meta = get_index(objs, "meta", self.name["meta"])
359 self.interface = get_index(
362 self.prop = get_index(
365 self.propmeta = get_index(objs, "meta", self.name["property"]["meta"])
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Dpfpgen.py54 def get_index(objs, cls, name): function
72 get_index(objs, cls, name)
135 self.policy = get_index(objs, "policy", self.policy)
186 sensors.append(get_index(objs, "sensor", s))
189 self.fan = get_index(objs, "fan", self.fan)
/openbmc/linux/fs/quota/
H A Dquota_tree.c42 static int get_index(struct qtree_mem_dqinfo *info, struct kqid qid, int depth) in get_index() function
370 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in do_insert_tree()
383 get_index(info, dquot->dq_id, depth)); in do_insert_tree()
394 le32_to_cpu(ref[get_index(info, in do_insert_tree()
405 ref[get_index(info, dquot->dq_id, depth)] = in do_insert_tree()
561 newblk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in remove_tree()
572 get_index(info, dquot->dq_id, depth)); in remove_tree()
584 ref[get_index(info, dquot->dq_id, depth)] = cpu_to_le32(0); in remove_tree()
678 blk = le32_to_cpu(ref[get_index(info, dquot->dq_id, depth)]); in find_tree_dqentry()
692 get_index(info, dquot->dq_id, depth)); in find_tree_dqentry()
/openbmc/google-misc/subprojects/ncsid/src/
H A Dnet_iface.cpp39 int IFaceBase::get_index() const in get_index() function in net::IFaceBase
110 saddr.sll_ifindex = get_index(); in bind_sock()
H A Dnet_iface.h37 int get_index() const;
H A Dncsi_sockio.cpp43 RETURN_IF_ERROR(mreq.mr_ifindex = iface.get_index(), in bind_to_iface()
/openbmc/linux/drivers/accessibility/speakup/
H A Dspeakup_dectlk.c35 static unsigned char get_index(struct spk_synth *synth);
149 .get_index = get_index,
173 static unsigned char get_index(struct spk_synth *synth) in get_index() function
H A Dspeakup_soft.c30 static unsigned char get_index(struct spk_synth *synth);
150 .get_index = get_index,
367 static unsigned char get_index(struct spk_synth *synth) in get_index() function
H A Dsynth.c278 synth->get_index(synth); in spk_reset_index_count()
285 if (synth->get_index) in synth_supports_indexing()
311 int ind = synth->get_index(synth); in spk_get_index_count()
H A Dspeakup_bns.c109 .get_index = NULL,
H A Dspeakup_txprt.c114 .get_index = NULL,
H A Dspeakup_spkout.c116 .get_index = spk_synth_get_index,
H A Dspeakup_acntsa.c113 .get_index = NULL,
H A Dspeakup_dummy.c129 .get_index = NULL,
H A Dspeakup_audptr.c116 .get_index = NULL,
H A Dspk_types.h200 unsigned char (*get_index)(struct spk_synth *synth); member
H A Dspeakup_ltlk.c125 .get_index = spk_synth_get_index,
/openbmc/qemu/pc-bios/s390-ccw/
H A Dmenu.c120 static int get_index(void) in get_index() function
169 boot_index = get_index(); in get_boot_index()
/openbmc/google-misc/subprojects/ncsid/test/
H A Diface_test.cpp29 EXPECT_EQ(test_index, iface_mock.get_index()); in TEST()
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Ddat.h27 int (*get_index)(struct i3c_hci *hci, u8 address); member
H A Ddat_v1.c190 .get_index = hci_dat_v1_get_index,
/openbmc/linux/net/ipv4/
H A Dfib_trie.c220 static inline unsigned long get_index(t_key key, struct key_vector *kv) in get_index() function
474 put_child(tp, get_index(key, tp), n); in put_child_root()
568 put_child(tn, get_index(inode->key, tn), inode); in inflate()
853 unsigned long cindex = get_index(tn->key, tp); in resize()
1119 n = get_child(tp, get_index(key, tp)); in fib_insert_node()
1136 put_child(tn, get_index(key, tn) ^ 1, n); in fib_insert_node()
1557 cindex = get_index(pkey, pn); in fib_table_lookup()
1794 cindex = (key > pn->key) ? get_index(key, pn) : 0; in leaf_walk_rcu()
1816 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu()
1867 cindex = get_index(pkey, pn); in fib_trie_free()
[all …]
/openbmc/linux/drivers/staging/rts5208/
H A Dxd.c801 xd_card->zone[i].get_index = 0; in xd_init_l2p_tbl()
816 zone->get_index = 0; in free_zone()
873 zone->set_index == zone->get_index) { in xd_get_unused_block()
878 if (zone->get_index >= XD_FREE_TABLE_CNT || zone->get_index < 0) { in xd_get_unused_block()
885 zone->get_index); in xd_get_unused_block()
887 phy_blk = zone->free_table[zone->get_index]; in xd_get_unused_block()
888 zone->free_table[zone->get_index++] = 0xFFFF; in xd_get_unused_block()
889 if (zone->get_index >= XD_FREE_TABLE_CNT) in xd_get_unused_block()
890 zone->get_index = 0; in xd_get_unused_block()
1348 zone->get_index = 0; in xd_build_l2p_tbl()
/openbmc/linux/drivers/scsi/isci/
H A Dhost.c182 u32 get_index = get_value & SMU_COMPLETION_QUEUE_GET_POINTER_MASK; in sci_controller_completion_queue_has_entries() local
185 COMPLETION_QUEUE_CYCLE_BIT(ihost->completion_queue[get_index])) in sci_controller_completion_queue_has_entries()
487 u32 get_index; in sci_controller_process_completions() local
498 get_index = NORMALIZE_GET_POINTER(ihost->completion_queue_get); in sci_controller_process_completions()
506 == COMPLETION_QUEUE_CYCLE_BIT(ihost->completion_queue[get_index]) in sci_controller_process_completions()
510 ent = ihost->completion_queue[get_index]; in sci_controller_process_completions()
513 get_cycle ^= ((get_index+1) & SCU_MAX_COMPLETION_QUEUE_ENTRIES) << in sci_controller_process_completions()
515 get_index = (get_index+1) & (SCU_MAX_COMPLETION_QUEUE_ENTRIES-1); in sci_controller_process_completions()
565 SMU_CQGR_GEN_VAL(POINTER, get_index); in sci_controller_process_completions()
/openbmc/linux/sound/synth/emux/
H A Dsoundfont.c58 static int get_index(int bank, int instr, int key);
1197 index = get_index(cur->bank, cur->instr, cur->v.low); in add_preset()
1214 index = get_index(zp->bank, zp->instr, zp->v.low); in delete_preset()
1275 index = get_index(bank, preset, key); in search_first_zone()
1335 get_index(int bank, int instr, int key) in get_index() function

12