| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_buf_slot.cpp | 190 MppBufSlotsImpl *slots; member 244 MppBufSlotEntry *slots; member 457 MppBufSlotEntry *slot = impl->slots; in _dump_slots() 459 mpp_log("\ncaller %s is dumping slots\n", caller, impl->slots_idx); in _dump_slots() 460 mpp_log("slots %d %p buffer count %d buffer size %d\n", impl->slots_idx, in _dump_slots() 594 MppBufSlotEntry *slot = impl->slots; in init_slot_entry() 596 slot->slots = impl; in init_slot_entry() 640 MppBufSlotEntry *slot = (MppBufSlotEntry *)impl->slots; in clear_slots_impl() 674 mpp_free(impl->slots); in clear_slots_impl() 678 MPP_RET mpp_buf_slot_init(MppBufSlots *slots) in mpp_buf_slot_init() argument [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | swap_slots.c | 3 * Manage cache of swap slots to be used for and returned from 10 * We allocate the swap slots from the global pool and put 17 * lock. We do not reuse the returned slots directly but 19 * allows the slots to coaellesce and reduce fragmentation. 25 * The swap slots cache is protected by a mutex instead of 26 * a spin lock as when we search for slots with scan_swap_map, 43 /* Serialize swap slots cache enable/disable operations */ 127 swp_entry_t *slots, *slots_ret; in alloc_swap_slot_cache() local 142 slots = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), in alloc_swap_slot_cache() 144 if (!slots) in alloc_swap_slot_cache() [all …]
|
| H A D | z3fold.c | 90 * be enough slots to hold all possible variants 106 * @slots: pointer to the structure holding buddy slots 120 struct z3fold_buddy_slots *slots; member 213 struct z3fold_buddy_slots *slots; in alloc_slots() local 215 slots = kmem_cache_zalloc(pool->c_handle, in alloc_slots() 218 if (slots) { in alloc_slots() 220 kmemleak_not_leak(slots); in alloc_slots() 221 slots->pool = (unsigned long)pool; in alloc_slots() 222 rwlock_init(&slots->lock); in alloc_slots() 225 return slots; in alloc_slots() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/ |
| H A D | input-mt.c | 24 * input_mt_init_slots() - initialize MT input slots 26 * @num_slots: number of slots used by the device 36 * reinitialize with a different number of slots. 49 mt = kzalloc(struct_size(mt, slots, num_slots), GFP_KERNEL); in input_mt_init_slots() 88 /* Mark slots as 'inactive' */ in input_mt_init_slots() 90 input_mt_set_value(&mt->slots[i], ABS_MT_TRACKING_ID, -1); in input_mt_init_slots() 92 /* Mark slots as 'unused' */ in input_mt_init_slots() 104 * input_mt_destroy_slots() - frees the MT slots of the input device 105 * @dev: input device with allocated MT slots 108 * automatically free the MT slots when the device is destroyed. [all …]
|
| /OK3568_Linux_fs/u-boot/lib/avb/libavb_ab/ |
| H A D | avb_ab_flow.c | 68 data->slots[0].priority = AVB_AB_MAX_PRIORITY; in avb_ab_data_init() 69 data->slots[0].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_data_init() 70 data->slots[0].successful_boot = 0; in avb_ab_data_init() 71 data->slots[1].priority = AVB_AB_MAX_PRIORITY - 1; in avb_ab_data_init() 72 data->slots[1].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_data_init() 73 data->slots[1].successful_boot = 0; in avb_ab_data_init() 188 slot_normalize(&ab_data->slots[0]); in load_metadata() 189 slot_normalize(&ab_data->slots[1]); in load_metadata() 229 /* Validate all bootable slots. */ in avb_ab_flow() 231 if (slot_is_bootable(&ab_data.slots[n])) { in avb_ab_flow() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/base/inc/ |
| H A D | mpp_buf_slot.h | 127 MPP_RET mpp_buf_slot_init(MppBufSlots *slots); 128 MPP_RET mpp_buf_slot_deinit(MppBufSlots slots); 129 MPP_RET mpp_buf_slot_setup(MppBufSlots slots, RK_S32 count); 130 RK_U32 mpp_buf_slot_is_changed(MppBufSlots slots); 131 MPP_RET mpp_buf_slot_ready(MppBufSlots slots); 132 size_t mpp_buf_slot_get_size(MppBufSlots slots); 133 RK_S32 mpp_buf_slot_get_count(MppBufSlots slots); 134 MPP_RET mpp_buf_slot_set_callback(MppBufSlots slots, MppCbCtx *cb_ctx); 177 MPP_RET mpp_buf_slot_get_unused(MppBufSlots slots, RK_S32 *index); 207 MPP_RET mpp_buf_slot_set_flag(MppBufSlots slots, RK_S32 index, SlotUsageType type); [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ac97/ |
| H A D | ac97_pcm.c | 295 * slots 7+8 in snd_ac97_set_rate() 312 unsigned short slots = 0; in get_pslots() local 326 slots |= (1<<AC97_SLOT_PCM_LEFT)|(1<<AC97_SLOT_PCM_RIGHT); in get_pslots() 328 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots() 330 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots() 343 slots |= (1<<AC97_SLOT_PCM_SLEFT)|(1<<AC97_SLOT_PCM_SRIGHT); in get_pslots() 345 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots() 355 slots |= (1<<AC97_SLOT_PCM_CENTER)|(1<<AC97_SLOT_LFE); in get_pslots() 361 return slots; in get_pslots() 363 unsigned short slots; in get_pslots() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/misc/mei/ |
| H A D | dma-ring.c | 125 * @offset: offset in slots. 126 * @n: number of slots to copy. 145 * @offset: offset in slots. 146 * @n: number of slots to copy. 171 u32 rd_idx, rem, slots; in mei_dma_ring_read() local 183 slots = mei_data2slots(len); in mei_dma_ring_read() 189 if (rd_idx + slots > dbuf_depth) { in mei_dma_ring_read() 191 rem = slots - (dbuf_depth - rd_idx); in mei_dma_ring_read() 194 rem = slots; in mei_dma_ring_read() 199 WRITE_ONCE(ctrl->dbuf_rd_idx, ctrl->dbuf_rd_idx + slots); in mei_dma_ring_read() [all …]
|
| H A D | interrupt.c | 226 int slots; in mei_cl_irq_disconnect_rsp() local 230 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_disconnect_rsp() 231 if (slots < 0) in mei_cl_irq_disconnect_rsp() 234 if ((u32)slots < msg_slots) in mei_cl_irq_disconnect_rsp() 258 int slots; in mei_cl_irq_read() local 265 slots = mei_hbuf_empty_slots(dev); in mei_cl_irq_read() 266 if (slots < 0) in mei_cl_irq_read() 269 if ((u32)slots < msg_slots) in mei_cl_irq_read() 323 * @slots: slots to read. 328 struct list_head *cmpl_list, s32 *slots) in mei_irq_read_handler() argument [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/jaketown/ |
| H A D | jkt-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/sandybridge/ |
| H A D | snb-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/u-boot/lib/avb/rk_avb_user/ |
| H A D | rk_ab_ops_user.c | 148 data->slots[0].priority = AVB_AB_MAX_PRIORITY; in avb_ab_data_init() 149 data->slots[0].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_data_init() 150 data->slots[0].successful_boot = 0; in avb_ab_data_init() 151 data->slots[1].priority = AVB_AB_MAX_PRIORITY - 1; in avb_ab_data_init() 152 data->slots[1].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_data_init() 153 data->slots[1].successful_boot = 0; in avb_ab_data_init() 235 slot_normalize(&ab_data->slots[0]); in load_metadata() 236 slot_normalize(&ab_data->slots[1]); in load_metadata() 270 ab_data.slots[slot_number].priority = AVB_AB_MAX_PRIORITY; in avb_ab_mark_slot_active() 271 ab_data.slots[slot_number].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in avb_ab_mark_slot_active() [all …]
|
| /OK3568_Linux_fs/u-boot/common/spl/ |
| H A D | spl_ab.c | 103 data->slots[0].priority = AVB_AB_MAX_PRIORITY; in spl_ab_data_init() 104 data->slots[0].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in spl_ab_data_init() 105 data->slots[0].successful_boot = 0; in spl_ab_data_init() 106 data->slots[1].priority = AVB_AB_MAX_PRIORITY - 1; in spl_ab_data_init() 107 data->slots[1].tries_remaining = AVB_AB_MAX_TRIES_REMAINING; in spl_ab_data_init() 108 data->slots[1].successful_boot = 0; in spl_ab_data_init() 214 if (spl_slot_is_bootable(&ab_data.slots[0]) && in spl_get_current_slot() 215 spl_slot_is_bootable(&ab_data.slots[1])) { in spl_get_current_slot() 216 if (ab_data.slots[1].priority > ab_data.slots[0].priority) in spl_get_current_slot() 220 } else if (spl_slot_is_bootable(&ab_data.slots[0])) { in spl_get_current_slot() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/haswellx/ |
| H A D | hsx-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/ivybridge/ |
| H A D | ivb-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/haswell/ |
| H A D | hsw-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/ivytown/ |
| H A D | ivt-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/broadwell/ |
| H A D | bdw-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/skylake/ |
| H A D | skl-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/skylakex/ |
| H A D | skx-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 36 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/broadwellx/ |
| H A D | bdx-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 35 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/fs/btrfs/ |
| H A D | file-item.c | 152 item = btrfs_item_ptr(leaf, path->slots[0], in btrfs_insert_file_extent() 196 if (path->slots[0] == 0) in btrfs_lookup_csum() 198 path->slots[0]--; in btrfs_lookup_csum() 199 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0]); in btrfs_lookup_csum() 205 csums_in_item = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_lookup_csum() 215 item = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_csum_item); in btrfs_lookup_csum() 353 path->slots[0]); in btrfs_lookup_bio_sums() 357 path->slots[0]); in btrfs_lookup_bio_sums() 361 item = btrfs_item_ptr(path->nodes[0], path->slots[0], in btrfs_lookup_bio_sums() 431 if (ret > 0 && path->slots[0] > 0) { in btrfs_lookup_csums_range() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/Documentation/ |
| H A D | topdown.txt | 49 On Ice Lake, there is a new fixed counter 3: SLOTS, which reports 50 "pipeline SLOTS" (cycles multiplied by core issue width) and a 51 metric register that reports slots ratios for the different bottleneck 63 The application opens a group with fixed counter 3 (SLOTS) and any 86 /* Open slots counter file descriptor for current task. */ 87 struct perf_event_attr slots = { 94 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0); 100 * Set slots event as the leader of the group. 115 to read slots and the topdown metrics at different points of the program: 166 This can be done by scaling the metrics with the slots counter [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/pmu-events/arch/x86/cascadelakex/ |
| H A D | clx-metrics.json | 3 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 7 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 10 …"BriefDescription": "This category represents fraction of slots where the processor's Frontend und… 14 …slots where the processor's Frontend undersupplies its Backend. Frontend denotes the first part of… 17 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 21 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 24 …"BriefDescription": "This category represents fraction of slots wasted due to incorrect speculatio… 28 … fraction of slots wasted due to incorrect speculations. This include slots used to issue uops tha… 31 …"BriefDescription": "This category represents fraction of slots where no uops are being delivered … 36 …"PublicDescription": "This category represents fraction of slots where no uops are being delivered… [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/kernel/ |
| H A D | hw_breakpoint.c | 178 * @slots: pointer to array of slots 179 * @max_slots: max number of slots 188 static int hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, in hw_breakpoint_slot_setup() argument 196 slot = &slots[i]; in hw_breakpoint_slot_setup() 226 struct perf_event **slots; in hw_breakpoint_control() local 236 slots = this_cpu_ptr(bp_on_reg); in hw_breakpoint_control() 243 slots = this_cpu_ptr(wp_on_reg); in hw_breakpoint_control() 248 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); in hw_breakpoint_control() 584 struct perf_event **slots; in toggle_bp_registers() local 588 slots = this_cpu_ptr(bp_on_reg); in toggle_bp_registers() [all …]
|