| /linux/drivers/media/usb/pvrusb2/ |
| A D | pvrusb2-ctrl.c | 17 if (!cptr->info->check_value(cptr,val)) return -ERANGE; in pvr2_ctrl_range_check() 25 cptr->info->get_min_value(cptr,&lim); in pvr2_ctrl_range_check() 30 cptr->info->get_max_value(cptr,&lim); in pvr2_ctrl_range_check() 61 ret = cptr->info->set_value(cptr,mask,val); in pvr2_ctrl_set_mask_value() 76 ret = cptr->info->get_value(cptr,valptr); in pvr2_ctrl_get_value() 97 cptr->info->get_max_value(cptr,&ret); in pvr2_ctrl_get_max() 113 cptr->info->get_min_value(cptr,&ret); in pvr2_ctrl_get_min() 129 ret = cptr->info->get_def_value(cptr, valptr); in pvr2_ctrl_get_def() 237 flags = cptr->info->get_v4lflags(cptr); in pvr2_ctrl_get_v4lflags() 276 return cptr->info->val_to_sym(cptr,mask,val,buf,maxlen,len); in pvr2_ctrl_custom_value_to_sym() [all …]
|
| A D | pvrusb2-hdw.c | 964 {cptr->hdw->vname##_val = v; cptr->hdw->vname##_dirty = !0; return 0;} \ 2164 cptr->info->set_value(cptr,~0,cptr->info->default_value); in pvr2_hdw_setup_low() 2434 cptr->hdw = hdw; in pvr2_hdw_create() 2497 cptr->info = ciptr; in pvr2_hdw_create() 2511 if (cptr) { in pvr2_hdw_create() 2521 if (cptr) { in pvr2_hdw_create() 2531 if (cptr) { in pvr2_hdw_create() 2787 cp2 = cptr; in pvr2_hdw_get_ctrl_nextv4l() 2985 if (!cptr->info->is_dirty(cptr)) continue; in pvr2_hdw_commit_setup() 2992 cptr->info->get_value(cptr,&value); in pvr2_hdw_commit_setup() [all …]
|
| A D | pvrusb2-sysfs.c | 59 struct pvr2_ctrl *cptr; member 76 name = pvr2_ctrl_get_desc(cip->cptr); in show_name() 91 tp = pvr2_ctrl_get_type(cip->cptr); in show_type() 111 val = pvr2_ctrl_get_min(cip->cptr); in show_min() 124 val = pvr2_ctrl_get_max(cip->cptr); in show_max() 195 ecnt = pvr2_ctrl_get_cnt(cip->cptr); in show_enum() 285 struct pvr2_ctrl *cptr; in pvr2_sysfs_add_control() local 290 if (!cptr) return; in pvr2_sysfs_add_control() 296 cip->cptr = cptr; in pvr2_sysfs_add_control() 351 if (pvr2_ctrl_is_writable(cptr)) { in pvr2_sysfs_add_control() [all …]
|
| A D | pvrusb2-v4l2.c | 166 struct pvr2_ctrl *cptr; in pvr2_enum_input() local 193 pvr2_ctrl_get_valname(cptr, val, in pvr2_enum_input() 215 struct pvr2_ctrl *cptr; in pvr2_g_input() local 505 struct pvr2_ctrl *cptr; in pvr2_queryctrl() local 511 if (cptr) in pvr2_queryctrl() 516 if (!cptr) { in pvr2_queryctrl() 526 pvr2_ctrl_get_desc(cptr)); in pvr2_queryctrl() 529 pvr2_ctrl_get_def(cptr, &val); in pvr2_queryctrl() 605 struct pvr2_ctrl *cptr; in pvr2_g_ext_ctrls() local 614 if (cptr) { in pvr2_g_ext_ctrls() [all …]
|
| /linux/arch/x86/boot/ |
| A D | cmdline.c | 30 addr_t cptr; in __cmdline_find_option() local 45 cptr = cmdline_ptr & 0xf; in __cmdline_find_option() 48 while (cptr < 0x10000 && (c = rdfs8(cptr++))) { in __cmdline_find_option() 102 addr_t cptr; in __cmdline_find_option_bool() local 115 cptr = cmdline_ptr & 0xf; in __cmdline_find_option_bool() 118 while (cptr < 0x10000) { in __cmdline_find_option_bool() 119 c = rdfs8(cptr++); in __cmdline_find_option_bool()
|
| /linux/sound/core/seq/ |
| A D | seq_clientmgr.c | 1193 if (cptr == NULL) in snd_seq_ioctl_running_mode() 1255 if (cptr == NULL) in snd_seq_ioctl_get_client_info() 1384 if (cptr == NULL) in snd_seq_ioctl_get_port_info() 1856 if (cptr == NULL) in snd_seq_ioctl_get_client_pool() 1991 if (!cptr) in snd_seq_ioctl_query_subs() 2035 if (cptr) in snd_seq_ioctl_query_subs() 2058 if (cptr) in snd_seq_ioctl_query_next_client() 2061 if (cptr == NULL) in snd_seq_ioctl_query_next_client() 2081 if (cptr == NULL) in snd_seq_ioctl_query_next_port() 2178 if (!cptr) in snd_seq_ioctl_client_ump_info() [all …]
|
| A D | seq_ump_client.c | 352 struct snd_seq_client *cptr; in setup_client_midi_version() local 355 if (!cptr) in setup_client_midi_version() 361 snd_seq_kernel_client_put(cptr); in setup_client_midi_version() 367 struct snd_seq_client *cptr; in setup_client_group_filter() local 372 if (!cptr) in setup_client_group_filter() 379 cptr->group_filter = filter; in setup_client_group_filter() 380 snd_seq_kernel_client_put(cptr); in setup_client_group_filter() 428 struct snd_seq_client *cptr; in snd_seq_ump_probe() local 465 if (!cptr) { in snd_seq_ump_probe() 469 cptr->ump_info = client->ump_info; in snd_seq_ump_probe() [all …]
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| A D | ptrace-tm-spd-gpr.c | 13 int *cptr, *pptr; variable 22 cptr[2] = 1; in wait_parent() 23 while (!cptr[1]) in wait_parent() 33 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_gpr() 36 cptr[2] = 0; in tm_spd_gpr() 75 if (!cptr[0]) in tm_spd_gpr() 78 shmdt((void *)cptr); in tm_spd_gpr() 89 shmdt((void *)cptr); in tm_spd_gpr()
|
| A D | ptrace-tm-spd-tar.c | 12 int *cptr, *pptr; variable 16 cptr[2] = 1; in wait_parent() 17 while (!cptr[1]) in wait_parent() 27 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_tar() 30 cptr[2] = 0; in tm_spd_tar() 81 if (!cptr[0]) in tm_spd_tar() 88 shmdt(&cptr); in tm_spd_tar() 97 shmdt(&cptr); in tm_spd_tar()
|
| A D | ptrace-tm-spd-vsx.c | 12 int *cptr, *pptr; variable 37 cptr[2] = 1; in wait_parent() 38 while (!cptr[1]) in wait_parent() 47 cptr = (int *)shmat(shm_id, NULL, 0); in tm_spd_vsx() 50 cptr[2] = 0; in tm_spd_vsx() 82 if (!cptr[0]) in tm_spd_vsx() 84 shmdt((void *)cptr); in tm_spd_vsx() 92 shmdt((void *)cptr); in tm_spd_vsx()
|
| A D | ptrace-tm-gpr.c | 13 unsigned long *cptr, *pptr; variable 26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_gpr() 29 cptr[1] = 0; in tm_gpr() 59 [flt_2] "b" (&b), [cptr1] "b" (&cptr[1]) in tm_gpr() 68 if (!cptr[0]) in tm_gpr() 71 shmdt((void *)cptr); in tm_gpr() 83 shmdt((void *)cptr); in tm_gpr()
|
| A D | ptrace-tm-tar.c | 12 unsigned long *cptr, *pptr; variable 21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_tar() 24 cptr[1] = 0; in tm_tar() 64 [dscr_2]"i"(DSCR_2), [cptr1] "b" (&cptr[1]) in tm_tar() 70 if (!cptr[0]) in tm_tar() 77 shmdt(&cptr); in tm_tar() 86 shmdt(&cptr); in tm_tar()
|
| A D | ptrace-tm-vsx.c | 12 unsigned long *cptr, *pptr; variable 34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); in tm_vsx() 37 cptr[1] = 0; in tm_vsx() 64 : [sprn_texasr] "i" (SPRN_TEXASR), [cptr1] "b" (&cptr[1]) in tm_vsx() 70 if (!cptr[0]) in tm_vsx() 73 shmdt((void *)cptr); in tm_vsx() 80 shmdt((void *)cptr); in tm_vsx()
|
| A D | ptrace-tar.c | 12 int *cptr; variable 20 cptr = (int *)shmat(shm_id, NULL, 0); in tar() 28 cptr[2] = 1; in tar() 31 while (!cptr[0]) in tar() 42 cptr[1] = 1; in tar() 43 shmdt((int *)cptr); in tar()
|
| A D | ptrace-tm-spr.c | 18 struct shared *cptr, *pptr; variable 37 cptr = (struct shared *)shmat(shm_id, NULL, 0); in tm_spr() 82 if (!cptr->flag) in tm_spr() 85 ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs); in tm_spr() 86 shmdt((void *)cptr); in tm_spr() 92 shmdt((void *)cptr); in tm_spr()
|
| A D | ptrace-vsx.c | 12 int *cptr, *pptr; variable 22 cptr = (int *)shmat(shm_id, NULL, 0); in vsx() 24 cptr[1] = 1; in vsx() 26 while (!cptr[0]) in vsx() 28 shmdt((void *) cptr); in vsx()
|
| A D | ptrace-gpr.c | 14 int *cptr, *pptr; variable 28 cptr = (int *)shmat(shm_id, NULL, 0); in child() 37 gpr_child_loop(&cptr[0], &cptr[1], gpr_buf, fpr_buf); in child() 39 shmdt((void *)cptr); in child()
|
| /linux/arch/arm64/include/asm/ |
| A D | kvm_emulate.h | 552 u64 cptr = 0; \ 555 cptr |= CPTR_EL2_TFP; \ 557 cptr |= CPTR_EL2_TZ; \ 559 cptr |= CPTR_EL2_TSM; \ 561 cptr |= CPTR_EL2_TTA; \ 567 cptr; \ 572 u64 cptr = 0; \ 577 cptr |= CPTR_EL2_TZ; \ 587 cptr; \ 660 cptr = translate_cptr_el2_to_cpacr_el1(cptr); in vcpu_sanitised_cptr_el2() [all …]
|
| /linux/arch/arm64/kvm/ |
| A D | pauth.c | 160 u64 ptr, cptr, pac, mask; in kvm_auth_eretax() local 181 cptr = to_canonical_addr(vcpu, ptr, mask); in kvm_auth_eretax() 183 pac = compute_pac(vcpu, cptr, ikey); in kvm_auth_eretax() 191 *elr = cptr; in kvm_auth_eretax() 200 cptr = corrupt_addr(vcpu, cptr); in kvm_auth_eretax() 202 cptr = ptr ^ (pac & mask); in kvm_auth_eretax() 204 *elr = cptr; in kvm_auth_eretax()
|
| /linux/drivers/tty/serial/ |
| A D | kgdboc.c | 135 static int kgdboc_register_kbd(char **cptr) in kgdboc_register_kbd() argument 137 if (strncmp(*cptr, "kbd", 3) == 0 || in kgdboc_register_kbd() 138 strncmp(*cptr, "kdb", 3) == 0) { in kgdboc_register_kbd() 142 if (cptr[0][3] == ',') in kgdboc_register_kbd() 143 *cptr += 4; in kgdboc_register_kbd() 200 char *cptr = config; in configure_kgdboc() local 213 if (strncmp(cptr, "kms,", 4) == 0) { in configure_kgdboc() 214 cptr += 4; in configure_kgdboc() 218 if (kgdboc_register_kbd(&cptr)) in configure_kgdboc() 221 p = tty_find_polling_driver(cptr, &tty_line); in configure_kgdboc()
|
| /linux/drivers/media/pci/tw68/ |
| A D | tw68-video.c | 784 cptr = line; in tw68_dump_regs() 785 cptr += sprintf(cptr, "%03x ", i); in tw68_dump_regs() 788 cptr += sprintf(cptr, "%08x ", tw_readl(j)); in tw68_dump_regs() 789 *cptr++ = ' '; in tw68_dump_regs() 791 cptr += sprintf(cptr, "%08x ", tw_readl(j)); in tw68_dump_regs() 792 *cptr++ = '\n'; in tw68_dump_regs() 793 *cptr = 0; in tw68_dump_regs() 798 cptr = line; in tw68_dump_regs() 799 cptr += sprintf(cptr, "%03x ", i); in tw68_dump_regs() 803 cptr += sprintf(cptr, "%02x ", in tw68_dump_regs() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxfw/ |
| A D | mlxfw_mfa2.c | 116 const struct mlxfw_mfa2_tlv_component_ptr *cptr; in mlxfw_mfa2_file_dev_validate() local 171 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv); in mlxfw_mfa2_file_dev_validate() 172 if (!cptr) { in mlxfw_mfa2_file_dev_validate() 179 be16_to_cpu(cptr->component_index)); in mlxfw_mfa2_file_dev_validate() 507 const struct mlxfw_mfa2_tlv_component_ptr *cptr; in mlxfw_mfa2_file_component_find() local 522 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, cptr_tlv); in mlxfw_mfa2_file_component_find() 523 if (!cptr) in mlxfw_mfa2_file_component_find() 526 comp_idx = be16_to_cpu(cptr->component_index); in mlxfw_mfa2_file_component_find()
|
| /linux/drivers/crypto/cavium/cpt/ |
| A D | request_manager.h | 129 u64 cptr:61; member 131 u64 cptr:61; 141 union vq_cmd_word3 cptr; member
|
| /linux/arch/arm64/kvm/hyp/vhe/ |
| A D | switch.c | 70 u64 cptr; in __activate_cptr_traps() local 109 cptr = vcpu_sanitised_cptr_el2(vcpu); in __activate_cptr_traps() 125 if (!(SYS_FIELD_GET(CPACR_ELx, FPEN, cptr) & BIT(0))) in __activate_cptr_traps() 127 if (!(SYS_FIELD_GET(CPACR_ELx, ZEN, cptr) & BIT(0))) in __activate_cptr_traps() 131 val |= cptr & CPACR_ELx_E0POE; in __activate_cptr_traps() 133 val |= cptr & CPTR_EL2_TCPAC; in __activate_cptr_traps()
|
| /linux/drivers/net/ppp/ |
| A D | bsd_comp.c | 133 unsigned short cptr; /* map code to hash table entry */ member 491 db->dict[indx].cptr = 0; in bsd_init() 716 indx = dictp2->cptr; in bsd_compress() 724 dictp2->cptr = hval; in bsd_compress() 1000 dictp = dict_ptr (db, dictp2->cptr); in bsd_decompress() 1008 incode, finchar, dictp2->cptr, max_ent); in bsd_decompress() 1019 oldcode, dictp2->cptr, dictp->codem1); in bsd_decompress() 1084 indx = dictp2->cptr; in bsd_decompress() 1092 dictp2->cptr = hval; in bsd_decompress()
|