/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-ctrl.c | 14 static int pvr2_ctrl_range_check(struct pvr2_ctrl *cptr,int val) argument 16 if (cptr->info->check_value) { 17 if (!cptr->info->check_value(cptr,val)) return -ERANGE; 18 } else if (cptr->info->type == pvr2_ctl_enum) { 20 if (val >= cptr->info->def.type_enum.count) return -ERANGE; 23 lim = cptr->info->def.type_int.min_value; 24 if (cptr->info->get_min_value) { 25 cptr->info->get_min_value(cptr, 39 pvr2_ctrl_set_value(struct pvr2_ctrl *cptr,int val) argument 46 pvr2_ctrl_set_mask_value(struct pvr2_ctrl *cptr,int mask,int val) argument 71 pvr2_ctrl_get_value(struct pvr2_ctrl *cptr,int *valptr) argument 83 pvr2_ctrl_get_type(struct pvr2_ctrl *cptr) argument 91 pvr2_ctrl_get_max(struct pvr2_ctrl *cptr) argument 107 pvr2_ctrl_get_min(struct pvr2_ctrl *cptr) argument 123 pvr2_ctrl_get_def(struct pvr2_ctrl *cptr, int *valptr) argument 139 pvr2_ctrl_get_cnt(struct pvr2_ctrl *cptr) argument 153 pvr2_ctrl_get_mask(struct pvr2_ctrl *cptr) argument 167 pvr2_ctrl_get_name(struct pvr2_ctrl *cptr) argument 175 pvr2_ctrl_get_desc(struct pvr2_ctrl *cptr) argument 183 pvr2_ctrl_get_valname(struct pvr2_ctrl *cptr,int val, char *bptr,unsigned int bmax, unsigned int *blen) argument 225 pvr2_ctrl_get_v4lid(struct pvr2_ctrl *cptr) argument 232 pvr2_ctrl_get_v4lflags(struct pvr2_ctrl *cptr) argument 251 pvr2_ctrl_is_writable(struct pvr2_ctrl *cptr) argument 259 pvr2_ctrl_has_custom_symbols(struct pvr2_ctrl *cptr) argument 269 pvr2_ctrl_custom_value_to_sym(struct pvr2_ctrl *cptr, int mask,int val, char *buf,unsigned int maxlen, unsigned int *len) argument 281 pvr2_ctrl_custom_sym_to_value(struct pvr2_ctrl *cptr, const char *buf,unsigned int len, int *maskptr,int *valptr) argument 455 pvr2_ctrl_sym_to_value(struct pvr2_ctrl *cptr, const char *ptr,unsigned int len, int *maskptr,int *valptr) argument 512 pvr2_ctrl_value_to_sym_internal(struct pvr2_ctrl *cptr, int mask,int val, char *buf,unsigned int maxlen, unsigned int *len) argument 552 pvr2_ctrl_value_to_sym(struct pvr2_ctrl *cptr, int mask,int val, char *buf,unsigned int maxlen, unsigned int *len) argument [all...] |
H A D | pvrusb2-hdw.c | 344 static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) argument 346 struct pvr2_hdw *hdw = cptr->hdw; 355 static int ctrl_channelfreq_set(struct pvr2_ctrl *cptr,int m,int v) argument 357 struct pvr2_hdw *hdw = cptr->hdw; 377 static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) argument 379 *vp = cptr->hdw->freqProgSlot; 383 static int ctrl_channelprog_set(struct pvr2_ctrl *cptr,int m,int v) argument 385 struct pvr2_hdw *hdw = cptr->hdw; 392 static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) argument 394 struct pvr2_hdw *hdw = cptr 399 ctrl_channel_set(struct pvr2_ctrl *cptr,int m,int slotId) argument 417 ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) argument 423 ctrl_freq_is_dirty(struct pvr2_ctrl *cptr) argument 428 ctrl_freq_clear_dirty(struct pvr2_ctrl *cptr) argument 433 ctrl_freq_set(struct pvr2_ctrl *cptr,int m,int v) argument 439 ctrl_cropl_min_get(struct pvr2_ctrl *cptr, int *left) argument 450 ctrl_cropl_max_get(struct pvr2_ctrl *cptr, int *left) argument 464 ctrl_cropt_min_get(struct pvr2_ctrl *cptr, int *top) argument 475 ctrl_cropt_max_get(struct pvr2_ctrl *cptr, int *top) argument 489 ctrl_cropw_max_get(struct pvr2_ctrl *cptr, int *width) argument 505 ctrl_croph_max_get(struct pvr2_ctrl *cptr, int *height) argument 521 ctrl_get_cropcapbl(struct pvr2_ctrl *cptr, int *val) argument 532 ctrl_get_cropcapbt(struct pvr2_ctrl *cptr, int *val) argument 543 ctrl_get_cropcapbw(struct pvr2_ctrl *cptr, int *val) argument 554 ctrl_get_cropcapbh(struct pvr2_ctrl *cptr, int *val) argument 565 ctrl_get_cropcapdl(struct pvr2_ctrl *cptr, int *val) argument 576 ctrl_get_cropcapdt(struct pvr2_ctrl *cptr, int *val) argument 587 ctrl_get_cropcapdw(struct pvr2_ctrl *cptr, int *val) argument 598 ctrl_get_cropcapdh(struct pvr2_ctrl *cptr, int *val) argument 609 ctrl_get_cropcappan(struct pvr2_ctrl *cptr, int *val) argument 620 ctrl_get_cropcappad(struct pvr2_ctrl *cptr, int *val) argument 631 ctrl_vres_max_get(struct pvr2_ctrl *cptr,int *vp) argument 642 ctrl_vres_min_get(struct pvr2_ctrl *cptr,int *vp) argument 653 ctrl_get_input(struct pvr2_ctrl *cptr,int *vp) argument 659 ctrl_check_input(struct pvr2_ctrl *cptr,int v) argument 666 ctrl_set_input(struct pvr2_ctrl *cptr,int m,int v) argument 671 ctrl_isdirty_input(struct pvr2_ctrl *cptr) argument 676 ctrl_cleardirty_input(struct pvr2_ctrl *cptr) argument 682 ctrl_freq_max_get(struct pvr2_ctrl *cptr, int *vp) argument 704 ctrl_freq_min_get(struct pvr2_ctrl *cptr, int *vp) argument 726 ctrl_cx2341x_is_dirty(struct pvr2_ctrl *cptr) argument 731 ctrl_cx2341x_clear_dirty(struct pvr2_ctrl *cptr) argument 737 ctrl_cx2341x_get(struct pvr2_ctrl *cptr,int *vp) argument 754 ctrl_cx2341x_set(struct pvr2_ctrl *cptr,int m,int v) argument 785 ctrl_cx2341x_getv4lflags(struct pvr2_ctrl *cptr) argument 810 ctrl_streamingenabled_get(struct pvr2_ctrl *cptr,int *vp) argument 816 ctrl_masterstate_get(struct pvr2_ctrl *cptr,int *vp) argument 822 ctrl_hsm_get(struct pvr2_ctrl *cptr,int *vp) argument 831 ctrl_stddetect_get(struct pvr2_ctrl *cptr, int *vp) argument 837 ctrl_stdavail_get(struct pvr2_ctrl *cptr,int *vp) argument 843 ctrl_stdavail_set(struct pvr2_ctrl *cptr,int m,int v) argument 855 ctrl_std_val_to_sym(struct pvr2_ctrl *cptr,int msk,int val, char *bufPtr,unsigned int bufSize, unsigned int *len) argument 863 ctrl_std_sym_to_val(struct pvr2_ctrl *cptr, const char *bufPtr,unsigned int bufSize, int *mskp,int *valp) argument 875 ctrl_stdcur_get(struct pvr2_ctrl *cptr,int *vp) argument 881 ctrl_stdcur_set(struct pvr2_ctrl *cptr,int m,int v) argument 893 ctrl_stdcur_is_dirty(struct pvr2_ctrl *cptr) argument 898 ctrl_stdcur_clear_dirty(struct pvr2_ctrl *cptr) argument 903 ctrl_signal_get(struct pvr2_ctrl *cptr,int *vp) argument 911 ctrl_audio_modes_present_get(struct pvr2_ctrl *cptr,int *vp) argument 2087 struct pvr2_ctrl *cptr; local 2352 struct pvr2_ctrl *cptr; local 2739 struct pvr2_ctrl *cptr; local 2756 struct pvr2_ctrl *cptr; local 2775 struct pvr2_ctrl *cptr,*cp2; local 2976 struct pvr2_ctrl *cptr; local 3025 struct pvr2_ctrl *cptr; local [all...] |
H A D | pvrusb2-sysfs.c | 59 struct pvr2_ctrl *cptr; member in struct:pvr2_sysfs_ctl_item 76 name = pvr2_ctrl_get_desc(cip->cptr); 91 tp = pvr2_ctrl_get_type(cip->cptr); 111 val = pvr2_ctrl_get_min(cip->cptr); 124 val = pvr2_ctrl_get_max(cip->cptr); 139 ret = pvr2_ctrl_get_def(cip->cptr, &val); 141 ret = pvr2_ctrl_value_to_sym(cip->cptr, ~0, val, 158 ret = pvr2_ctrl_get_value(cip->cptr, &val); 160 ret = pvr2_ctrl_value_to_sym(cip->cptr, ~0, val, 177 ret = pvr2_ctrl_get_value(cip->cptr, 285 struct pvr2_ctrl *cptr; local [all...] |
H A D | pvrusb2-v4l2.c | 166 struct pvr2_ctrl *cptr; local 171 cptr = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); 193 pvr2_ctrl_get_valname(cptr, val, 215 struct pvr2_ctrl *cptr; local 219 cptr = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); 221 ret = pvr2_ctrl_get_value(cptr, &val); 505 struct pvr2_ctrl *cptr; local 509 cptr = pvr2_hdw_get_ctrl_nextv4l( 511 if (cptr) 512 vc->id = pvr2_ctrl_get_v4lid(cptr); 605 struct pvr2_ctrl *cptr; local [all...] |
/linux-master/arch/x86/boot/ |
H A D | cmdline.c | 30 addr_t cptr; local 45 cptr = cmdline_ptr & 0xf; 48 while (cptr < 0x10000 && (c = rdfs8(cptr++))) { 102 addr_t cptr; local 115 cptr = cmdline_ptr & 0xf; 118 while (cptr < 0x10000) { 119 c = rdfs8(cptr++);
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-tar.c | 12 int *cptr; variable 20 cptr = (int *)shmat(shm_id, NULL, 0); 28 cptr[2] = 1; 31 while (!cptr[0]) 42 cptr[1] = 1; 43 shmdt((int *)cptr);
|
H A D | ptrace-tm-spd-gpr.c | 13 int *cptr, *pptr; variable 22 cptr[2] = 1; 23 while (!cptr[1]) 33 cptr = (int *)shmat(shm_id, NULL, 0); 36 cptr[2] = 0; 75 if (!cptr[0]) 78 shmdt((void *)cptr); 89 shmdt((void *)cptr);
|
H A D | ptrace-tm-spd-vsx.c | 12 int *cptr, *pptr; variable 37 cptr[2] = 1; 38 while (!cptr[1]) 47 cptr = (int *)shmat(shm_id, NULL, 0); 50 cptr[2] = 0; 82 if (!cptr[0]) 84 shmdt((void *)cptr); 92 shmdt((void *)cptr);
|
H A D | ptrace-tm-spd-tar.c | 12 int *cptr, *pptr; variable 16 cptr[2] = 1; 17 while (!cptr[1]) 27 cptr = (int *)shmat(shm_id, NULL, 0); 30 cptr[2] = 0; 81 if (!cptr[0]) 88 shmdt(&cptr); 97 shmdt(&cptr);
|
H A D | ptrace-tm-gpr.c | 13 unsigned long *cptr, *pptr; variable 26 cptr = (unsigned long *)shmat(shm_id, NULL, 0); 29 cptr[1] = 0; 59 [flt_2] "b" (&b), [cptr1] "b" (&cptr[1]) 68 if (!cptr[0]) 71 shmdt((void *)cptr); 83 shmdt((void *)cptr);
|
H A D | ptrace-tm-vsx.c | 12 unsigned long *cptr, *pptr; variable 34 cptr = (unsigned long *)shmat(shm_id, NULL, 0); 37 cptr[1] = 0; 64 : [sprn_texasr] "i" (SPRN_TEXASR), [cptr1] "b" (&cptr[1]) 70 if (!cptr[0]) 73 shmdt((void *)cptr); 80 shmdt((void *)cptr);
|
H A D | ptrace-tm-tar.c | 12 unsigned long *cptr, *pptr; variable 21 cptr = (unsigned long *)shmat(shm_id, NULL, 0); 24 cptr[1] = 0; 64 [dscr_2]"i"(DSCR_2), [cptr1] "b" (&cptr[1]) 70 if (!cptr[0]) 77 shmdt(&cptr); 86 shmdt(&cptr);
|
H A D | ptrace-vsx.c | 12 int *cptr, *pptr; variable 22 cptr = (int *)shmat(shm_id, NULL, 0); 24 cptr[1] = 1; 26 while (!cptr[0]) 28 shmdt((void *) cptr);
|
H A D | ptrace-tm-spr.c | 18 struct shared *cptr, *pptr; variable in typeref:struct:shared 37 cptr = (struct shared *)shmat(shm_id, NULL, 0); 82 if (!cptr->flag) 85 ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs); 86 shmdt((void *)cptr); 92 shmdt((void *)cptr);
|
H A D | ptrace-gpr.c | 14 int *cptr, *pptr; variable 28 cptr = (int *)shmat(shm_id, NULL, 0); 37 gpr_child_loop(&cptr[0], &cptr[1], gpr_buf, fpr_buf); 39 shmdt((void *)cptr);
|
/linux-master/sound/core/seq/ |
H A D | seq_clientmgr.c | 1190 struct snd_seq_client *cptr; local 1194 cptr = snd_seq_client_use_ptr(info->client); 1195 if (cptr == NULL) 1214 cptr->convert32 = (info->cpu_mode < sizeof(long)); 1216 snd_seq_client_unlock(cptr); 1221 static void get_client_info(struct snd_seq_client *cptr, argument 1224 info->client = cptr->number; 1227 info->type = cptr->type; 1228 strcpy(info->name, cptr->name); 1229 info->filter = cptr 1253 struct snd_seq_client *cptr; local 1382 struct snd_seq_client *cptr; local 1851 struct snd_seq_client *cptr; local 1982 struct snd_seq_client *cptr = NULL; local 2047 struct snd_seq_client *cptr = NULL; local 2075 struct snd_seq_client *cptr; local 2159 struct snd_seq_client *cptr; local 2428 struct snd_seq_client *cptr; local 2476 struct snd_seq_client *cptr; local 2560 snd_seq_kernel_client_put(struct snd_seq_client *cptr) argument [all...] |
H A D | seq_ump_client.c | 395 struct snd_seq_client *cptr; local 397 cptr = snd_seq_kernel_client_get(client->seq_client); 398 if (!cptr) 401 cptr->midi_version = SNDRV_SEQ_CLIENT_UMP_MIDI_2_0; 403 cptr->midi_version = SNDRV_SEQ_CLIENT_UMP_MIDI_1_0; 404 snd_seq_kernel_client_put(cptr); 410 struct snd_seq_client *cptr; local 414 cptr = snd_seq_kernel_client_get(client->seq_client); 415 if (!cptr) 422 cptr 472 struct snd_seq_client *cptr; local [all...] |
H A D | seq_clientmgr.h | 104 void snd_seq_kernel_client_put(struct snd_seq_client *cptr);
|
/linux-master/drivers/tty/serial/ |
H A D | kgdboc.c | 108 static int kgdboc_register_kbd(char **cptr) argument 110 if (strncmp(*cptr, "kbd", 3) == 0 || 111 strncmp(*cptr, "kdb", 3) == 0) { 115 if (cptr[0][3] == ',') 116 *cptr += 4; 172 char *cptr = config; local 185 if (strncmp(cptr, "kms,", 4) == 0) { 186 cptr += 4; 190 if (kgdboc_register_kbd(&cptr)) 193 p = tty_find_polling_driver(cptr, [all...] |
/linux-master/drivers/crypto/cavium/cpt/ |
H A D | request_manager.h | 129 u64 cptr:61; member in struct:vq_cmd_word3::__anon186 131 u64 cptr:61; 141 union vq_cmd_word3 cptr; member in struct:cpt_vq_command
|
/linux-master/drivers/media/pci/tw68/ |
H A D | tw68-video.c | 779 unsigned char *cptr; local 784 cptr = line; 785 cptr += sprintf(cptr, "%03x ", i); 788 cptr += sprintf(cptr, "%08x ", tw_readl(j)); 789 *cptr++ = ' '; 791 cptr += sprintf(cptr, "%08x ", tw_readl(j)); 792 *cptr [all...] |
/linux-master/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptvf_reqmgr.h | 107 u64 cptr:61; member in struct:otx_cpt_iq_cmd_word3::__anon126 109 u64 cptr:61; 119 union otx_cpt_iq_cmd_word3 cptr; member in struct:otx_cpt_iq_cmd
|
/linux-master/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 116 const struct mlxfw_mfa2_tlv_component_ptr *cptr; local 171 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv); 172 if (!cptr) { 179 be16_to_cpu(cptr->component_index)); 507 const struct mlxfw_mfa2_tlv_component_ptr *cptr; local 522 cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, cptr_tlv); 523 if (!cptr) 526 comp_idx = be16_to_cpu(cptr->component_index);
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | cn10k_cpt.h | 53 void cn10k_cpt_ctx_flush(struct pci_dev *pdev, u64 cptr, bool inval);
|
/linux-master/drivers/net/ppp/ |
H A D | bsd_comp.c | 133 unsigned short cptr; /* map code to hash table entry */ member in struct:bsd_dict 388 /* hsize = 69001; */ /* and 69001 is too big for cptr */ 491 db->dict[indx].cptr = 0; 716 indx = dictp2->cptr; 724 dictp2->cptr = hval; 1000 dictp = dict_ptr (db, dictp2->cptr); 1008 incode, finchar, dictp2->cptr, max_ent); 1018 printk("oldcode=0x%x cptr=0x%x codem1=0x%x\n", 1019 oldcode, dictp2->cptr, dictp->codem1); 1084 indx = dictp2->cptr; [all...] |