/linux-master/drivers/cpuidle/ |
H A D | cpuidle-powernv.c | 51 int index) 58 for (i = index + 1; i < drv->state_count; i++) { 70 int index) 78 snooze_exit_time = get_tb() + get_snooze_timeout(dev, drv, index); 102 return index; 107 int index) 111 return index; 118 int index) 124 return index; 138 return index; 49 get_snooze_timeout(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument 68 snooze_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument 105 nap_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument 116 fastsleep_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument 142 stop_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument 230 add_powernv_state(int index, const char *name, unsigned int flags, int (*idle_fn)(struct cpuidle_device *, struct cpuidle_driver *, int), unsigned int target_residency, unsigned int exit_latency, u64 psscr_val, u64 psscr_mask) argument [all...] |
/linux-master/drivers/clk/sprd/ |
H A D | pll.c | 39 sprd_pll_read(const struct sprd_pll *pll, u8 index) argument 44 if (WARN_ON(index >= pll->regs_num)) 47 regmap_read(common->regmap, common->reg + index * 4, &val); 53 sprd_pll_write(const struct sprd_pll *pll, u8 index, argument 60 if (WARN_ON(index >= pll->regs_num)) 63 offset = common->reg + index * 4; 71 u32 shift, mask, index, refin_id = 3; local 75 index = pindex(pll, PLL_REFIN); 78 refin_id = (sprd_pll_read(pll, index) & mask) >> shift; 153 u32 mask, shift, width, ibias_val, index; local [all...] |
/linux-master/arch/s390/crypto/ |
H A D | sha_common.c | 20 unsigned int index, n; local 23 index = ctx->count % bsize; 26 if ((index + len) < bsize) 30 if (index) { 31 memcpy(ctx->buf + index, data, bsize - index); 33 data += bsize - index; 34 len -= bsize - index; 35 index = 0; 47 memcpy(ctx->buf + index , dat [all...] |
/linux-master/drivers/pci/controller/dwc/ |
H A D | pcie-tegra194-acpi.c | 39 static void atu_reg_write(struct tegra194_pcie_ecam *pcie_ecam, int index, argument 42 u32 offset = PCIE_ATU_UNROLL_BASE(PCIE_ATU_REGION_DIR_OB, index) + 49 int index, int type, u64 cpu_addr, 52 atu_reg_write(pcie_ecam, index, lower_32_bits(cpu_addr), 54 atu_reg_write(pcie_ecam, index, upper_32_bits(cpu_addr), 56 atu_reg_write(pcie_ecam, index, lower_32_bits(pci_addr), 58 atu_reg_write(pcie_ecam, index, lower_32_bits(cpu_addr + size - 1), 60 atu_reg_write(pcie_ecam, index, upper_32_bits(pci_addr), 62 atu_reg_write(pcie_ecam, index, type, PCIE_ATU_REGION_CTRL1); 63 atu_reg_write(pcie_ecam, index, PCIE_ATU_ENABL 48 program_outbound_atu(struct tegra194_pcie_ecam *pcie_ecam, int index, int type, u64 cpu_addr, u64 pci_addr, u64 size) argument [all...] |
/linux-master/include/net/tc_act/ |
H A D | tc_pedit.h | 53 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) argument 61 htype = parms->tcfp_keys_ex[index].htype; 67 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) argument 75 cmd = parms->tcfp_keys_ex[index].cmd; 81 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) argument 88 mask = parms->tcfp_keys[index].mask; 94 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) argument 101 val = parms->tcfp_keys[index].val; 107 static inline u32 tcf_pedit_offset(const struct tc_action *a, int index) argument 114 off = parms->tcfp_keys[index] [all...] |
/linux-master/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_dcu_drm_plane.c | 27 unsigned int index; local 29 index = drm_plane_index(plane); 30 if (index < total_layer) 31 return total_layer - index - 1; 68 int index; local 70 index = fsl_dcu_drm_plane_index(plane); 71 if (index < 0) 74 regmap_read(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), &value); 76 regmap_write(fsl_dev->regmap, DCU_CTRLDESCLN(index, 4), value); 89 int index; local [all...] |
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | mmu_context.c | 97 int index; local 137 index = realloc_context_ids(&mm->context); 138 if (index < 0) { 143 return index; 147 return index; 167 int index, max_id; local 170 index = alloc_context_id(mmu_base_pid, max_id); 171 if (index < 0) 172 return index; 178 process_tb[index] 197 int index; local 232 int index, context_id; local [all...] |
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-cmd-queue.h | 142 uint64_t index:13; member in struct:__anon16 208 * Get the index into the state arrays for the supplied queue id. 210 * @queue_id: Queue ID to get an index for 356 if (likely(qptr->index + cmd_count < qptr->pool_size_m1)) { 360 ptr += qptr->index; 361 qptr->index += cmd_count; 386 count = qptr->pool_size_m1 - qptr->index; 387 ptr += qptr->index; 398 qptr->index = cmd_count; 454 if (likely(qptr->index [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | core_tsunami.c | 181 tsunami_pchip *pchip = hose->index ? TSUNAMI_pchip1 : TSUNAMI_pchip0; 249 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) 257 if (index == 0) 269 = (TSUNAMI_MEM(index) & 0xffffffffffL) | 0x80000000000L; 271 = (TSUNAMI_IO(index) & 0xffffffffffL) | 0x80000000000L; 273 hose->config_space_base = TSUNAMI_CONF(index); 274 hose->index = index; 276 hose->io_space->start = TSUNAMI_IO(index) - TSUNAMI_IO_BIAS; 278 hose->io_space->name = pci_io_names[index]; 247 tsunami_init_one_pchip(tsunami_pchip *pchip, int index) argument 425 tsunami_kill_one_pchip(tsunami_pchip *pchip, int index) argument [all...] |
/linux-master/tools/virtio/ringtest/ |
H A D | ring.c | 6 * Simple descriptor-based ring. virtio 0.9 compatible event index is used for 27 * Guest adds descriptors with unique index values and DESC_HW in flags. 28 * Host overwrites used descriptors with correct len, index, and DESC_HW clear. 35 unsigned short index; member in struct:desc 68 /* we do not need to track last avail index 99 .index = i, 114 unsigned head, index; local 133 index = ring[head].index; 134 data[index] 146 unsigned index; local [all...] |
/linux-master/include/linux/ |
H A D | of_address.h | 62 extern int of_address_to_resource(struct device_node *dev, int index, 64 extern void __iomem *of_iomap(struct device_node *device, int index); 66 int index, const char *name); 70 * instead of an absolute index 72 extern const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, 89 extern int of_range_to_resource(struct device_node *np, int index, 94 int index, const char *name) 105 static inline const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, argument 148 static inline int of_range_to_resource(struct device_node *np, int index, argument 161 extern int of_address_to_resource(struct device_node *dev, int index, 93 of_io_request_and_map(struct device_node *device, int index, const char *name) argument 165 of_address_to_resource(struct device_node *dev, int index, struct resource *r) argument 171 of_iomap(struct device_node *device, int index) argument 178 of_get_address(struct device_node *dev, int index, u64 *size, unsigned int *flags) argument [all...] |
H A D | of_irq.h | 23 int of_irq_parse_oldworld(const struct device_node *device, int index, 28 static inline int of_irq_parse_oldworld(const struct device_node *device, int index, argument 37 extern int of_irq_to_resource(struct device_node *dev, int index, 42 extern int of_irq_parse_one(struct device_node *device, int index, 45 extern int of_irq_get(struct device_node *dev, int index); 62 static inline int of_irq_parse_one(struct device_node *device, int index, argument 71 static inline int of_irq_get(struct device_node *dev, int index) argument 116 extern unsigned int irq_of_parse_and_map(struct device_node *node, int index); 120 int index) 119 irq_of_parse_and_map(struct device_node *dev, int index) argument
|
/linux-master/drivers/gpu/drm/amd/display/include/ |
H A D | vector.h | 69 * do not check that index belongs to container 70 * since the function is private and index is going to be calculated 84 uint32_t index); 89 uint32_t index); 100 uint32_t index); 136 uint32_t index) \ 138 return dal_vector_at_index(vector, index); \ 145 uint32_t index) \ 147 dal_vector_set_at_index(vector, what, index); \
|
/linux-master/scripts/gdb/linux/ |
H A D | radixtree.py | 33 def lookup(root, index): 45 if (index > 0): 52 if (index > maxindex): 58 offset = (index >> node['shift']) & constants.LX_RADIX_TREE_MAP_MASK 77 $lx_radix_tree_lookup(root_node [, index]): Return the node at the given index. 78 If index is omitted, the root node is dereference and returned.""" 83 def invoke(self, root, index=0): 84 result = lookup(root, index) 86 raise gdb.GdbError("No entry in tree at index {}" [all...] |
/linux-master/arch/s390/include/asm/ |
H A D | fpu-insn.h | 214 static __always_inline void fpu_vleib(u8 v, s16 val, u8 index) argument 216 asm volatile("VLEIB %[v],%[val],%[index]" 218 : [v] "I" (v), [val] "K" (val), [index] "I" (index) 222 static __always_inline void fpu_vleig(u8 v, s16 val, u8 index) argument 224 asm volatile("VLEIG %[v],%[val],%[index]" 226 : [v] "I" (v), [val] "K" (val), [index] "I" (index) 230 static __always_inline u64 fpu_vlgvf(u8 v, u16 index) argument 234 asm volatile("VLGVF %[val],%[v],%[index]" 243 fpu_vll(u8 v1, u32 index, const void *vxr) argument 261 fpu_vll(u8 v1, u32 index, const void *vxr) argument 325 fpu_vlvgf(u8 v, u32 val, u16 index) argument 393 fpu_vstl(u8 v1, u32 index, const void *vxr) argument 409 fpu_vstl(u8 v1, u32 index, const void *vxr) argument [all...] |
/linux-master/drivers/md/dm-vdo/ |
H A D | Makefile | 43 indexer/chapter-index.o \ 45 indexer/delta-index.o \ 48 indexer/index.o \ 49 indexer/index-layout.o \ 50 indexer/index-page-map.o \ 51 indexer/index-session.o \ 57 indexer/volume-index.o
|
/linux-master/drivers/phy/tegra/ |
H A D | xusb-tegra186.c | 297 unsigned int index) 307 usb2->base.soc = &pad->soc->lanes[index]; 308 usb2->base.index = index; 333 unsigned int index = lane->index; local 339 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); 341 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); 344 value = ao_readl(priv, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); 346 ao_writel(priv, value, XUSB_AO_UTMIP_SLEEPWALK_CFG(index)); 296 tegra186_usb2_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, unsigned int index) argument 481 unsigned int index = lane->index; local 528 unsigned int index = lane->index; local 553 unsigned int index = lane->index; local 578 unsigned int index = lane->index; local 702 unsigned int index = lane->index; local 733 unsigned int index = lane->index; local 852 unsigned int index = lane->index; local 928 unsigned int index = lane->index; local 955 unsigned int index = lane->index; local 1072 tegra186_usb3_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, unsigned int index) argument 1108 unsigned int index = lane->index; local 1133 unsigned int index = lane->index; local 1156 unsigned int index = lane->index; local 1181 unsigned int index = lane->index; local 1206 unsigned int index = lane->index; local 1254 unsigned int index = lane->index; local 1322 unsigned int index = lane->index; local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | legacy_serial.c | 83 int index; local 98 /* If we have a location index, then try to use it */ 100 index = want_index; 102 index = legacy_serial_count; 104 /* if our index is still out of range, that mean that 108 if (index >= MAX_LEGACY_SERIAL_PORTS) 110 if (index >= legacy_serial_count) 111 legacy_serial_count = index + 1; 114 if (legacy_serial_infos[index].np != NULL) { 118 index, legacy_serial_coun 210 int index = -1; local 260 int iotype, index = -1, lindex = 0; local 397 int index; local 490 fixup_port_irq(int index, struct device_node *np, struct plat_serial8250_port *port) argument 523 fixup_port_pio(int index, struct device_node *np, struct plat_serial8250_port *port) argument 547 fixup_port_mmio(int index, struct device_node *np, struct plat_serial8250_port *port) argument [all...] |
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace32.c | 33 /* Macros to workout the correct index for the FPR in the thread struct */ 77 int index; local 81 /* convert to index and check */ 82 index = (unsigned long) addr >> 2; 83 if ((addr & 3) || (index > PT_FPSCR32)) 86 if (index < PT_FPR0) { 87 ret = ptrace_get_reg(child, index, &tmp); 95 * index passed in is based on this assumption. 98 [FPRINDEX(index)]; 113 u32 index; local 180 unsigned long index; local 212 u32 index; local [all...] |
/linux-master/mm/ |
H A D | readahead.c | 209 unsigned long index = readahead_index(ractl); local 230 struct folio *folio = xa_load(&mapping->i_pages, index + i); 243 i = ractl->_index + ractl->_nr_pages - index - 1; 250 if (filemap_add_folio(mapping, folio, index + i, 255 i = ractl->_index + ractl->_nr_pages - index - 1; 285 unsigned long index = readahead_index(ractl); local 293 if (index > end_index) 296 if (nr_to_read > end_index - index) 297 nr_to_read = end_index - index + 1; 312 unsigned long max_pages, index; local 418 count_history_pages(struct address_space *mapping, pgoff_t index, unsigned long max) argument 433 try_context_readahead(struct address_space *mapping, struct file_ra_state *ra, pgoff_t index, unsigned long req_size, unsigned long max) argument 464 ra_alloc_folio(struct readahead_control *ractl, pgoff_t index, pgoff_t mark, unsigned int order, gfp_t gfp) argument 490 pgoff_t index = readahead_index(ractl); local 552 pgoff_t index = readahead_index(ractl); local 783 unsigned long index = ractl->_index - 1; local 810 unsigned long index = ractl->_index + ractl->_nr_pages; local [all...] |
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_mcg.c | 54 * If GID is found in MGM or MGM is empty, *index = *hash, *prev = -1 57 * if GID is found in AMGM, *index = index in AMGM, *prev = index of 60 * If no AMGM exists for given gid, *index = -1, *prev = index of last 65 u16 *hash, int *prev, int *index) 88 *index = *hash; 92 err = mthca_READ_MGM(dev, *index, mgm_mailbox); 99 if (*index ! 63 find_mgm(struct mthca_dev *dev, u8 *gid, struct mthca_mailbox *mgm_mailbox, u16 *hash, int *prev, int *index) argument 126 int index, prev; local 220 int prev, index; local [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/ |
H A D | base.c | 43 nvkm_ltc_zbc_color_get(struct nvkm_ltc *ltc, int index, const u32 color[4]) argument 45 memcpy(ltc->zbc_color[index], color, sizeof(ltc->zbc_color[index])); 46 ltc->func->zbc_clear_color(ltc, index, color); 47 return index; 51 nvkm_ltc_zbc_depth_get(struct nvkm_ltc *ltc, int index, const u32 depth) argument 53 ltc->zbc_depth[index] = depth; 54 ltc->func->zbc_clear_depth(ltc, index, depth); 55 return index; 59 nvkm_ltc_zbc_stencil_get(struct nvkm_ltc *ltc, int index, cons argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | udisp.c | 31 nvkm_udisp_sclass(struct nvkm_object *object, int index, struct nvkm_oclass *sclass) argument 35 if (index-- == 0) { 41 if (index-- == 0) { 47 if (index-- == 0) { 53 if (disp->func->user[index].ctor) { 54 sclass->base = disp->func->user[index].base; 55 sclass->ctor = disp->func->user[index].ctor; 103 args->v0.conn_mask |= BIT(conn->index); 107 args->v0.outp_mask |= BIT(outp->index);
|
H A D | vga.c | 69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) argument 71 nvkm_wrport(device, head, 0x03c4, index); 76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) argument 78 nvkm_wrport(device, head, 0x03c4, index); 83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) argument 85 nvkm_wrport(device, head, 0x03ce, index); 90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) argument 92 nvkm_wrport(device, head, 0x03ce, index); 97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) argument 99 nvkm_wrport(device, head, 0x03d4, index); 104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) argument 111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) argument 120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) argument [all...] |
/linux-master/include/sound/ |
H A D | soc-topology.h | 63 unsigned int index; /* objects can belong in different groups */ member in struct:snd_soc_dobj 111 int (*control_load)(struct snd_soc_component *, int index, 117 int (*dapm_route_load)(struct snd_soc_component *, int index, 123 int (*widget_load)(struct snd_soc_component *, int index, 126 int (*widget_ready)(struct snd_soc_component *, int index, 133 int (*dai_load)(struct snd_soc_component *, int index, 141 int (*link_load)(struct snd_soc_component *, int index, 148 int (*vendor_load)(struct snd_soc_component *, int index, 157 int (*manifest)(struct snd_soc_component *, int index,
|