/openbmc/u-boot/board/synopsys/hsdk/ |
H A D | env-lib.c | 13 map[index].val->val = 0; in env_clear_common() 14 map[index].val->set = false; in env_clear_common() 22 if (map[index].type == ENV_HEX) { in env_read_common() 30 map[index].val->val = val; in env_read_common() 31 map[index].val->set = true; in env_read_common() 40 (*map[index].val)[i].val = 0; in env_clear_core() 73 u32 min = map[index].min; in env_validate_common() 74 u32 max = map[index].max; in env_validate_common() 79 map[index].env_name); in env_validate_common() 119 min = map[index].min[i]; in env_validate_core() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/layerindexlib/ |
H A D | cooker.py | 82 index.branches = {} 85 index.layerItems = {} 88 index.layerBranches = {} 94 return index 104 index.branches[branchId] = layerindexlib.Branch(index, None) 138 index.layerItems[layerItemId] = layerindexlib.LayerItem(index, None) 143 index.layerBranches[layerBranchId] = layerindexlib.LayerBranch(index, None) 147 return index 180 index.config = {} 284 index = addElement("recipes", [recipe], index) [all …]
|
/openbmc/linux/arch/powerpc/xmon/ |
H A D | spu-dis.c | 46 const struct spu_opcode *index; in get_index_for_opcode() local 56 return index; in get_index_for_opcode() 59 && (index->insn_type == RI18 || index->insn_type == LBT)) in get_index_for_opcode() 60 return index; in get_index_for_opcode() 64 return index; in get_index_for_opcode() 68 return index; in get_index_for_opcode() 72 return index; in get_index_for_opcode() 75 return index; in get_index_for_opcode() 92 if (index == 0) in print_insn_spu() 114 if (index->arg[0] != 0) in print_insn_spu() [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon.c | 1106 for (index = 0; index < edev->max_supported; index++) { in extcon_alloc_cables() 1111 for (index--; index >= 0; index--) { in extcon_alloc_cables() 1160 for (index = 0; edev->mutually_exclusive[index]; index++) in extcon_alloc_muex() 1175 for (index = 0; edev->mutually_exclusive[index]; index++) { in extcon_alloc_muex() 1179 for (index--; index >= 0; index--) in extcon_alloc_muex() 1222 for (index = 0; index < edev->max_supported; index++) in extcon_alloc_groups() 1258 for (index = 0; edev->supported_cable[index] != EXTCON_NONE; index++); in extcon_dev_register() 1305 for (index = 0; index < edev->max_supported; index++) in extcon_dev_register() 1334 for (index = 0; edev->mutually_exclusive[index]; index++) in extcon_dev_register() 1340 for (index = 0; index < edev->max_supported; index++) in extcon_dev_register() [all …]
|
/openbmc/linux/Documentation/translations/zh_CN/admin-guide/ |
H A D | index.rst | 25 * sysctl/index 50 * kdump/index 51 * perf/index 73 mm/index 77 * acpi/index 78 * aoe/index 88 * cifs/index 94 * nfs/index 95 * gpio/index 106 * LSM/index [all …]
|
/openbmc/linux/include/trace/events/ |
H A D | hwmon.h | 12 TP_PROTO(int index, const char *attr_name, long val), 14 TP_ARGS(index, attr_name, val), 17 __field(int, index) 23 __entry->index = index; 34 TP_PROTO(int index, const char *attr_name, long val), 36 TP_ARGS(index, attr_name, val) 41 TP_PROTO(int index, const char *attr_name, long val), 43 TP_ARGS(index, attr_name, val) 50 TP_ARGS(index, attr_name, s), 53 __field(int, index) [all …]
|
/openbmc/linux/include/linux/ |
H A D | scx200_gpio.h | 2 u32 scx200_gpio_configure(unsigned index, u32 set, u32 clear); 11 #define __SCx200_GPIO_BANK unsigned bank = index>>5 14 #define __SCx200_GPIO_INDEX index &= 31 20 static inline int scx200_gpio_get(unsigned index) { in scx200_gpio_get() argument 25 return (inl(ioaddr) & (1<<index)) ? 1 : 0; in scx200_gpio_get() 32 static inline int scx200_gpio_current(unsigned index) { in scx200_gpio_current() argument 46 set_bit(index, shadow); /* __set_bit()? */ in scx200_gpio_set_high() 57 clear_bit(index, shadow); /* __clear_bit()? */ in scx200_gpio_set_low() 69 set_bit(index, shadow); in scx200_gpio_set() 71 clear_bit(index, shadow); in scx200_gpio_set() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_global_func_args.c | 28 save_value(index, s->v); in foo() 32 save_value(index, 0); in foo() 40 save_value(index, s->v); in bar() 44 save_value(index, 0); in bar() 60 __u32 index = 0; in test_cls() local 63 const int v = foo(index++, 0); in test_cls() 65 save_value(index++, v); in test_cls() 71 foo(index++, &s); in test_cls() 72 save_value(index++, s.v); in test_cls() 77 bar(index++, &global_variable); in test_cls() [all …]
|
/openbmc/linux/Documentation/translations/zh_TW/admin-guide/ |
H A D | index.rst | 26 sysctl/index 51 kdump/index 52 perf/index 73 acpi/index 74 aoe/index 85 cifs/index 92 nfs/index 93 gpio/index 105 LSM/index 108 mm/index [all …]
|
/openbmc/openpower-hw-diags/test/ |
H A D | pdbg-test.dts | 10 index = <0x00>; 19 index = <0x00>; 29 index = <0x00>; 33 index = <0x00>; 37 index = <0x00>; 45 index = <0x00>; 53 index = <0x01>; 63 index = <0x0c>; 2017 index = <0x01>; 2027 index = <0x01>; [all …]
|
/openbmc/linux/arch/mips/cavium-octeon/crypto/ |
H A D | octeon-crypto.h | 34 "dmtc2 %[rt],0x0048+" STR(index) \ 42 #define read_octeon_64bit_hash_dword(index) \ argument 47 "dmfc2 %[rt],0x0048+" STR(index) \ 60 "dmtc2 %[rt],0x0040+" STR(index) \ 108 "dmtc2 %[rt],0x0250+" STR(index) \ 116 #define read_octeon_64bit_hash_sha512(index) \ argument 121 "dmfc2 %[rt],0x0250+" STR(index) \ 134 "dmtc2 %[rt],0x0240+" STR(index) \ 182 "dmtc2 %[rt],0x0250+" STR(index) \ 195 "dmfc2 %[rt],0x0250+" STR(index) \ [all …]
|
/openbmc/linux/drivers/platform/x86/intel/telemetry/ |
H A D | debugfs.c | 357 for (index = 0; index < ret; index++) { in telem_pss_states_show() 419 for (index = 0; index < debugfs_conf->pss_idle_evts; index++) { in telem_pss_states_show() 449 for (index = 0; index < debugfs_conf->pss_ltr_evts; index++) { in telem_pss_states_show() 459 for (index = 0; index < debugfs_conf->pss_wakeup_evts; index++) { in telem_pss_states_show() 489 for (index = 0; index < ret; index++) { in telem_ioss_states_show() 517 for (index = 0; index < ret; index++) { in telem_soc_states_show() 598 for (index = 0; index < conf->ioss_d0ix_evts; index++) { in telem_soc_states_show() 608 for (index = 0; index < conf->ioss_pg_evts; index++) { in telem_soc_states_show() 632 for (index = 0; index < conf->pss_idle_evts; index++) { in telem_soc_states_show() 776 for (index = 0; index < ret; index++) { in pm_suspend_prep_cb() [all …]
|
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp-tegra210.c | 46 unsigned int index = channel->index; in tegra210_bpmp_is_response_ready() local 48 return bpmp_channel_status(channel->bpmp, index) == MA_ACKD(index); in tegra210_bpmp_is_response_ready() 53 unsigned int index = channel->index; in tegra210_bpmp_is_request_ready() local 55 return bpmp_channel_status(channel->bpmp, index) == SL_SIGL(index); in tegra210_bpmp_is_request_ready() 61 unsigned int index = channel->index; in tegra210_bpmp_is_request_channel_free() local 63 return bpmp_channel_status(channel->bpmp, index) == MA_FREE(index); in tegra210_bpmp_is_request_channel_free() 69 unsigned int index = channel->index; in tegra210_bpmp_is_response_channel_free() local 71 return bpmp_channel_status(channel->bpmp, index) == SL_QUED(index); in tegra210_bpmp_is_response_channel_free() 96 __raw_writel(MA_ACKD(channel->index) ^ MA_FREE(channel->index), in tegra210_bpmp_ack_response() 155 channel->index = index; in tegra210_bpmp_channel_init() [all …]
|
/openbmc/qemu/hw/isa/ |
H A D | smc37c669-superio.c | 17 static bool is_serial_enabled(ISASuperIODevice *sio, uint8_t index) in is_serial_enabled() argument 19 return index < 2; in is_serial_enabled() 22 static uint16_t get_serial_iobase(ISASuperIODevice *sio, uint8_t index) in get_serial_iobase() argument 24 return index ? 0x2f8 : 0x3f8; in get_serial_iobase() 29 return index ? 3 : 4; in get_serial_irq() 34 static bool is_parallel_enabled(ISASuperIODevice *sio, uint8_t index) in is_parallel_enabled() argument 36 return index < 1; in is_parallel_enabled() 56 static bool is_fdc_enabled(ISASuperIODevice *sio, uint8_t index) in is_fdc_enabled() argument 58 return index < 1; in is_fdc_enabled() 61 static uint16_t get_fdc_iobase(ISASuperIODevice *sio, uint8_t index) in get_fdc_iobase() argument [all …]
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 83 int index; in add_legacy_port() local 100 index = want_index; in add_legacy_port() 102 index = legacy_serial_count; in add_legacy_port() 110 if (index >= legacy_serial_count) in add_legacy_port() 111 legacy_serial_count = index + 1; in add_legacy_port() 120 legacy_serial_ports[index]; in add_legacy_port() 122 legacy_serial_infos[index]; in add_legacy_port() 154 index, np); in add_legacy_port() 161 return index; in add_legacy_port() 210 int index = -1; in add_legacy_isa_port() local [all …]
|
/openbmc/linux/drivers/net/thunderbolt/ |
H A D | trace.h | 28 TP_ARGS(index, page, phys, dir), 30 __field(unsigned int, index) 36 __entry->index = index; 49 TP_ARGS(index, page, phys, dir) 55 TP_ARGS(index, page, phys, dir) 61 TP_ARGS(index, page, phys, dir) 70 __field(u16, index) 76 __entry->index = le16_to_cpu(index); 85 TP_ARGS(size, id, index, count) 90 TP_ARGS(size, id, index, count) [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | loongarch_extioi.c | 76 uint32_t index, cpu; in extioi_readw() local 85 *data = s->ipmap[index]; in extioi_readw() 89 *data = s->enable[index]; in extioi_readw() 93 *data = s->bounce[index]; in extioi_readw() 119 val = mask & s->isr[index]; in extioi_enable_irq() 146 s->nodetype[index] = val; in extioi_writew() 154 s->ipmap[index] = val; in extioi_writew() 173 s->enable[index] = val; in extioi_writew() 186 s->bounce[index] = val; in extioi_writew() 205 index = irq / 4; in extioi_writew() [all …]
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | test.c | 14 return radix_tree_tag_set(root, index, tag); in item_tag_set() 32 ret->index = index; in item_create() 52 assert((item->index | mask) == (index | mask)); in item_sanity() 57 item_sanity(item, index); in item_free() 68 item_free(item, index); in item_delete() 81 struct item *item = xa_erase(xa, index); in item_delete_rcu() 84 item_sanity(item, index); in item_delete_rcu() 95 item = radix_tree_lookup(root, index); in item_check_present() 97 item_sanity(item, index); in item_check_present() 102 return radix_tree_lookup(root, index); in item_lookup() [all …]
|
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | bpt_helper.c | 29 return (dr7 >> (index * 2)) & 1; in hw_local_breakpoint_enabled() 34 return (dr7 >> (index * 2)) & 2; in hw_global_breakpoint_enabled() 58 target_ulong drN = env->dr[index]; in hw_breakpoint_insert() 61 switch (hw_breakpoint_type(dr7, index)) { in hw_breakpoint_insert() 63 if (hw_breakpoint_enabled(dr7, index)) { in hw_breakpoint_insert() 75 if (hw_breakpoint_enabled(dr7, index)) { in hw_breakpoint_insert() 93 env->cpu_breakpoint[index] = NULL; in hw_breakpoint_insert() 104 if (env->cpu_breakpoint[index]) { in hw_breakpoint_remove() 106 env->cpu_breakpoint[index] = NULL; in hw_breakpoint_remove() 112 if (env->cpu_watchpoint[index]) { in hw_breakpoint_remove() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_plane.c | 106 if (plane->group->index != 0) in rcar_du_plane_hwalloc() 148 unsigned int index; in rcar_du_atomic_check_planes() local 166 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check_planes() 182 group_freed_planes[plane->group->index] |= 1 << index; in rcar_du_atomic_check_planes() 205 __func__, index); in rcar_du_atomic_check_planes() 245 groups &= ~(1 << index); in rcar_du_atomic_check_planes() 248 __func__, index, group_free_planes[index]); in rcar_du_atomic_check_planes() 390 index = (index + 1) % 8; in rcar_du_plane_setup_scanout() 403 unsigned int index, in rcar_du_plane_setup_mode() argument 466 unsigned int index, in rcar_du_plane_setup_format_gen2() argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp_log.h | 39 hdcp->config.index, \ 46 hdcp->config.index, displayIndex) 50 hdcp->config.index, displayIndex) 68 hdcp->config.index, str) 72 hdcp->config.index, str) 77 hdcp->config.index, \ 104 hdcp->config.index, msg_name,\ 109 hdcp->config.index, i) 112 hdcp->config.index, i) 115 hdcp->config.index) [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | cpuidle-tegra.c | 188 switch (index) { in tegra_cpuidle_state_enter() 218 return index; in tegra_cpuidle_adjust_state_index() 222 index = TEGRA_C1; in tegra_cpuidle_adjust_state_index() 224 index = TEGRA_CC6; in tegra_cpuidle_adjust_state_index() 226 return index; in tegra_cpuidle_adjust_state_index() 231 int index) in tegra_cpuidle_enter() argument 237 index = tegra_cpuidle_adjust_state_index(index, cpu); in tegra_cpuidle_enter() 254 index = -1; in tegra_cpuidle_enter() 256 index = ret; in tegra_cpuidle_enter() 259 return index; in tegra_cpuidle_enter() [all …]
|
/openbmc/linux/drivers/block/zram/ |
H A D | zram_drv.c | 286 int index; in mark_idle() local 288 for (index = 0; index < nr_pages; index++) { in mark_idle() 624 index >= nr_pages) in writeback_store() 873 for (index = *ppos; index < nr_pages; index++) { in read_block_state() 1221 size_t index; in zram_meta_free() local 1224 for (index = 0; index < num_pages; index++) in zram_meta_free() 1313 u32 index) in zram_read_from_zspool() argument 1718 unsigned long index; in recompress_store() local 1792 for (index = 0; index < nr_pages; index++) { in recompress_store() 1856 index++; in zram_bio_discard() [all …]
|
/openbmc/linux/drivers/phy/tegra/ |
H A D | xusb-tegra186.c | 308 usb2->base.index = index; in tegra186_usb2_lane_probe() 333 unsigned int index = lane->index; in tegra186_utmi_enable_phy_sleepwalk() local 481 unsigned int index = lane->index; in tegra186_utmi_disable_phy_sleepwalk() local 528 unsigned int index = lane->index; in tegra186_utmi_enable_phy_wake() local 553 unsigned int index = lane->index; in tegra186_utmi_disable_phy_wake() local 578 unsigned int index = lane->index; in tegra186_utmi_phy_remote_wake_detected() local 702 unsigned int index = lane->index; in tegra186_utmi_pad_power_on() local 733 unsigned int index = lane->index; in tegra186_utmi_pad_power_down() local 852 unsigned int index = lane->index; in tegra186_utmi_phy_power_on() local 928 unsigned int index = lane->index; in tegra186_utmi_phy_init() local [all …]
|
/openbmc/qemu/hw/timer/ |
H A D | allwinner-a10-pit.c | 39 uint8_t index; in a10_pit_read() local 48 index >>= 4; in a10_pit_read() 49 index -= 1; in a10_pit_read() 56 s->count[index] = ptimer_get_count(s->timer[index]); in a10_pit_read() 103 uint8_t index; in a10_pit_write() local 116 index >>= 4; in a10_pit_write() 117 index -= 1; in a10_pit_write() 124 ptimer_set_count(s->timer[index], s->interval[index]); in a10_pit_write() 140 ptimer_set_limit(s->timer[index], s->interval[index], 1); in a10_pit_write() 248 uint8_t i = tc->index; in a10_pit_timer_cb() [all …]
|