/linux-master/drivers/gpu/drm/gma500/ |
H A D | oaktrail_crtc.c | 40 struct drm_crtc *crtc, int target, 44 struct drm_crtc *crtc, int target, 127 struct drm_crtc *crtc, int target, 144 target_vco = target * clock.p; 156 ((target * 10000) / actual_freq); 181 * Returns a set of divisors for the desired target clock with the given refclk, 185 struct drm_crtc *crtc, int target, 189 int err = target; 201 this_err = abs(clock.dot - target); 208 return err != target; 126 mrst_sdvo_find_best_pll(const struct gma_limit_t *limit, struct drm_crtc *crtc, int target, int refclk, struct gma_clock_t *best_clock) argument 184 mrst_lvds_find_best_pll(const struct gma_limit_t *limit, struct drm_crtc *crtc, int target, int refclk, struct gma_clock_t *best_clock) argument [all...] |
/linux-master/drivers/gpu/host1x/ |
H A D | job.c | 158 reloc->target.bo = host1x_bo_get(reloc->target.bo); 159 if (!reloc->target.bo) { 164 bo = reloc->target.bo; 289 reloc->target.offset) >> reloc->shift; 290 u32 *target; local 297 target = (u32 *)job->gather_copy_mapped + 312 target = cmdbuf_addr + reloc->cmdbuf.offset; 314 *target = reloc_addr;
|
/linux-master/drivers/remoteproc/ |
H A D | qcom_sysmon.c | 500 struct qcom_sysmon *target; local 513 list_for_each_entry(target, &sysmon_list, node) { 514 mutex_lock(&target->state_lock); 515 if (target == sysmon || target->state != SSCTL_SSR_EVENT_AFTER_POWERUP) { 516 mutex_unlock(&target->state_lock); 520 event.subsys_name = target->name; 521 event.ssr_event = target->state; 527 mutex_unlock(&target->state_lock); 580 * sysmon_notify() - notify sysmon target o [all...] |
/linux-master/security/selinux/ss/ |
H A D | sidtab.c | 323 struct sidtab *target = convert->target; local 326 dst_convert = sidtab_do_lookup(target, count, 1); 341 target->count = count + 1; 343 hash_add_rcu(target->context_to_sid, &dst_convert->list, 446 rc = sidtab_do_lookup(params->target, count - 1, 1) ? 0 : -ENOMEM; 453 params->target->count = count; 465 rc = sidtab_convert_tree(¶ms->target->roots[level], 479 sidtab_convert_hashtable(params->target, count);
|
/linux-master/fs/xfs/ |
H A D | xfs_trans_buf.c | 25 struct xfs_buftarg *target, 40 blip->bli_buf->b_target == target && 118 struct xfs_buftarg *target, 130 return xfs_buf_get_map(target, map, nmaps, flags, bpp); 138 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); 156 error = xfs_buf_get_map(target, map, nmaps, flags, &bp); 214 struct xfs_buftarg *target, 235 bp = xfs_trans_buf_item_match(tp, target, map, nmaps); 289 error = xfs_buf_read_map(target, map, nmaps, flags, &bp, ops, 23 xfs_trans_buf_item_match( struct xfs_trans *tp, struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps) argument 116 xfs_trans_get_buf_map( struct xfs_trans *tp, struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp) argument 211 xfs_trans_read_buf_map( struct xfs_mount *mp, struct xfs_trans *tp, struct xfs_buftarg *target, struct xfs_buf_map *map, int nmaps, xfs_buf_flags_t flags, struct xfs_buf **bpp, const struct xfs_buf_ops *ops) argument
|
/linux-master/drivers/macintosh/ |
H A D | windfarm_pm112.c | 273 int i, t, target = 0; local 313 target = t; 318 DBG_LOTS("fans = %d, t_max = %d.%03d\n", target, FIX32TOPRINT(t_max)); 321 if (target < (cpu_last_target - 20)) 322 target = cpu_last_target - 20; 323 cpu_last_target = target; 325 cpu_pid[cpu].target = target; 336 err = ct->ops->set_value(ct, target * cpu_fan_scale[i] / 100);
|
/linux-master/fs/smb/client/ |
H A D | dfs.c | 13 * dfs_parse_target_referral - set fs context for dfs target referral 329 const char *target) 332 size_t len = strlen(target); 335 if (unlikely(len < 2 || *target != '\\')) 338 if (target[1] == '\\') { 344 scnprintf(refpath, len, "%s", target); 351 scnprintf(refpath, len, "\\%s", target); 388 cifs_dbg(VFS, "%s: failed to match target ip: %d\n", __func__, rc); 462 const char *target = dfs_cache_get_tgt_name(tit); local 472 cifs_dbg(VFS, "%s: failed to parse target shar 328 update_server_fullpath(struct TCP_Server_Info *server, struct cifs_sb_info *cifs_sb, const char *target) argument [all...] |
H A D | dfs_cache.c | 181 READ_ONCE(ce->tgthint) == t ? " (target hint)" : ""); 230 cifs_dbg(FYI, "target list:\n"); 233 READ_ONCE(ce->tgthint) == t ? " (target hint)" : ""); 339 /* Return target hint of a DFS cache entry */ 360 /* Allocate a new DFS target */ 380 * target hint. 385 struct cache_dfs_tgt *target; local 412 target = list_first_entry_or_null(&ce->tlist, struct cache_dfs_tgt, 414 WRITE_ONCE(ce->tgthint, target); 623 struct cache_dfs_tgt *target; local 756 setup_referral(const char *path, struct cache_entry *ce, struct dfs_info3_param *ref, const char *target) argument 1019 parse_target_share(const char *target, char **share) argument [all...] |
/linux-master/sound/soc/codecs/ |
H A D | wm8955.c | 147 unsigned int K, Ndiv, Nmod, target; local 154 * is sortd so we should always generate a suitable target. */ 155 target = Fout * 4; 156 if (target < 90000000) { 158 target *= 2; 163 WARN_ON(target < 90000000 || target > 100000000); 165 dev_dbg(dev, "Fvco=%dHz\n", target); 168 Ndiv = target / Fref; 171 Nmod = target [all...] |
H A D | wm9081.c | 466 unsigned int K, Ndiv, Nmod, target; local 490 target = Fout * 2; 491 while (target < 90000000) { 493 target *= 2; 502 pr_debug("Fvco=%dHz\n", target); 504 /* Find an appropriate FLL_FRATIO and factor it out of the target */ 508 target /= fll_fratios[i].ratio; 518 Ndiv = target / Fref; 521 Nmod = target % Fref; 639 int new_sysclk, i, target; local [all...] |
/linux-master/arch/x86/events/ |
H A D | rapl.c | 546 int target; local 554 target = cpumask_any_but(topology_die_cpumask(cpu), cpu); 556 /* Migrate rapl events to the new target */ 557 if (target < nr_cpu_ids) { 558 cpumask_set_cpu(target, &rapl_cpu_mask); 559 pmu->cpu = target; 560 perf_pmu_migrate_context(pmu->pmu, cpu, target); 568 int target; local 588 target = cpumask_any_and(&rapl_cpu_mask, topology_die_cpumask(cpu)); 589 if (target < nr_cpu_id [all...] |
/linux-master/include/linux/ |
H A D | sysfs.h | 424 int __must_check sysfs_create_link(struct kobject *kobj, struct kobject *target, 427 struct kobject *target, 431 int sysfs_rename_link_ns(struct kobject *kobj, struct kobject *target, 459 struct kobject *target, const char *link_name); 590 struct kobject *target, const char *name) 596 struct kobject *target, 675 const char *group_name, struct kobject *target, 767 static inline int sysfs_rename_link(struct kobject *kobj, struct kobject *target, argument 770 return sysfs_rename_link_ns(kobj, target, old_name, new_name, NULL); 589 sysfs_create_link(struct kobject *kobj, struct kobject *target, const char *name) argument 595 sysfs_create_link_nowarn(struct kobject *kobj, struct kobject *target, const char *name) argument 674 sysfs_add_link_to_group(struct kobject *kobj, const char *group_name, struct kobject *target, const char *link_name) argument
|
/linux-master/arch/x86/kernel/ |
H A D | ptrace.c | 432 static int genregs_get(struct task_struct *target, argument 439 membuf_store(&to, getreg(target, reg * sizeof(unsigned long))); 443 static int genregs_set(struct task_struct *target, argument 452 ret = putreg(target, pos, *k++); 463 ret = putreg(target, pos, word); 693 static int ioperm_active(struct task_struct *target, argument 696 struct io_bitmap *iobm = target->thread.io_bitmap; 701 static int ioperm_get(struct task_struct *target, argument 705 struct io_bitmap *iobm = target->thread.io_bitmap; 1022 static int genregs32_get(struct task_struct *target, argument 1036 genregs32_set(struct task_struct *target, const struct user_regset *regset, unsigned int pos, unsigned int count, const void *kbuf, const void __user *ubuf) argument [all...] |
/linux-master/net/nfc/ |
H A D | core.c | 195 * The device remains polling for targets until a target is found or 202 pr_debug("dev_name %s initiator protocols 0x%x target protocols 0x%x\n", 285 struct nfc_target *target; local 310 target = nfc_find_target(dev, target_index); 311 if (target == NULL) { 316 rc = dev->ops->dep_link_up(dev, target, comm_mode, gb, gb_len); 318 dev->active_target = target; 369 struct nfc_target *target; local 371 target = nfc_find_target(dev, target_idx); 372 if (target 397 struct nfc_target *target; local [all...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | annotate.c | 153 struct annotation_line *target; local 189 target = annotated_source__get_line(notes->src, cursor->ops.target.offset); 190 if (target == NULL) { 191 ui_helpline__printf("WARN: jump target inconsistency, press 'o', notes->offsets[%#x] = NULL\n", 192 cursor->ops.target.offset); 198 to = target->idx_asm; 201 to = (u64)target->idx; 450 * So all we check here is that dl->ops.target.sym is set, if it is, just 463 if (!dl->ops.target [all...] |
/linux-master/kernel/trace/ |
H A D | trace_events_filter.c | 146 * @target: Index to jump to on a branch (actually one minus the index) 151 int target; member in struct:prog_entry 157 * update_preds - assign a program entry a label target 162 * The program entry at @N has a target that points to the index of a program 163 * entry that can have its target and when_to_branch fields updated. 164 * Update the current program entry denoted by index @N target field to be 172 t = prog[N].target; 173 s = prog[t].target; 175 prog[t].target = N; 176 prog[N].target 622 int target = prog[i].target; local 2561 int target; local [all...] |
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_buffer.c | 305 u32 dwords, target; local 310 * We need at most 3 dwords in the return target: 314 target = etnaviv_buffer_reserve(gpu, buffer, dwords); 336 target); 370 u32 target, extra_dwords; local 391 target = etnaviv_buffer_reserve(gpu, buffer, extra_dwords); 394 * link target has been calculated, as the jump forward in the 451 /* Update the link target to point to above instructions */ 452 link_target = target; 458 * the ring buffer. return_target is the ring target addres [all...] |
/linux-master/usr/ |
H A D | gen_init_cpio.c | 108 static int cpio_mkslink(const char *name, const char *target, argument 124 (unsigned)strlen(target)+1, /* filesize */ 134 push_string(target); 142 char target[PATH_MAX + 1]; local 148 if (5 != sscanf(line, "%" str(PATH_MAX) "s %" str(PATH_MAX) "s %o %d %d", name, target, &mode, &uid, &gid)) { 152 rc = cpio_mkslink(name, target, mode, uid, gid); 521 "slink <name> <target> <mode> <uid> <gid>\n" 528 "<target> link target\n"
|
/linux-master/tools/perf/util/ |
H A D | evlist.h | 130 int evlist__start_sb_thread(struct evlist *evlist, struct target *target); 183 int evlist__prepare_workload(struct evlist *evlist, struct target *target, 214 int evlist__create_maps(struct evlist *evlist, struct target *target);
|
/linux-master/drivers/hwmon/ |
H A D | corsair-cpro.c | 69 * set target rpm 71 * send: byte 2-3 is target 87 int target[6]; member in struct:ccp_device 194 ccp->target[channel] = -ENODATA; 205 ccp->target[channel] = val; 264 /* how to read target values from the device is unknown */ 266 if (ccp->target[channel] < 0) 268 *val = ccp->target[channel]; 456 ccp->target[channel] = -ENODATA;
|
/linux-master/drivers/perf/hisilicon/ |
H A D | hisi_uncore_pmu.c | 493 unsigned int target; local 506 target = cpumask_any_and_but(&hisi_pmu->associated_cpus, 508 if (target >= nr_cpu_ids) 511 perf_pmu_migrate_context(&hisi_pmu->pmu, cpu, target); 513 hisi_pmu->on_cpu = target; 514 WARN_ON(irq_set_affinity(hisi_pmu->irq, cpumask_of(target)));
|
/linux-master/fs/configfs/ |
H A D | dir.c | 25 * Also protects mutations of symlinks linkage to target configfs_dirent 362 int configfs_create_link(struct configfs_dirent *target, struct dentry *parent, argument 370 err = configfs_make_dirent(p, dentry, target, mode, CONFIGFS_ITEM_LINK, 1000 * If we can find the target item in the 1026 * If the target is not found, -ENOENT is bubbled up. 1035 struct config_item *target) 1043 if (sd->s_element == target) /* Boo-yah */ 1051 target); 1057 /* We looped all our children and didn't find target */ 1065 struct config_item *target) 1034 configfs_depend_prep(struct dentry *origin, struct config_item *target) argument 1064 configfs_do_depend_item(struct dentry *subsys_dentry, struct config_item *target) argument 1108 configfs_depend_item(struct configfs_subsystem *subsys, struct config_item *target) argument 1158 configfs_undepend_item(struct config_item *target) argument 1190 configfs_depend_item_unlocked(struct configfs_subsystem *caller_subsys, struct config_item *target) argument [all...] |
/linux-master/drivers/mtd/nand/spi/ |
H A D | core.c | 109 * spinand_select_target() - Select a specific NAND target/die 111 * @target: the target/die to select 113 * Select a new target/die. If chip only has one die, this function is a NOOP. 117 int spinand_select_target(struct spinand_device *spinand, unsigned int target) argument 122 if (WARN_ON(target >= nand->memorg.ntargets)) 125 if (spinand->cur_target == target) 129 spinand->cur_target = target; 133 ret = spinand->select_target(spinand, target); 137 spinand->cur_target = target; 144 unsigned int target; local [all...] |
/linux-master/drivers/pci/ |
H A D | vgaarb.c | 1008 * read : Return a string indicating the status of the target. 1022 * target <card_ID> : switch target to card <card_ID> (see below) 1023 * lock <io_state> : acquire locks on target ("none" is invalid io_state) 1024 * trylock <io_state> : non-blocking acquire locks on target 1025 * unlock <io_state> : release locks on target 1026 * unlock all : release all locks on target held by this user 1029 * poll : event if something change on any card (not just the target) 1063 struct pci_dev *target; member in struct:vga_arb_private 1110 pdev = priv->target; [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | core.c | 136 /* strlen(',variant=') + strlen(ab->qmi.target.bdf_ext) */ 139 if (with_variant && ab->qmi.target.bdf_ext[0] != '\0') 141 ab->qmi.target.bdf_ext); 156 ab->qmi.target.chip_id, 157 ab->qmi.target.board_id, 164 ab->qmi.target.chip_id, 165 ab->qmi.target.board_id, variant); 587 if (ab->qmi.target.bdf_ext[0] != '\0') 613 strlen(smbios->bdf_ext), sizeof(ab->qmi.target.bdf_ext)); 623 copied = strscpy(ab->qmi.target [all...] |