/openbmc/linux/tools/testing/radix-tree/ |
H A D | regression3.c | 45 printv(2, "tagged %ld %p\n", iter.index, *slot); in regression3_test() 52 printv(2, "retry at %ld\n", iter.index); in regression3_test() 61 printv(2, "slot %ld %p\n", iter.index, *slot); in regression3_test() 67 printv(2, "retry at %ld\n", iter.index); in regression3_test() 74 printv(2, "slot %ld %p\n", iter.index, *slot); in regression3_test() 75 if (!iter.index) { in regression3_test() 76 printv(2, "next at %ld\n", iter.index); in regression3_test() 84 printv(2, "tagged %ld %p\n", iter.index, *slot); in regression3_test() 85 if (!iter.index) { in regression3_test() 86 printv(2, "next at %ld\n", iter.index); in regression3_test()
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | cpqphp_sysfs.c | 31 int index; in show_ctrl() local 35 index = 11; in show_ctrl() 37 while (res && index--) { in show_ctrl() 42 index = 11; in show_ctrl() 49 index = 11; in show_ctrl() 56 index = 11; in show_ctrl() 69 int index; in show_dev() local 81 index = 11; in show_dev() 88 index = 11; in show_dev() 95 index = 11; in show_dev() [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | adp5061.c | 193 int index; in adp5061_set_input_current_limit() local 200 if (index < 0) in adp5061_set_input_current_limit() 201 return index; in adp5061_set_input_current_limit() 210 int index; in adp5061_set_min_voltage() local 217 if (index < 0) in adp5061_set_min_voltage() 218 return index; in adp5061_set_min_voltage() 299 int index; in adp5061_set_const_chg_vmax() local 317 int index; in adp5061_set_const_chg_current() local 372 int index; in adp5061_set_prechg_current() local 405 int index; in adp5061_set_vweak_th() local [all …]
|
/openbmc/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 149 u32 index = layer->index; in logicvc_plane_atomic_update() local 239 u32 index = layer->index; in logicvc_plane_atomic_disable() local 330 layer->index, fb_offset - base_offset); in logicvc_layer_buffer_find_setup() 433 u32 index) in logicvc_layer_get_from_index() argument 438 if (layer->index == index) in logicvc_layer_get_from_index() 480 layer->index = index; in logicvc_layer_init() 485 index); in logicvc_layer_init() 492 index); in logicvc_layer_init() 509 index); in logicvc_layer_init() 598 u32 index = 0; in logicvc_layers_init() local [all …]
|
/openbmc/openbmc/poky/documentation/ |
H A D | index.rst | 17 Quick Build <brief-yoctoprojectqs/index> 28 Overview and Concepts Manual <overview-manual/index> 29 Contributor Guide <contributor-guide/index> 30 Reference Manual <ref-manual/index> 31 Board Support Package (BSP) Developer's guide <bsp-guide/index> 32 Development Tasks Manual <dev-manual/index> 33 Linux Kernel Development Manual <kernel-dev/index> 34 Profile and Tracing Manual <profile-manual/index> 36 Toaster Manual <toaster-manual/index> 37 Test Environment Manual <test-manual/index> [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_bmap_btree.h | 22 #define XFS_BMBT_REC_ADDR(mp, block, index) \ argument 26 ((index) - 1) * sizeof(xfs_bmbt_rec_t))) 28 #define XFS_BMBT_KEY_ADDR(mp, block, index) \ argument 32 ((index) - 1) * sizeof(xfs_bmbt_key_t))) 39 ((index) - 1) * sizeof(xfs_bmbt_ptr_t))) 41 #define XFS_BMDR_REC_ADDR(block, index) \ argument 45 ((index) - 1) * sizeof(xfs_bmdr_rec_t))) 47 #define XFS_BMDR_KEY_ADDR(block, index) \ argument 51 ((index) - 1) * sizeof(xfs_bmdr_key_t))) 53 #define XFS_BMDR_PTR_ADDR(block, index, maxrecs) \ argument [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | mmio_nvram.c | 24 static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index) in mmio_nvram_read() argument 28 if (*index >= mmio_nvram_len) in mmio_nvram_read() 30 if (*index + count > mmio_nvram_len) in mmio_nvram_read() 31 count = mmio_nvram_len - *index; in mmio_nvram_read() 35 memcpy_fromio(buf, mmio_nvram_start + *index, count); in mmio_nvram_read() 39 *index += count; in mmio_nvram_read() 64 if (*index >= mmio_nvram_len) in mmio_nvram_write() 66 if (*index + count > mmio_nvram_len) in mmio_nvram_write() 67 count = mmio_nvram_len - *index; in mmio_nvram_write() 71 memcpy_toio(mmio_nvram_start + *index, buf, count); in mmio_nvram_write() [all …]
|
/openbmc/linux/include/linux/ |
H A D | pagemap.h | 649 pgoff_t index) in filemap_get_folio() argument 667 pgoff_t index) in filemap_lock_folio() argument 685 pgoff_t index) in filemap_grab_folio() argument 728 pgoff_t index) in find_lock_page() argument 774 pgoff_t index) in grab_cache_page_nowait() argument 844 return folio->index == index; in folio_contains() 869 pgoff_t index); 910 return page->index; in page_to_index() 1520 if (folio->index > index || !offset) in folio_mkwrite_check_truncate() 1545 if (page->index < index) in page_mkwrite_check_truncate() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | eeprom.c | 349 #define NEXT_PARAM(argc, index) { (argc)--; (index)++; } argument 366 NEXT_PARAM(argc, index); in do_eeprom() 374 NEXT_PARAM(argc, index); in do_eeprom() 385 argv + index, 3); in do_eeprom() 389 argv + index, 0); in do_eeprom() 393 argv + index, 2); in do_eeprom() 404 NEXT_PARAM(argc, index); in do_eeprom() 408 NEXT_PARAM(argc, index); in do_eeprom() 410 NEXT_PARAM(argc, index); in do_eeprom() 417 NEXT_PARAM(argc, index); in do_eeprom() [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | block.c | 109 if (idx == 0 && index != read_start) in squashfs_bio_read_cached() 170 pgoff_t index) in squashfs_get_cache_page() argument 177 page = find_get_page(mapping, index); in squashfs_get_cache_page() 198 int offset = read_start - round_down(index, PAGE_SIZE); in squashfs_bio_read() 213 pgoff_t index = (read_start >> PAGE_SHIFT) + i; in squashfs_bio_read() local 216 page = squashfs_get_cache_page(cache_mapping, index); in squashfs_bio_read() 288 if (index + 2 > msblk->bytes_used) { in squashfs_read_data() 292 res = squashfs_bio_read(sb, index, 2, &bio, &offset); in squashfs_read_data() 319 index += 2; in squashfs_read_data() 325 (index + length) > msblk->bytes_used) { in squashfs_read_data() [all …]
|
H A D | namei.c | 71 struct squashfs_dir_index *index; in get_dir_index_using_name() local 76 index = kmalloc(sizeof(*index) + SQUASHFS_NAME_LEN * 2 + 2, GFP_KERNEL); in get_dir_index_using_name() 77 if (index == NULL) { in get_dir_index_using_name() 82 str = &index->name[SQUASHFS_NAME_LEN + 1]; in get_dir_index_using_name() 88 &index_offset, sizeof(*index)); in get_dir_index_using_name() 93 size = le32_to_cpu(index->size) + 1; in get_dir_index_using_name() 102 index->name[size] = '\0'; in get_dir_index_using_name() 104 if (strcmp(index->name, str) > 0) in get_dir_index_using_name() 107 length = le32_to_cpu(index->index); in get_dir_index_using_name() 108 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name() [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | rtlx.c | 91 int rtlx_open(int index, int can_sleep) in rtlx_open() argument 98 if (index >= RTLX_CHANNELS) { in rtlx_open() 114 channel_wqs[index].lx_queue, in rtlx_open() 132 &channel_wqs[index].lx_queue, in rtlx_open() 165 chan = &rtlx->channel[index]; in rtlx_open() 182 int rtlx_release(int index) in rtlx_release() argument 199 chan = &rtlx->channel[index]; in rtlx_read_poll() 205 channel_wqs[index].lx_queue, in rtlx_read_poll() 234 unsigned int rtlx_write_poll(int index) in rtlx_write_poll() argument 251 lx = &rtlx->channel[index]; in rtlx_read() [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc.c | 173 int index; in npc_get_nixlf_mcam_index() local 660 req.index = action.index; in rvu_npc_install_ucast_entry() 748 req.index = action.index; in rvu_npc_install_promisc_entry() 934 req.index = action.index; in rvu_npc_install_allmulti_entry() 970 for (index = 0; index < mcam->bmap_entries; index++) { in npc_update_vf_flow_entry() 1949 for (index = 0; index < mcam->bmap_entries; index++) { in npc_mcam_rsrcs_init() 2318 for (index = 0; index < mcam->bmap_entries; index++) { in npc_mcam_free_all_entries() 2373 end = ((index + nr) >= size) ? size : index + nr; in npc_mcam_find_zero_area() 2607 index = mcam->bmap_entries - index - 1; in npc_mcam_alloc_entries() 2920 for (index = 0; index < req->shift_count; index++) { in rvu_mbox_handler_npc_mcam_shift_entry() [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | pnp_def.h | 67 static inline void pnp_set_iobase(uint16_t dev, uint8_t index, uint16_t iobase) in pnp_set_iobase() argument 69 pnp_write_config(dev, index + 0, (iobase >> 8) & 0xff); in pnp_set_iobase() 70 pnp_write_config(dev, index + 1, iobase & 0xff); in pnp_set_iobase() 73 static inline uint16_t pnp_read_iobase(uint16_t dev, uint8_t index) in pnp_read_iobase() argument 75 return ((uint16_t)(pnp_read_config(dev, index)) << 8) | in pnp_read_iobase() 76 pnp_read_config(dev, index + 1); in pnp_read_iobase() 79 static inline void pnp_set_irq(uint16_t dev, uint8_t index, unsigned irq) in pnp_set_irq() argument 81 pnp_write_config(dev, index, irq); in pnp_set_irq() 84 static inline void pnp_set_drq(uint16_t dev, uint8_t index, unsigned drq) in pnp_set_drq() argument 86 pnp_write_config(dev, index, drq & 0xff); in pnp_set_drq()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vf_error.c | 33 int index; in amdgpu_vf_error_put() local 42 index = adev->virt.vf_errors.write_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_put() 43 adev->virt.vf_errors.code [index] = error_code; in amdgpu_vf_error_put() 44 adev->virt.vf_errors.flags [index] = error_flags; in amdgpu_vf_error_put() 45 adev->virt.vf_errors.data [index] = error_data; in amdgpu_vf_error_put() 55 int index; in amdgpu_vf_error_trans_all() local 76 index =adev->virt.vf_errors.read_count % AMDGPU_VF_ERROR_ENTRY_SIZE; in amdgpu_vf_error_trans_all() 77 data1 = AMDGIM_ERROR_CODE_FLAGS_TO_MAILBOX(adev->virt.vf_errors.code[index], in amdgpu_vf_error_trans_all() 78 adev->virt.vf_errors.flags[index]); in amdgpu_vf_error_trans_all() 79 data2 = adev->virt.vf_errors.data[index] & 0xFFFFFFFF; in amdgpu_vf_error_trans_all() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-conf.c | 17 int index, rc, num_parents; in __set_clk_parents() local 26 for (index = 0; index < num_parents; index++) { in __set_clk_parents() 28 "#clock-cells", index, &clkspec); in __set_clk_parents() 45 index, node); in __set_clk_parents() 50 "#clock-cells", index, &clkspec); in __set_clk_parents() 63 index, node); in __set_clk_parents() 86 int rc, index = 0; in __set_clk_rates() local 93 "#clock-cells", index, &clkspec); in __set_clk_rates() 111 index, node); in __set_clk_rates() 122 index++; in __set_clk_rates()
|
/openbmc/linux/drivers/video/fbdev/via/ |
H A D | vt1636.c | 42 u8 index) in viafb_gpio_i2c_read_lvds() argument 55 int index, data; in viafb_gpio_i2c_write_mask_lvds() local 57 index = io_data.Index; in viafb_gpio_i2c_write_mask_lvds() 59 index); in viafb_gpio_i2c_write_mask_lvds() 181 int index; in viafb_vt1636_patch_skew_on_vt3324() local 186 index = get_clk_range_index(plvds_setting_info->vclk); in viafb_vt1636_patch_skew_on_vt3324() 188 &GFX_DPA_SETTING_TBL_VT3324[index]); in viafb_vt1636_patch_skew_on_vt3324() 205 int index; in viafb_vt1636_patch_skew_on_vt3327() local 212 &GFX_DPA_SETTING_TBL_VT3327[index]); in viafb_vt1636_patch_skew_on_vt3327() 222 int index; in viafb_vt1636_patch_skew_on_vt3364() local [all …]
|
/openbmc/linux/drivers/nvmem/ |
H A D | imx-ocotp-scu.c | 83 if ((index >= data->region[i].start) && in in_hole() 84 (index <= data->region[i].end)) in in_hole() 101 (index <= data->region[i].end)) in in_ecc() 136 u32 count, index, num_bytes; in imx_scu_ocotp_read() local 141 index = offset; in imx_scu_ocotp_read() 146 count = priv->data->nregs - index; in imx_scu_ocotp_read() 156 for (i = index; i < (index + count); i++) { in imx_scu_ocotp_read() 187 u32 index; in imx_scu_ocotp_write() local 194 index = offset; in imx_scu_ocotp_write() 196 if (in_hole(context, index)) in imx_scu_ocotp_write() [all …]
|
/openbmc/linux/drivers/perf/ |
H A D | apple_m1_cpu_pmu.c | 190 switch (index) { in m1_pmu_read_hw_counter() 208 switch (index) { in m1_pmu_write_hw_counter() 224 #define get_bit_offset(index, mask) (__ffs(mask) + (index)) argument 230 switch (index) { in __m1_pmu_enable_counter() 253 __m1_pmu_enable_counter(index, true); in m1_pmu_enable_counter() 258 __m1_pmu_enable_counter(index, false); in m1_pmu_disable_counter() 265 switch (index) { in __m1_pmu_enable_counter_interrupt() 302 switch (index) { in m1_pmu_configure_counter() 335 switch (index) { in m1_pmu_configure_counter() 339 shift = (index - 2) * 8; in m1_pmu_configure_counter() [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | core_titan.c | 212 if (hose->index & 2) in titan_pci_tbi() 252 if (index == 0) in titan_init_one_pachip_port() 271 hose->config_space_base = TITAN_CONF(index); in titan_init_one_pachip_port() 272 hose->index = index; in titan_init_one_pachip_port() 276 hose->io_space->name = pci_io_names[index]; in titan_init_one_pachip_port() 281 hose->mem_space->name = pci_mem_names[index]; in titan_init_one_pachip_port() 294 saved_config[index].wsm[0] = port->wsm[0].csr; in titan_init_one_pachip_port() 295 saved_config[index].tba[0] = port->tba[0].csr; in titan_init_one_pachip_port() 471 h = pci_vga_hose->index; in titan_ioremap() 480 if (hose->index == h) in titan_ioremap() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | lm95234.c | 76 if (index) { in lm95234_read_temp() 209 int index = to_sensor_dev_attr(attr)->index; in temp_show() local 280 int index = to_sensor_dev_attr(attr)->index; in tcrit2_show() local 293 int index = to_sensor_dev_attr(attr)->index; in tcrit2_store() local 319 int index = to_sensor_dev_attr(attr)->index; in tcrit2_hyst_show() local 334 int index = to_sensor_dev_attr(attr)->index; in tcrit1_show() local 343 int index = to_sensor_dev_attr(attr)->index; in tcrit1_store() local 368 int index = to_sensor_dev_attr(attr)->index; in tcrit1_hyst_show() local 384 int index = to_sensor_dev_attr(attr)->index; in tcrit1_hyst_store() local 410 int index = to_sensor_dev_attr(attr)->index; in offset_show() local [all …]
|
/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 156 unsigned int index; member 168 result->index = index; in init_child() 342 r->index--; in delete_center_node() 535 *index = i; in do_leaf() 548 int i = *index, r; in remove_raw() 598 int index = 0, r = 0; in dm_btree_remove() local 619 BUG_ON(index < 0 || index >= le32_to_cpu(n->header.nr_entries)); in dm_btree_remove() 625 delete_at(n, index); in dm_btree_remove() 642 int i = *index, r; in remove_nearest() 722 if (index < 0) in remove_one() [all …]
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-param.c | 225 fd = &is->config[index].fd; in __is_set_frame_size() 476 fd = &is->config[index].fd; in __is_set_fd_control() 491 fd = &is->config[index].fd; in __is_set_fd_config_maxface() 511 fd = &is->config[index].fd; in __is_set_fd_config_rollangle() 531 fd = &is->config[index].fd; in __is_set_fd_config_yawangle() 551 fd = &is->config[index].fd; in __is_set_fd_config_smilemode() 571 fd = &is->config[index].fd; in __is_set_fd_config_blinkmode() 591 fd = &is->config[index].fd; in __is_set_fd_config_eyedetect() 611 fd = &is->config[index].fd; in __is_set_fd_config_mouthdetect() 671 unsigned int index; in fimc_is_set_initial_params() local [all …]
|
/openbmc/linux/arch/mips/fw/lib/ |
H A D | cmdline.c | 62 int i, yamon, index = 0; in fw_getenv() local 64 yamon = (strchr(fw_envp(index), '=') == NULL); in fw_getenv() 67 while (fw_envp(index)) { in fw_getenv() 68 if (strncmp(envname, fw_envp(index), i) == 0) { in fw_getenv() 70 result = fw_envp(index + 1); in fw_getenv() 72 } else if (fw_envp(index)[i] == '=') { in fw_getenv() local 73 result = fw_envp(index) + i + 1; in fw_getenv() 80 index += 2; in fw_getenv() 82 index += 1; in fw_getenv()
|
/openbmc/linux/tools/virtio/ringtest/ |
H A D | ring.c | 35 unsigned short index; member 99 .index = i, in alloc_ring() 114 unsigned head, index; in add_inbuf() local 133 index = ring[head].index; in add_inbuf() 134 data[index].buf = buf; in add_inbuf() 135 data[index].data = datap; in add_inbuf() 146 unsigned index; in get_buf() local 154 index = ring[head].index & (ring_size - 1); in get_buf() 156 *bufp = data[index].buf; in get_buf() 157 data[index].buf = NULL; in get_buf() [all …]
|