Home
last modified time | relevance | path

Searched refs:index (Results 101 – 125 of 9572) sorted by relevance

12345678910>>...383

/openbmc/linux/drivers/vfio/platform/
H A Dvfio_platform_irq.c42 unsigned index, unsigned start, in vfio_platform_set_irq_mask() argument
59 &vdev->irqs[index].mask, fd); in vfio_platform_set_irq_mask()
66 vfio_platform_mask(&vdev->irqs[index]); in vfio_platform_set_irq_mask()
72 vfio_platform_mask(&vdev->irqs[index]); in vfio_platform_set_irq_mask()
102 unsigned index, unsigned start, in vfio_platform_set_irq_unmask() argument
119 &vdev->irqs[index].unmask, in vfio_platform_set_irq_unmask()
127 vfio_platform_unmask(&vdev->irqs[index]); in vfio_platform_set_irq_unmask()
133 vfio_platform_unmask(&vdev->irqs[index]); in vfio_platform_set_irq_unmask()
216 unsigned index, unsigned start, in vfio_platform_set_irq_trigger() argument
266 if (IS_ERR(vdev->irqs[index].name)) in vfio_platform_set_irqs_ioctl()
[all …]
/openbmc/linux/drivers/net/ethernet/realtek/
H A Dr8169_firmware.c91 size_t index; in rtl_fw_data_ok() local
93 for (index = 0; index < pa->size; index++) { in rtl_fw_data_ok()
114 if (regno > index) in rtl_fw_data_ok()
118 if (index + 2 >= pa->size) in rtl_fw_data_ok()
146 size_t index; in rtl_fw_write_firmware() local
148 for (index = 0; index < pa->size; index++) { in rtl_fw_write_firmware()
169 index -= (regno + 1); in rtl_fw_write_firmware()
189 index++; in rtl_fw_write_firmware()
193 index += regno; in rtl_fw_write_firmware()
197 index += regno; in rtl_fw_write_firmware()
[all …]
/openbmc/linux/drivers/staging/rtl8712/
H A Dusb_ops.c30 u16 index; in usb_read8() local
38 index = 0; in usb_read8()
53 u16 index; in usb_read16() local
61 index = 0; in usb_read16()
76 u16 index; in usb_read32() local
84 index = 0; in usb_read32()
99 u16 index; in usb_write8() local
106 index = 0; in usb_write8()
119 u16 index; in usb_write16() local
126 index = 0; in usb_write16()
[all …]
/openbmc/u-boot/drivers/core/
H A Dfdtaddr.c19 fdt_addr_t devfdt_get_addr_index(struct udevice *dev, int index) in devfdt_get_addr_index() argument
44 if (!reg || (len <= (index * sizeof(fdt32_t) * (na + ns)))) { in devfdt_get_addr_index()
49 reg += index * (na + ns); in devfdt_get_addr_index()
69 "reg", index, NULL, false); in devfdt_get_addr_index()
101 "reg", index, size, false); in devfdt_get_addr_size_index()
107 return devfdt_get_addr_index(dev, index); in devfdt_get_addr_size_index()
116 int index; in devfdt_get_addr_name() local
120 if (index < 0) in devfdt_get_addr_name()
121 return index; in devfdt_get_addr_name()
123 return devfdt_get_addr_index(dev, index); in devfdt_get_addr_name()
[all …]
/openbmc/linux/drivers/watchdog/
H A Dcpwd.c208 (index == -1) ? in cpwd_toggleintr()
210 (p->devs[index].intr_mask); in cpwd_toggleintr()
298 cpwd_writew(p->devs[index].timeout, p->devs[index].regs + WD_LIMIT); in cpwd_starttimer()
433 cpwd_pingtimer(p, index); in cpwd_ioctl()
443 cpwd_stoptimer(p, index); in cpwd_ioctl()
445 cpwd_starttimer(p, index); in cpwd_ioctl()
453 setopt = cpwd_getstatus(p, index); in cpwd_ioctl()
459 cpwd_starttimer(p, index); in cpwd_ioctl()
466 cpwd_stoptimer(p, index); in cpwd_ioctl()
486 int index = iminor(inode); in cpwd_write() local
[all …]
/openbmc/qemu/hw/nvram/
H A Dxlnx-efuse-crc.c108 unsigned index; in xlnx_efuse_calc_crc() local
110 for (index = zpads; index; index--) { in xlnx_efuse_calc_crc()
111 crc = xlnx_efuse_u37_crc(crc, 0, (index + u32_cnt)); in xlnx_efuse_calc_crc()
114 for (index = u32_cnt; index; index--) { in xlnx_efuse_calc_crc()
115 crc = xlnx_efuse_u37_crc(crc, data[index - 1], index); in xlnx_efuse_calc_crc()
/openbmc/phosphor-host-ipmid/
H A Dipmisensor.cpp251 lookup_t* pTable = &g_ipmidbuslookup[index]; in reportSensorEventAssert()
256 lookup_t* pTable = &g_ipmidbuslookup[index]; in reportSensorEventDeassert()
271 *index = i; in findindex()
284 if (findindex(sensorType, offset, index)) in shouldReport()
305 int index; in updateSensorRecordFromSSRAESC() local
314 shouldReport(stype, 0x00, &index); in updateSensorRecordFromSSRAESC()
315 reportSensorEventAssert(pRec, index); in updateSensorRecordFromSSRAESC()
324 (shouldReport(stype, i, &index))) in updateSensorRecordFromSSRAESC()
326 reportSensorEventAssert(pRec, index); in updateSensorRecordFromSSRAESC()
329 (shouldReport(stype, i + 8, &index))) in updateSensorRecordFromSSRAESC()
[all …]
/openbmc/linux/tools/testing/radix-tree/
H A Dbenchmark.c56 unsigned long index; in benchmark_insert() local
61 for (index = 0 ; index < size ; index += step) in benchmark_insert()
62 item_insert(root, index); in benchmark_insert()
77 unsigned long index; in benchmark_tagging() local
82 for (index = 0 ; index < size ; index += step) in benchmark_tagging()
83 radix_tree_tag_set(root, index, 0); in benchmark_tagging()
98 unsigned long index; in benchmark_delete() local
103 for (index = 0 ; index < size ; index += step) in benchmark_delete()
104 item_delete(root, index); in benchmark_delete()
H A Dmultiorder.c18 XA_STATE_ORDER(xas, xa, index, order); in item_insert_order()
19 struct item *item = item_create(index, order); in item_insert_order()
53 if (j <= (index[i] | ((1 << order[i]) - 1))) in multiorder_iteration()
65 assert((item->index | mask) == (index[i] | mask)); in multiorder_iteration()
101 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
110 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
129 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
137 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
229 item_insert_order(tree, index, order); in load_creator()
230 item_delete_rcu(tree, index); in load_creator()
[all …]
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dsdrutils.hpp173 void padEntries(size_t index) in padEntries() argument
178 while (entries.size() <= index) in padEntries()
197 padEntries(index); in getName()
198 return entries[index].getName(); in getName()
203 padEntries(index); in updateName()
209 padEntries(index); in updateReading()
237 void padEntries(size_t index) in padEntries() argument
240 if (entries.size() <= index) in padEntries()
242 entries.resize(index + 1); in padEntries()
254 padEntries(index); in getWritePermission()
[all …]
/openbmc/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu2_hw_h264_dec.c310 reg = VDPU_REG_PINIT_RLIST_F9(p_reflist[9].index) | in set_ref()
311 VDPU_REG_PINIT_RLIST_F8(p_reflist[8].index) | in set_ref()
312 VDPU_REG_PINIT_RLIST_F7(p_reflist[7].index) | in set_ref()
313 VDPU_REG_PINIT_RLIST_F6(p_reflist[6].index) | in set_ref()
314 VDPU_REG_PINIT_RLIST_F5(p_reflist[5].index) | in set_ref()
315 VDPU_REG_PINIT_RLIST_F4(p_reflist[4].index); in set_ref()
363 VDPU_REG_BINIT_RLIST_F0(b0_reflist[0].index); in set_ref()
371 VDPU_REG_BINIT_RLIST_F6(b0_reflist[6].index); in set_ref()
385 VDPU_REG_BINIT_RLIST_B0(b1_reflist[0].index); in set_ref()
393 VDPU_REG_BINIT_RLIST_B6(b1_reflist[6].index); in set_ref()
[all …]
/openbmc/linux/net/dccp/ccids/lib/
H A Dtfrc_equation.c615 u16 index; in tfrc_calc_x() local
631 index = 0; in tfrc_calc_x()
633 index = p/TFRC_SMALLEST_P - 1; in tfrc_calc_x()
635 f = tfrc_calc_x_lookup[index][1]; in tfrc_calc_x()
638 index = p/(1000000/TFRC_CALC_X_ARRSIZE) - 1; in tfrc_calc_x()
640 f = tfrc_calc_x_lookup[index][0]; in tfrc_calc_x()
664 int index; in tfrc_calc_x_reverse_lookup() local
680 index = tfrc_binsearch(fvalue, 1); in tfrc_calc_x_reverse_lookup()
681 return (index + 1) * TFRC_CALC_X_SPLIT / TFRC_CALC_X_ARRSIZE; in tfrc_calc_x_reverse_lookup()
685 index = tfrc_binsearch(fvalue, 0); in tfrc_calc_x_reverse_lookup()
[all …]
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-remote.c17 unsigned int index; in legacy_dvb_usb_get_keymap_index() local
21 index = ke->index; in legacy_dvb_usb_get_keymap_index()
27 for (index = 0; index < keymap_size; index++) in legacy_dvb_usb_get_keymap_index()
33 for (index = 0; index < keymap_size; index++) { in legacy_dvb_usb_get_keymap_index()
42 return index; in legacy_dvb_usb_get_keymap_index()
51 unsigned int index; in legacy_dvb_usb_getkeycode() local
54 if (index >= keymap_size) in legacy_dvb_usb_getkeycode()
62 ke->index = index; in legacy_dvb_usb_getkeycode()
74 unsigned int index; in legacy_dvb_usb_setkeycode() local
84 if (index >= keymap_size) in legacy_dvb_usb_setkeycode()
[all …]
H A Daz6027.c368 u16 index; in az6027_streaming_ctrl() local
375 index = 0; in az6027_streaming_ctrl()
416 u16 index; in az6027_ci_read_attribute_mem() local
431 index = 0; in az6027_ci_read_attribute_mem()
458 u16 index; in az6027_ci_write_attribute_mem() local
489 u16 index; in az6027_ci_read_cam_control() local
504 index = 0; in az6027_ci_read_cam_control()
535 u16 index; in az6027_ci_write_cam_control() local
565 u16 index; in CI_CamReady() local
575 index = 0; in CI_CamReady()
[all …]
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-cmd-queue.h142 uint64_t index:13; member
360 ptr += qptr->index; in cvmx_cmd_queue_write()
387 ptr += qptr->index; in cvmx_cmd_queue_write()
458 ptr += qptr->index; in cvmx_cmd_queue_write2()
459 qptr->index += 2; in cvmx_cmd_queue_write2()
496 qptr->index = 0; in cvmx_cmd_queue_write2()
498 qptr->index = 1; in cvmx_cmd_queue_write2()
560 qptr->index += 3; in cvmx_cmd_queue_write3()
601 qptr->index = 0; in cvmx_cmd_queue_write3()
605 qptr->index++; in cvmx_cmd_queue_write3()
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
H A Dsp_local.h64 #define load_sp_array_uint8(array_name, index) \ argument
66 (index) * sizeof(uint8_t))
68 #define load_sp_array_uint16(array_name, index) \ argument
70 (index) * sizeof(uint16_t))
72 #define load_sp_array_uint(array_name, index) \ argument
74 (index) * sizeof(uint32_t))
79 #define store_sp_array_uint8(array_name, index, value) \ argument
81 (index) * sizeof(uint8_t), value)
85 (index) * sizeof(uint16_t), value)
87 #define store_sp_array_uint(array_name, index, value) \ argument
[all …]
/openbmc/linux/fs/nls/
H A Dnls_euc-jp.c287 int index; in sjisibm2euc() local
291 sjisibm2euc_map[index][1])) { in sjisibm2euc()
292 euc[0] = sjisibm2euc_map[index][0]; in sjisibm2euc()
293 euc[1] = sjisibm2euc_map[index][1]; in sjisibm2euc()
297 euc[1] = sjisibm2euc_map[index][0]; in sjisibm2euc()
298 euc[2] = sjisibm2euc_map[index][1]; in sjisibm2euc()
307 int index, min_index, max_index; in euc2sjisibm_jisx0212() local
317 max_index = index - 1; in euc2sjisibm_jisx0212()
319 min_index = index + 1; in euc2sjisibm_jisx0212()
333 int index; in euc2sjisibm_g3upper() local
[all …]
/openbmc/qemu/hw/isa/
H A Dsmc37c669-superio.c17 static uint16_t get_serial_iobase(ISASuperIODevice *sio, uint8_t index) in get_serial_iobase() argument
19 return index ? 0x2f8 : 0x3f8; in get_serial_iobase()
22 static unsigned int get_serial_irq(ISASuperIODevice *sio, uint8_t index) in get_serial_irq() argument
24 return index ? 3 : 4; in get_serial_irq()
29 static uint16_t get_parallel_iobase(ISASuperIODevice *sio, uint8_t index) in get_parallel_iobase() argument
34 static unsigned int get_parallel_irq(ISASuperIODevice *sio, uint8_t index) in get_parallel_irq() argument
39 static unsigned int get_parallel_dma(ISASuperIODevice *sio, uint8_t index) in get_parallel_dma() argument
46 static uint16_t get_fdc_iobase(ISASuperIODevice *sio, uint8_t index) in get_fdc_iobase() argument
51 static unsigned int get_fdc_irq(ISASuperIODevice *sio, uint8_t index) in get_fdc_irq() argument
56 static unsigned int get_fdc_dma(ISASuperIODevice *sio, uint8_t index) in get_fdc_dma() argument
/openbmc/qemu/tests/qtest/
H A Dnpcm7xx_pwm-test.c269 name, index, value); in mft_qom_set()
451 g_assert_cmpint(index, <, in mft_compute_index()
454 return index; in mft_compute_index()
469 int index = mft_compute_index(td); in mft_init() local
472 mft_writeb(qts, index, MFT_CKC, 0); in mft_init()
476 mft_writeb(qts, index, MFT_INASEL, 0); in mft_init()
477 mft_writeb(qts, index, MFT_INBSEL, 0); in mft_init()
483 mft_reset_counters(qts, index); in mft_init()
508 int index = mft_compute_index(td); in mft_verify_rpm() local
524 mft_writeb(qts, index, MFT_CKC, 0); in mft_verify_rpm()
[all …]
/openbmc/linux/drivers/net/wwan/iosm/
H A Diosm_ipc_chnl_cfg.c69 int ipc_chnl_cfg_get(struct ipc_chnl_cfg *chnl_cfg, int index) in ipc_chnl_cfg_get() argument
71 if (index >= ARRAY_SIZE(modem_cfg)) { in ipc_chnl_cfg_get()
72 pr_err("index: %d and array size %zu", index, in ipc_chnl_cfg_get()
77 if (index == IPC_MEM_MUX_IP_CH_IF_ID) in ipc_chnl_cfg_get()
82 chnl_cfg->ul_nr_of_entries = modem_cfg[index].ul_nr_of_entries; in ipc_chnl_cfg_get()
83 chnl_cfg->dl_nr_of_entries = modem_cfg[index].dl_nr_of_entries; in ipc_chnl_cfg_get()
84 chnl_cfg->dl_buf_size = modem_cfg[index].dl_buf_size; in ipc_chnl_cfg_get()
85 chnl_cfg->id = modem_cfg[index].id; in ipc_chnl_cfg_get()
86 chnl_cfg->ul_pipe = modem_cfg[index].ul_pipe; in ipc_chnl_cfg_get()
87 chnl_cfg->dl_pipe = modem_cfg[index].dl_pipe; in ipc_chnl_cfg_get()
[all …]
/openbmc/linux/arch/powerpc/mm/book3s64/
H A Dslb.c68 enum slb_index index) in slb_shadow_update() argument
79 WRITE_ONCE(p->save_area[index].esid, cpu_to_be64(mk_esid_data(ea, ssize, index))); in slb_shadow_update()
84 WRITE_ONCE(get_slb_shadow()->save_area[index].esid, cpu_to_be64(index)); in slb_shadow_clear()
89 enum slb_index index) in create_shadowed_slbe() argument
112 enum slb_index index; in __slb_restore_bolted_realmode() local
115 for (index = 0; index < SLB_NUM_BOLTED; index++) { in __slb_restore_bolted_realmode()
628 enum slb_index index; in alloc_slb_index() local
655 index++; in alloc_slb_index()
659 if (index < 32) { in alloc_slb_index()
668 return index; in alloc_slb_index()
[all …]
/openbmc/qemu/target/riscv/
H A Ddebug.c411 if (env->cpu_breakpoint[index]) { in type2_breakpoint_remove()
416 if (env->cpu_watchpoint[index]) { in type2_breakpoint_remove()
431 env->tdata1[index] = new_val; in type2_reg_write()
437 if (val != env->tdata2[index]) { in type2_reg_write()
438 env->tdata2[index] = val; in type2_reg_write()
536 type2_breakpoint_remove(env, index); in type6_breakpoint_remove()
548 env->tdata1[index] = new_val; in type6_reg_write()
554 if (val != env->tdata2[index]) { in type6_reg_write()
555 env->tdata2[index] = val; in type6_reg_write()
581 env->tdata1[index] = set_field(env->tdata1[index], in itrigger_set_count()
[all …]
/openbmc/linux/fs/ntfs3/
H A Drun.c40 *index = 0; in run_lookup()
50 *index = 0; in run_lookup()
55 *index = 0; in run_lookup()
134 index += 1; in run_consolidate()
219 if (index) in run_lookup_entry()
230 size_t index; in run_truncate_head() local
245 if (!index) in run_truncate_head()
249 memmove(r, r + index, sizeof(*r) * (run->count - index)); in run_truncate_head()
265 size_t index; in run_truncate() local
279 index += 1; in run_truncate()
[all …]
/openbmc/linux/arch/powerpc/include/asm/book3s/64/
H A Dhash-64k.h119 #define HIDX_BITS(x, index) (x << (index << 2)) argument
120 #define BITS_TO_HIDX(x, index) ((x >> (index << 2)) & 0xfUL) argument
125 return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index)); in __rpte_to_hidx()
153 extern bool __rpte_sub_valid(real_pte_t rpte, unsigned long index);
164 for (index = 0; vpn < __end; index++, \
166 if (!__split || __rpte_sub_valid(rpte, index))
229 return hpte_slot_array[index] & 0x1; in hpte_valid()
233 int index) in hpte_hash_index() argument
235 return hpte_slot_array[index] >> 1; in hpte_hash_index()
239 unsigned int index, unsigned int hidx) in mark_hpte_slot_valid() argument
[all …]
/openbmc/phosphor-webui/app/styles/
H A Dindex.scss3 @import "../common/styles/index.scss";
4 @import "../login/styles/index.scss";
5 @import "../overview/styles/index.scss";
6 @import "../server-control/styles/index.scss";
7 @import "../server-health/styles/index.scss";
8 @import "../configuration/styles/index.scss";
9 @import "../access-control/styles/index.scss";
10 @import "../redfish/styles/index.scss";

12345678910>>...383