cptr 30 arch/x86/boot/cmdline.c addr_t cptr; cptr 45 arch/x86/boot/cmdline.c cptr = cmdline_ptr & 0xf; cptr 48 arch/x86/boot/cmdline.c while (cptr < 0x10000 && (c = rdfs8(cptr++))) { cptr 102 arch/x86/boot/cmdline.c addr_t cptr; cptr 115 arch/x86/boot/cmdline.c cptr = cmdline_ptr & 0xf; cptr 118 arch/x86/boot/cmdline.c while (cptr < 0x10000) { cptr 119 arch/x86/boot/cmdline.c c = rdfs8(cptr++); cptr 477 drivers/crypto/cavium/cpt/cptvf_reqmanager.c vq_cmd.cptr.u64 = 0; cptr 478 drivers/crypto/cavium/cpt/cptvf_reqmanager.c vq_cmd.cptr.s.grp = group; cptr 528 drivers/crypto/cavium/cpt/cptvf_reqmanager.c cptinst.s.ei3 = vq_cmd.cptr.u64; cptr 127 drivers/crypto/cavium/cpt/request_manager.h u64 cptr:61; cptr 129 drivers/crypto/cavium/cpt/request_manager.h u64 cptr:61; cptr 139 drivers/crypto/cavium/cpt/request_manager.h union vq_cmd_word3 cptr; cptr 424 drivers/crypto/cavium/nitrox/nitrox_req.h u64 cptr : 61; cptr 426 drivers/crypto/cavium/nitrox/nitrox_req.h u64 cptr : 61; cptr 779 drivers/media/pci/tw68/tw68-video.c unsigned char *cptr; cptr 784 drivers/media/pci/tw68/tw68-video.c cptr = line; cptr 785 drivers/media/pci/tw68/tw68-video.c cptr += sprintf(cptr, "%03x ", i); cptr 788 drivers/media/pci/tw68/tw68-video.c cptr += sprintf(cptr, "%08x ", tw_readl(j)); cptr 789 drivers/media/pci/tw68/tw68-video.c *cptr++ = ' '; cptr 791 drivers/media/pci/tw68/tw68-video.c cptr += sprintf(cptr, "%08x ", tw_readl(j)); cptr 792 drivers/media/pci/tw68/tw68-video.c *cptr++ = '\n'; cptr 793 drivers/media/pci/tw68/tw68-video.c *cptr = 0; cptr 798 drivers/media/pci/tw68/tw68-video.c cptr = line; cptr 799 drivers/media/pci/tw68/tw68-video.c cptr += sprintf(cptr, "%03x ", i); cptr 803 drivers/media/pci/tw68/tw68-video.c cptr += sprintf(cptr, "%02x ", cptr 807 drivers/media/pci/tw68/tw68-video.c *cptr++ = ' '; cptr 809 drivers/media/pci/tw68/tw68-video.c *cptr++ = '\n'; cptr 810 drivers/media/pci/tw68/tw68-video.c *cptr = 0; cptr 14 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c static int pvr2_ctrl_range_check(struct pvr2_ctrl *cptr,int val) cptr 16 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->check_value) { cptr 17 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr->info->check_value(cptr,val)) return -ERANGE; cptr 18 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_enum) { cptr 20 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (val >= cptr->info->def.type_enum.count) return -ERANGE; cptr 23 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c lim = cptr->info->def.type_int.min_value; cptr 24 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->get_min_value) { cptr 25 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->get_min_value(cptr,&lim); cptr 28 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c lim = cptr->info->def.type_int.max_value; cptr 29 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->get_max_value) { cptr 30 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->get_max_value(cptr,&lim); cptr 39 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_set_value(struct pvr2_ctrl *cptr,int val) cptr 41 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return pvr2_ctrl_set_mask_value(cptr,~0,val); cptr 46 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_set_mask_value(struct pvr2_ctrl *cptr,int mask,int val) cptr 49 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return -EINVAL; cptr 50 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 51 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->set_value) { cptr 52 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->type == pvr2_ctl_bitmask) { cptr 53 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c mask &= cptr->info->def.type_bitmask.valid_bits; cptr 54 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if ((cptr->info->type == pvr2_ctl_int)|| cptr 55 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c (cptr->info->type == pvr2_ctl_enum)) { cptr 56 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = pvr2_ctrl_range_check(cptr,val); cptr 58 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type != pvr2_ctl_bool) { cptr 61 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->set_value(cptr,mask,val); cptr 65 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 71 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_value(struct pvr2_ctrl *cptr,int *valptr) cptr 74 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return -EINVAL; cptr 75 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 76 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->get_value(cptr,valptr); cptr 77 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 83 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c enum pvr2_ctl_type pvr2_ctrl_get_type(struct pvr2_ctrl *cptr) cptr 85 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return pvr2_ctl_int; cptr 86 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->type; cptr 91 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_max(struct pvr2_ctrl *cptr) cptr 94 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 95 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 96 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->get_max_value) { cptr 97 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->get_max_value(cptr,&ret); cptr 98 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_int) { cptr 99 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->def.type_int.max_value; cptr 101 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 107 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_min(struct pvr2_ctrl *cptr) cptr 110 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 111 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 112 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->get_min_value) { cptr 113 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->get_min_value(cptr,&ret); cptr 114 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_int) { cptr 115 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->def.type_int.min_value; cptr 117 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 123 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_def(struct pvr2_ctrl *cptr, int *valptr) cptr 126 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return -EINVAL; cptr 127 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 128 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->get_def_value) { cptr 129 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->get_def_value(cptr, valptr); cptr 131 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c *valptr = cptr->info->default_value; cptr 133 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 139 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_cnt(struct pvr2_ctrl *cptr) cptr 142 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 143 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 144 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->type == pvr2_ctl_enum) { cptr 145 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->def.type_enum.count; cptr 147 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 153 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_mask(struct pvr2_ctrl *cptr) cptr 156 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 157 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 158 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->type == pvr2_ctl_bitmask) { cptr 159 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = cptr->info->def.type_bitmask.valid_bits; cptr 161 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 167 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c const char *pvr2_ctrl_get_name(struct pvr2_ctrl *cptr) cptr 169 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return NULL; cptr 170 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->name; cptr 175 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c const char *pvr2_ctrl_get_desc(struct pvr2_ctrl *cptr) cptr 177 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return NULL; cptr 178 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->desc; cptr 183 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_valname(struct pvr2_ctrl *cptr,int val, cptr 188 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 190 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 191 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->type == pvr2_ctl_enum) { cptr 193 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c names = cptr->info->def.type_enum.value_names; cptr 194 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (pvr2_ctrl_range_check(cptr,val) == 0) { cptr 204 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_bitmask) { cptr 208 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c names = cptr->info->def.type_bitmask.bit_names; cptr 209 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c val &= cptr->info->def.type_bitmask.valid_bits; cptr 219 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 225 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_get_v4lid(struct pvr2_ctrl *cptr) cptr 227 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 228 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->v4l_id; cptr 232 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c unsigned int pvr2_ctrl_get_v4lflags(struct pvr2_ctrl *cptr) cptr 236 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->get_v4lflags) { cptr 237 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c flags = cptr->info->get_v4lflags(cptr); cptr 240 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->set_value) { cptr 251 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_is_writable(struct pvr2_ctrl *cptr) cptr 253 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 254 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->set_value != NULL; cptr 259 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_has_custom_symbols(struct pvr2_ctrl *cptr) cptr 261 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return 0; cptr 262 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr->info->val_to_sym) return 0; cptr 263 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr->info->sym_to_val) return 0; cptr 269 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_custom_value_to_sym(struct pvr2_ctrl *cptr, cptr 274 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return -EINVAL; cptr 275 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr->info->val_to_sym) return -EINVAL; cptr 276 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->val_to_sym(cptr,mask,val,buf,maxlen,len); cptr 281 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_custom_sym_to_value(struct pvr2_ctrl *cptr, cptr 285 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr) return -EINVAL; cptr 286 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (!cptr->info->sym_to_val) return -EINVAL; cptr 287 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c return cptr->info->sym_to_val(cptr,buf,len,maskptr,valptr); cptr 476 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_sym_to_value(struct pvr2_ctrl *cptr, cptr 496 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 497 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->type == pvr2_ctl_int) { cptr 500 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = pvr2_ctrl_range_check(cptr,*valptr); cptr 503 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_bool) { cptr 512 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_enum) { cptr 515 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->def.type_enum.value_names, cptr 516 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->def.type_enum.count); cptr 518 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = pvr2_ctrl_range_check(cptr,*valptr); cptr 521 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_bitmask) { cptr 524 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->def.type_bitmask.bit_names, cptr 525 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->def.type_bitmask.valid_bits); cptr 527 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 533 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_value_to_sym_internal(struct pvr2_ctrl *cptr, cptr 541 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c if (cptr->info->type == pvr2_ctl_int) { cptr 544 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_bool) { cptr 547 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_enum) { cptr 549 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c names = cptr->info->def.type_enum.value_names; cptr 551 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c (val < cptr->info->def.type_enum.count)) { cptr 561 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } else if (cptr->info->type == pvr2_ctl_bitmask) { cptr 563 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c val & mask & cptr->info->def.type_bitmask.valid_bits, cptr 565 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c cptr->info->def.type_bitmask.bit_names, cptr 573 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c int pvr2_ctrl_value_to_sym(struct pvr2_ctrl *cptr, cptr 579 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c LOCK_TAKE(cptr->hdw->big_lock); do { cptr 580 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c ret = pvr2_ctrl_value_to_sym_internal(cptr,mask,val, cptr 582 drivers/media/usb/pvrusb2/pvrusb2-ctrl.c } while(0); LOCK_GIVE(cptr->hdw->big_lock); cptr 344 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_channelfreq_get(struct pvr2_ctrl *cptr,int *vp) cptr 346 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 355 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_channelfreq_set(struct pvr2_ctrl *cptr,int m,int v) cptr 357 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 377 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_channelprog_get(struct pvr2_ctrl *cptr,int *vp) cptr 379 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = cptr->hdw->freqProgSlot; cptr 383 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_channelprog_set(struct pvr2_ctrl *cptr,int m,int v) cptr 385 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 392 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_channel_get(struct pvr2_ctrl *cptr,int *vp) cptr 394 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 399 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_channel_set(struct pvr2_ctrl *cptr,int m,int slotId) cptr 402 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 417 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_freq_get(struct pvr2_ctrl *cptr,int *vp) cptr 419 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = pvr2_hdw_get_cur_freq(cptr->hdw); cptr 423 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_freq_is_dirty(struct pvr2_ctrl *cptr) cptr 425 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return cptr->hdw->freqDirty != 0; cptr 428 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void ctrl_freq_clear_dirty(struct pvr2_ctrl *cptr) cptr 430 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->hdw->freqDirty = 0; cptr 433 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_freq_set(struct pvr2_ctrl *cptr,int m,int v) cptr 435 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pvr2_hdw_set_cur_freq(cptr->hdw,v); cptr 439 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropl_min_get(struct pvr2_ctrl *cptr, int *left) cptr 441 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 442 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 450 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropl_max_get(struct pvr2_ctrl *cptr, int *left) cptr 452 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 453 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 458 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cap->bounds.width > cptr->hdw->cropw_val) { cptr 459 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *left += cap->bounds.width - cptr->hdw->cropw_val; cptr 464 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropt_min_get(struct pvr2_ctrl *cptr, int *top) cptr 466 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 467 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 475 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropt_max_get(struct pvr2_ctrl *cptr, int *top) cptr 477 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 478 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 483 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cap->bounds.height > cptr->hdw->croph_val) { cptr 484 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *top += cap->bounds.height - cptr->hdw->croph_val; cptr 489 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cropw_max_get(struct pvr2_ctrl *cptr, int *width) cptr 491 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 494 drivers/media/usb/pvrusb2/pvrusb2-hdw.c stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 499 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cleft = cptr->hdw->cropl_val; cptr 505 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_croph_max_get(struct pvr2_ctrl *cptr, int *height) cptr 507 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 510 drivers/media/usb/pvrusb2/pvrusb2-hdw.c stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 515 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ctop = cptr->hdw->cropt_val; cptr 521 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapbl(struct pvr2_ctrl *cptr, int *val) cptr 523 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 524 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 532 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapbt(struct pvr2_ctrl *cptr, int *val) cptr 534 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 535 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 543 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapbw(struct pvr2_ctrl *cptr, int *val) cptr 545 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 546 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 554 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapbh(struct pvr2_ctrl *cptr, int *val) cptr 556 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 557 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 565 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapdl(struct pvr2_ctrl *cptr, int *val) cptr 567 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 568 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 576 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapdt(struct pvr2_ctrl *cptr, int *val) cptr 578 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 579 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 587 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapdw(struct pvr2_ctrl *cptr, int *val) cptr 589 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 590 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 598 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcapdh(struct pvr2_ctrl *cptr, int *val) cptr 600 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 601 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 609 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcappan(struct pvr2_ctrl *cptr, int *val) cptr 611 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 612 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 620 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_cropcappad(struct pvr2_ctrl *cptr, int *val) cptr 622 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; cptr 623 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int stat = pvr2_hdw_check_cropcap(cptr->hdw); cptr 631 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_vres_max_get(struct pvr2_ctrl *cptr,int *vp) cptr 634 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cptr->hdw->std_mask_cur & V4L2_STD_525_60) { cptr 642 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_vres_min_get(struct pvr2_ctrl *cptr,int *vp) cptr 645 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cptr->hdw->hdw_desc->flag_has_cx25840) { cptr 653 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_input(struct pvr2_ctrl *cptr,int *vp) cptr 655 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = cptr->hdw->input_val; cptr 659 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_check_input(struct pvr2_ctrl *cptr,int v) cptr 663 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return ((1UL << v) & cptr->hdw->input_allowed_mask) != 0; cptr 666 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_set_input(struct pvr2_ctrl *cptr,int m,int v) cptr 668 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return pvr2_hdw_set_input(cptr->hdw,v); cptr 671 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_isdirty_input(struct pvr2_ctrl *cptr) cptr 673 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return cptr->hdw->input_dirty != 0; cptr 676 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void ctrl_cleardirty_input(struct pvr2_ctrl *cptr) cptr 678 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->hdw->input_dirty = 0; cptr 682 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_freq_max_get(struct pvr2_ctrl *cptr, int *vp) cptr 685 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 704 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_freq_min_get(struct pvr2_ctrl *cptr, int *vp) cptr 707 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 726 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cx2341x_is_dirty(struct pvr2_ctrl *cptr) cptr 728 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return cptr->hdw->enc_stale != 0; cptr 731 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void ctrl_cx2341x_clear_dirty(struct pvr2_ctrl *cptr) cptr 733 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->hdw->enc_stale = 0; cptr 734 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->hdw->enc_unsafe_stale = 0; cptr 737 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cx2341x_get(struct pvr2_ctrl *cptr,int *vp) cptr 746 drivers/media/usb/pvrusb2/pvrusb2-hdw.c c1.id = cptr->info->v4l_id; cptr 747 drivers/media/usb/pvrusb2/pvrusb2-hdw.c ret = cx2341x_ext_ctrls(&cptr->hdw->enc_ctl_state, 0, &cs, cptr 754 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_cx2341x_set(struct pvr2_ctrl *cptr,int m,int v) cptr 757 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 764 drivers/media/usb/pvrusb2/pvrusb2-hdw.c c1.id = cptr->info->v4l_id; cptr 785 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static unsigned int ctrl_cx2341x_getv4lflags(struct pvr2_ctrl *cptr) cptr 789 drivers/media/usb/pvrusb2/pvrusb2-hdw.c qctrl.id = cptr->info->v4l_id; cptr 790 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cx2341x_ctrl_query(&cptr->hdw->enc_ctl_state,&qctrl); cptr 797 drivers/media/usb/pvrusb2/pvrusb2-hdw.c info = (struct pvr2_ctl_info *)(cptr->info); cptr 810 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_streamingenabled_get(struct pvr2_ctrl *cptr,int *vp) cptr 812 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = cptr->hdw->state_pipeline_req; cptr 816 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_masterstate_get(struct pvr2_ctrl *cptr,int *vp) cptr 818 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = cptr->hdw->master_state; cptr 822 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_hsm_get(struct pvr2_ctrl *cptr,int *vp) cptr 824 drivers/media/usb/pvrusb2/pvrusb2-hdw.c int result = pvr2_hdw_is_hsm(cptr->hdw); cptr 831 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_stddetect_get(struct pvr2_ctrl *cptr, int *vp) cptr 833 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = pvr2_hdw_get_detected_std(cptr->hdw); cptr 837 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_stdavail_get(struct pvr2_ctrl *cptr,int *vp) cptr 839 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = cptr->hdw->std_mask_avail; cptr 843 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_stdavail_set(struct pvr2_ctrl *cptr,int m,int v) cptr 845 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 855 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_std_val_to_sym(struct pvr2_ctrl *cptr,int msk,int val, cptr 863 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_std_sym_to_val(struct pvr2_ctrl *cptr, cptr 876 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_stdcur_get(struct pvr2_ctrl *cptr,int *vp) cptr 878 drivers/media/usb/pvrusb2/pvrusb2-hdw.c *vp = cptr->hdw->std_mask_cur; cptr 882 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_stdcur_set(struct pvr2_ctrl *cptr,int m,int v) cptr 884 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 894 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_stdcur_is_dirty(struct pvr2_ctrl *cptr) cptr 896 drivers/media/usb/pvrusb2/pvrusb2-hdw.c return cptr->hdw->std_dirty != 0; cptr 899 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void ctrl_stdcur_clear_dirty(struct pvr2_ctrl *cptr) cptr 901 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->hdw->std_dirty = 0; cptr 904 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_signal_get(struct pvr2_ctrl *cptr,int *vp) cptr 906 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 912 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_audio_modes_present_get(struct pvr2_ctrl *cptr,int *vp) cptr 916 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_hdw *hdw = cptr->hdw; cptr 962 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_get_##vname(struct pvr2_ctrl *cptr,int *vp) \ cptr 963 drivers/media/usb/pvrusb2/pvrusb2-hdw.c {*vp = cptr->hdw->vname##_val; return 0;} \ cptr 964 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_set_##vname(struct pvr2_ctrl *cptr,int m,int v) \ cptr 965 drivers/media/usb/pvrusb2/pvrusb2-hdw.c {cptr->hdw->vname##_val = v; cptr->hdw->vname##_dirty = !0; return 0;} \ cptr 966 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static int ctrl_isdirty_##vname(struct pvr2_ctrl *cptr) \ cptr 967 drivers/media/usb/pvrusb2/pvrusb2-hdw.c {return cptr->hdw->vname##_dirty != 0;} \ cptr 968 drivers/media/usb/pvrusb2/pvrusb2-hdw.c static void ctrl_cleardirty_##vname(struct pvr2_ctrl *cptr) \ cptr 969 drivers/media/usb/pvrusb2/pvrusb2-hdw.c {cptr->hdw->vname##_dirty = 0;} cptr 2088 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr; cptr 2162 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2163 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cptr->info->skip_init) continue; cptr 2164 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!cptr->info->set_value) continue; cptr 2165 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info->set_value(cptr,~0,cptr->info->default_value); cptr 2353 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr; cptr 2434 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2435 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->hdw = hdw; cptr 2441 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2442 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info = control_defs+idx; cptr 2459 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx + CTRLDEF_COUNT; cptr 2498 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info = ciptr; cptr 2511 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_STDAVAIL); cptr 2512 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cptr) { cptr 2513 drivers/media/usb/pvrusb2/pvrusb2-hdw.c memcpy(&hdw->std_info_avail,cptr->info, cptr 2515 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info = &hdw->std_info_avail; cptr 2521 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_STDCUR); cptr 2522 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cptr) { cptr 2523 drivers/media/usb/pvrusb2/pvrusb2-hdw.c memcpy(&hdw->std_info_cur,cptr->info, cptr 2525 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info = &hdw->std_info_cur; cptr 2531 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = pvr2_hdw_get_ctrl_by_id(hdw,PVR2_CID_STDDETECT); cptr 2532 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (cptr) { cptr 2533 drivers/media/usb/pvrusb2/pvrusb2-hdw.c memcpy(&hdw->std_info_detect,cptr->info, cptr 2535 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info = &hdw->std_info_detect; cptr 2736 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr; cptr 2742 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2743 drivers/media/usb/pvrusb2/pvrusb2-hdw.c i = cptr->info->internal_id; cptr 2744 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (i && (i == ctl_id)) return cptr; cptr 2753 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr; cptr 2759 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2760 drivers/media/usb/pvrusb2/pvrusb2-hdw.c i = cptr->info->v4l_id; cptr 2761 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (i && (i == ctl_id)) return cptr; cptr 2772 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr,*cp2; cptr 2779 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2780 drivers/media/usb/pvrusb2/pvrusb2-hdw.c i = cptr->info->v4l_id; cptr 2784 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cp2 = cptr; cptr 2973 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr; cptr 2980 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 2981 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!cptr->info->is_dirty) continue; cptr 2982 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!cptr->info->is_dirty(cptr)) continue; cptr 2987 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info->name); cptr 2989 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info->get_value(cptr,&value); cptr 2990 drivers/media/usb/pvrusb2/pvrusb2-hdw.c pvr2_ctrl_value_to_sym_internal(cptr,~0,value, cptr 2995 drivers/media/usb/pvrusb2/pvrusb2-hdw.c get_ctrl_typename(cptr->info->type)); cptr 3022 drivers/media/usb/pvrusb2/pvrusb2-hdw.c struct pvr2_ctrl *cptr; cptr 3157 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr = hdw->controls + idx; cptr 3158 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (!cptr->info->clear_dirty) continue; cptr 3159 drivers/media/usb/pvrusb2/pvrusb2-hdw.c cptr->info->clear_dirty(cptr); cptr 59 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c struct pvr2_ctrl *cptr; cptr 80 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c name = pvr2_ctrl_get_desc(cip->cptr); cptr 95 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c tp = pvr2_ctrl_get_type(cip->cptr); cptr 115 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c val = pvr2_ctrl_get_min(cip->cptr); cptr 128 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c val = pvr2_ctrl_get_max(cip->cptr); cptr 143 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_get_def(cip->cptr, &val); cptr 145 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_value_to_sym(cip->cptr, ~0, val, cptr 162 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_get_value(cip->cptr, &val); cptr 164 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_value_to_sym(cip->cptr, ~0, val, cptr 181 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_get_value(cip->cptr, &val); cptr 183 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_custom_value_to_sym(cip->cptr, ~0, val, cptr 199 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ecnt = pvr2_ctrl_get_cnt(cip->cptr); cptr 202 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c pvr2_ctrl_get_valname(cip->cptr, val, buf + bcnt, cptr 223 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c valid_bits = pvr2_ctrl_get_mask(cip->cptr); cptr 228 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c pvr2_ctrl_get_valname(cip->cptr, msk, buf + bcnt, cptr 246 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_custom_sym_to_value(cip->cptr, buf, count, cptr 249 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_sym_to_value(cip->cptr, buf, count, cptr 253 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c ret = pvr2_ctrl_set_mask_value(cip->cptr, mask, val); cptr 289 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c struct pvr2_ctrl *cptr; cptr 293 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,ctl_id); cptr 294 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c if (!cptr) return; cptr 300 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c cip->cptr = cptr; cptr 355 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c if (pvr2_ctrl_is_writable(cptr)) { cptr 367 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c if (pvr2_ctrl_has_custom_symbols(cptr)) { cptr 372 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c switch (pvr2_ctrl_get_type(cptr)) { cptr 390 drivers/media/usb/pvrusb2/pvrusb2-sysfs.c pvr2_ctrl_get_name(cptr)); cptr 166 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c struct pvr2_ctrl *cptr; cptr 171 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c cptr = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); cptr 193 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_ctrl_get_valname(cptr, val, cptr 215 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c struct pvr2_ctrl *cptr; cptr 219 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c cptr = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_INPUT); cptr 221 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c ret = pvr2_ctrl_get_value(cptr, &val); cptr 505 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c struct pvr2_ctrl *cptr; cptr 509 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c cptr = pvr2_hdw_get_ctrl_nextv4l( cptr 511 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (cptr) cptr 512 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->id = pvr2_ctrl_get_v4lid(cptr); cptr 514 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c cptr = pvr2_hdw_get_ctrl_v4l(hdw, vc->id); cptr 516 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (!cptr) { cptr 525 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->id, pvr2_ctrl_get_name(cptr), cptr 526 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_ctrl_get_desc(cptr)); cptr 527 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c strscpy(vc->name, pvr2_ctrl_get_desc(cptr), sizeof(vc->name)); cptr 528 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->flags = pvr2_ctrl_get_v4lflags(cptr); cptr 529 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_ctrl_get_def(cptr, &val); cptr 531 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c switch (pvr2_ctrl_get_type(cptr)) { cptr 535 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->maximum = pvr2_ctrl_get_cnt(cptr) - 1; cptr 546 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->minimum = pvr2_ctrl_get_min(cptr); cptr 547 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->maximum = pvr2_ctrl_get_max(cptr); cptr 553 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c vc->id, pvr2_ctrl_get_name(cptr)); cptr 605 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c struct pvr2_ctrl *cptr; cptr 613 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c cptr = pvr2_hdw_get_ctrl_v4l(hdw, ctrl->id); cptr 614 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (cptr) { cptr 616 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c pvr2_ctrl_get_def(cptr, &val); cptr 618 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c ret = pvr2_ctrl_get_value(cptr, &val); cptr 212 drivers/net/arcnet/rfc1201.c uint8_t *cptr = (uint8_t *)arp + sizeof(struct arphdr); cptr 214 drivers/net/arcnet/rfc1201.c if (!*cptr) { /* is saddr = 00? */ cptr 219 drivers/net/arcnet/rfc1201.c *cptr = saddr; cptr 222 drivers/net/arcnet/rfc1201.c *cptr); cptr 98 drivers/net/ethernet/cortina/gemini.c unsigned int cptr; cptr 597 drivers/net/ethernet/cortina/gemini.c txq->cptr = r; cptr 613 drivers/net/ethernet/cortina/gemini.c unsigned int c = txq->cptr; cptr 676 drivers/net/ethernet/cortina/gemini.c txq->cptr = c; cptr 1252 drivers/net/ethernet/cortina/gemini.c d = txq->cptr - w - 1; cptr 1257 drivers/net/ethernet/cortina/gemini.c d = txq->cptr - w - 1; cptr 1263 drivers/net/ethernet/cortina/gemini.c d = txq->cptr + nfrags + 16; cptr 116 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c const struct mlxfw_mfa2_tlv_component_ptr *cptr; cptr 171 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, tlv); cptr 172 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c if (!cptr) { cptr 179 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c be16_to_cpu(cptr->component_index)); cptr 507 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c const struct mlxfw_mfa2_tlv_component_ptr *cptr; cptr 522 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c cptr = mlxfw_mfa2_tlv_component_ptr_get(mfa2_file, cptr_tlv); cptr 523 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c if (!cptr) cptr 526 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c comp_idx = be16_to_cpu(cptr->component_index); cptr 133 drivers/net/ppp/bsd_comp.c unsigned short cptr; /* map code to hash table entry */ cptr 491 drivers/net/ppp/bsd_comp.c db->dict[indx].cptr = 0; cptr 716 drivers/net/ppp/bsd_comp.c indx = dictp2->cptr; cptr 724 drivers/net/ppp/bsd_comp.c dictp2->cptr = hval; cptr 1000 drivers/net/ppp/bsd_comp.c dictp = dict_ptr (db, dictp2->cptr); cptr 1008 drivers/net/ppp/bsd_comp.c incode, finchar, dictp2->cptr, max_ent); cptr 1019 drivers/net/ppp/bsd_comp.c oldcode, dictp2->cptr, dictp->codem1); cptr 1084 drivers/net/ppp/bsd_comp.c indx = dictp2->cptr; cptr 1092 drivers/net/ppp/bsd_comp.c dictp2->cptr = hval; cptr 3271 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c int cptr; cptr 3303 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR_4K; cptr 3305 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR_512; cptr 3307 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR; cptr 3309 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr); cptr 3310 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (ar9300_check_eeprom_header(ah, read, cptr)) cptr 3313 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR_4K; cptr 3315 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr); cptr 3316 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (ar9300_check_eeprom_header(ah, read, cptr)) cptr 3319 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR_512; cptr 3321 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr); cptr 3322 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (ar9300_check_eeprom_header(ah, read, cptr)) cptr 3326 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR; cptr 3327 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c ath_dbg(common, EEPROM, "Trying OTP access at Address 0x%04x\n", cptr); cptr 3328 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (ar9300_check_eeprom_header(ah, read, cptr)) cptr 3331 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr = AR9300_BASE_ADDR_512; cptr 3332 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c ath_dbg(common, EEPROM, "Trying OTP access at Address 0x%04x\n", cptr); cptr 3333 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (ar9300_check_eeprom_header(ah, read, cptr)) cptr 3342 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c if (!read(ah, cptr, word, COMP_HDR_LEN)) cptr 3352 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr, code, reference, length, major, minor); cptr 3356 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr -= COMP_HDR_LEN; cptr 3361 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c read(ah, cptr, word, COMP_HDR_LEN + osize + COMP_CKSUM_LEN); cptr 3373 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c cptr -= (COMP_HDR_LEN + osize + COMP_CKSUM_LEN); cptr 3377 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c return cptr; cptr 399 drivers/scsi/aha1740.c struct aha1740_chain * cptr; cptr 405 drivers/scsi/aha1740.c cptr = sgptr->sg_chain; cptr 407 drivers/scsi/aha1740.c cptr[i].datalen = sg_dma_len (sg); cptr 408 drivers/scsi/aha1740.c cptr[i].dataptr = sg_dma_address (sg); cptr 413 drivers/scsi/aha1740.c printk("cptr %x: ",cptr); cptr 414 drivers/scsi/aha1740.c ptr = (unsigned char *) cptr; cptr 255 drivers/scsi/hptiop.c u32 _tag, status, cptr, cur_rptr; cptr 276 drivers/scsi/hptiop.c cptr = *hba->u.mvfrey.outlist_cptr & 0xff; cptr 278 drivers/scsi/hptiop.c while (cur_rptr != cptr) { cptr 289 drivers/scsi/hptiop.c } while (cptr != (*hba->u.mvfrey.outlist_cptr & 0xff)); cptr 1639 drivers/staging/speakup/main.c unsigned int cptr[8]; cptr 1643 drivers/staging/speakup/main.c cptr[i] = i; cptr 1647 drivers/staging/speakup/main.c if (speakup_console[vc_num]->ht.bgcount[cptr[i]] > cptr 1648 drivers/staging/speakup/main.c speakup_console[vc_num]->ht.bgcount[cptr[j]]) cptr 1649 drivers/staging/speakup/main.c swap(cptr[i], cptr[j]); cptr 1652 drivers/staging/speakup/main.c if (speakup_console[vc_num]->ht.bgcount[cptr[i]] != 0) cptr 1653 drivers/staging/speakup/main.c if (speakup_console[vc_num]->ht.highsize[cptr[i]] > 0) cptr 1654 drivers/staging/speakup/main.c return cptr[i]; cptr 98 drivers/tty/serial/kgdboc.c static int kgdboc_register_kbd(char **cptr) cptr 100 drivers/tty/serial/kgdboc.c if (strncmp(*cptr, "kbd", 3) == 0 || cptr 101 drivers/tty/serial/kgdboc.c strncmp(*cptr, "kdb", 3) == 0) { cptr 105 drivers/tty/serial/kgdboc.c if (cptr[0][3] == ',') cptr 106 drivers/tty/serial/kgdboc.c *cptr += 4; cptr 148 drivers/tty/serial/kgdboc.c char *cptr = config; cptr 160 drivers/tty/serial/kgdboc.c if (strncmp(cptr, "kms,", 4) == 0) { cptr 161 drivers/tty/serial/kgdboc.c cptr += 4; cptr 165 drivers/tty/serial/kgdboc.c if (kgdboc_register_kbd(&cptr)) cptr 168 drivers/tty/serial/kgdboc.c p = tty_find_polling_driver(cptr, &tty_line); cptr 805 drivers/usb/storage/alauda.c unsigned char *bptr, *cptr, *xptr; cptr 853 drivers/usb/storage/alauda.c cptr = bptr + pagesize; cptr 855 drivers/usb/storage/alauda.c if (!nand_compare_ecc(cptr+13, ecc)) { cptr 858 drivers/usb/storage/alauda.c nand_store_ecc(cptr+13, ecc); cptr 861 drivers/usb/storage/alauda.c if (!nand_compare_ecc(cptr+8, ecc)) { cptr 864 drivers/usb/storage/alauda.c nand_store_ecc(cptr+8, ecc); cptr 866 drivers/usb/storage/alauda.c cptr[6] = cptr[11] = MSB_of(lbap); cptr 867 drivers/usb/storage/alauda.c cptr[7] = cptr[12] = LSB_of(lbap); cptr 874 drivers/usb/storage/alauda.c cptr = bptr + pagesize; cptr 878 drivers/usb/storage/alauda.c nand_store_ecc(cptr+13, ecc); cptr 880 drivers/usb/storage/alauda.c nand_store_ecc(cptr+8, ecc); cptr 859 drivers/usb/storage/sddr09.c unsigned char *bptr, *cptr, *xptr; cptr 900 drivers/usb/storage/sddr09.c cptr = bptr + info->pagesize; cptr 902 drivers/usb/storage/sddr09.c if (!nand_compare_ecc(cptr+13, ecc)) { cptr 905 drivers/usb/storage/sddr09.c nand_store_ecc(cptr+13, ecc); cptr 908 drivers/usb/storage/sddr09.c if (!nand_compare_ecc(cptr+8, ecc)) { cptr 911 drivers/usb/storage/sddr09.c nand_store_ecc(cptr+8, ecc); cptr 913 drivers/usb/storage/sddr09.c cptr[6] = cptr[11] = MSB_of(lbap); cptr 914 drivers/usb/storage/sddr09.c cptr[7] = cptr[12] = LSB_of(lbap); cptr 921 drivers/usb/storage/sddr09.c cptr = bptr + info->pagesize; cptr 925 drivers/usb/storage/sddr09.c nand_store_ecc(cptr+13, ecc); cptr 927 drivers/usb/storage/sddr09.c nand_store_ecc(cptr+8, ecc); cptr 65 fs/nfs/pnfs_dev.c unsigned char *cptr = (unsigned char *)id->data; cptr 71 fs/nfs/pnfs_dev.c x += *cptr++; cptr 404 fs/nfsd/nfs4state.c unsigned char *cptr = (unsigned char *) ptr; cptr 409 fs/nfsd/nfs4state.c x += *cptr++; cptr 3665 fs/xfs/libxfs/xfs_btree.c union xfs_btree_ptr cptr; /* current block ptr */ cptr 3888 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(tcur, right, &cptr, XFS_BB_LEFTSIB); cptr 3957 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(tcur, left, &cptr, XFS_BB_RIGHTSIB); cptr 3994 fs/xfs/libxfs/xfs_btree.c ASSERT(!xfs_btree_ptr_is_null(cur, &cptr)); cptr 4003 fs/xfs/libxfs/xfs_btree.c rptr = cptr; cptr 4020 fs/xfs/libxfs/xfs_btree.c lptr = cptr; cptr 4088 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, right, &cptr, XFS_BB_RIGHTSIB), cptr 4089 fs/xfs/libxfs/xfs_btree.c xfs_btree_set_sibling(cur, left, &cptr, XFS_BB_RIGHTSIB); cptr 4093 fs/xfs/libxfs/xfs_btree.c xfs_btree_get_sibling(cur, left, &cptr, XFS_BB_RIGHTSIB); cptr 4094 fs/xfs/libxfs/xfs_btree.c if (!xfs_btree_ptr_is_null(cur, &cptr)) { cptr 4095 fs/xfs/libxfs/xfs_btree.c error = xfs_btree_read_buf_block(cur, &cptr, 0, &rrblock, &rrbp); cptr 1379 net/ipv4/fib_trie.c struct key_vector __rcu **cptr = n->tnode; cptr 1397 net/ipv4/fib_trie.c while ((n = rcu_dereference(*cptr)) == NULL) { cptr 1432 net/ipv4/fib_trie.c cptr = &pn->tnode[cindex]; cptr 1171 sound/core/oss/mixer_oss.c const char *cptr; cptr 1178 sound/core/oss/mixer_oss.c cptr = snd_info_get_str(str, line, sizeof(str)); cptr 1187 sound/core/oss/mixer_oss.c cptr = snd_info_get_str(str, cptr, sizeof(str)); cptr 1195 sound/core/oss/mixer_oss.c snd_info_get_str(idxstr, cptr, sizeof(idxstr)); cptr 1191 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 1195 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(info->client); cptr 1196 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 1215 sound/core/seq/seq_clientmgr.c cptr->convert32 = (info->cpu_mode < sizeof(long)); cptr 1217 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 1222 sound/core/seq/seq_clientmgr.c static void get_client_info(struct snd_seq_client *cptr, cptr 1225 sound/core/seq/seq_clientmgr.c info->client = cptr->number; cptr 1228 sound/core/seq/seq_clientmgr.c info->type = cptr->type; cptr 1229 sound/core/seq/seq_clientmgr.c strcpy(info->name, cptr->name); cptr 1230 sound/core/seq/seq_clientmgr.c info->filter = cptr->filter; cptr 1231 sound/core/seq/seq_clientmgr.c info->event_lost = cptr->event_lost; cptr 1232 sound/core/seq/seq_clientmgr.c memcpy(info->event_filter, cptr->event_filter, 32); cptr 1233 sound/core/seq/seq_clientmgr.c info->num_ports = cptr->num_ports; cptr 1235 sound/core/seq/seq_clientmgr.c if (cptr->type == USER_CLIENT) cptr 1236 sound/core/seq/seq_clientmgr.c info->pid = pid_vnr(cptr->data.user.owner); cptr 1240 sound/core/seq/seq_clientmgr.c if (cptr->type == KERNEL_CLIENT) cptr 1241 sound/core/seq/seq_clientmgr.c info->card = cptr->data.kernel.card ? cptr->data.kernel.card->number : -1; cptr 1252 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 1255 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(client_info->client); cptr 1256 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 1259 sound/core/seq/seq_clientmgr.c get_client_info(cptr, client_info); cptr 1260 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 1363 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 1366 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(info->addr.client); cptr 1367 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 1370 sound/core/seq/seq_clientmgr.c port = snd_seq_port_use_ptr(cptr, info->addr.port); cptr 1372 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 1379 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 1824 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 1826 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(info->client); cptr 1827 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 1830 sound/core/seq/seq_clientmgr.c info->client = cptr->number; cptr 1831 sound/core/seq/seq_clientmgr.c info->output_pool = cptr->pool->size; cptr 1832 sound/core/seq/seq_clientmgr.c info->output_room = cptr->pool->room; cptr 1834 sound/core/seq/seq_clientmgr.c info->output_free = snd_seq_unused_cells(cptr->pool); cptr 1835 sound/core/seq/seq_clientmgr.c if (cptr->type == USER_CLIENT) { cptr 1836 sound/core/seq/seq_clientmgr.c info->input_pool = cptr->data.user.fifo_pool_size; cptr 1838 sound/core/seq/seq_clientmgr.c info->input_free = snd_seq_fifo_unused_cells(cptr->data.user.fifo); cptr 1843 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 1953 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr = NULL; cptr 1959 sound/core/seq/seq_clientmgr.c if ((cptr = snd_seq_client_use_ptr(subs->root.client)) == NULL) cptr 1961 sound/core/seq/seq_clientmgr.c if ((port = snd_seq_port_use_ptr(cptr, subs->root.port)) == NULL) cptr 2002 sound/core/seq/seq_clientmgr.c if (cptr) cptr 2003 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 2016 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr = NULL; cptr 2024 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(info->client); cptr 2025 sound/core/seq/seq_clientmgr.c if (cptr) cptr 2028 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 2031 sound/core/seq/seq_clientmgr.c get_client_info(cptr, info); cptr 2032 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 2044 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 2047 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(info->addr.client); cptr 2048 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 2053 sound/core/seq/seq_clientmgr.c port = snd_seq_port_query_nearest(cptr, info); cptr 2055 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 2063 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 2257 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 2274 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(client); cptr 2275 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 2278 sound/core/seq/seq_clientmgr.c if (!cptr->accept_output) { cptr 2281 sound/core/seq/seq_clientmgr.c mutex_lock(&cptr->ioctl_mutex); cptr 2282 sound/core/seq/seq_clientmgr.c result = snd_seq_client_enqueue_event(cptr, ev, file, blocking, cptr 2284 sound/core/seq/seq_clientmgr.c &cptr->ioctl_mutex); cptr 2285 sound/core/seq/seq_clientmgr.c mutex_unlock(&cptr->ioctl_mutex); cptr 2288 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 2303 sound/core/seq/seq_clientmgr.c struct snd_seq_client *cptr; cptr 2316 sound/core/seq/seq_clientmgr.c cptr = snd_seq_client_use_ptr(client); cptr 2317 sound/core/seq/seq_clientmgr.c if (cptr == NULL) cptr 2320 sound/core/seq/seq_clientmgr.c if (!cptr->accept_output) cptr 2323 sound/core/seq/seq_clientmgr.c result = snd_seq_deliver_event(cptr, ev, atomic, hop); cptr 2325 sound/core/seq/seq_clientmgr.c snd_seq_client_unlock(cptr); cptr 669 sound/drivers/vx/vx_core.c const unsigned char *image, *cptr; cptr 685 sound/drivers/vx/vx_core.c cptr = image; cptr 686 sound/drivers/vx/vx_core.c csum ^= *cptr; cptr 688 sound/drivers/vx/vx_core.c vx_outb(chip, TXH, *cptr++); cptr 689 sound/drivers/vx/vx_core.c csum ^= *cptr; cptr 691 sound/drivers/vx/vx_core.c vx_outb(chip, TXM, *cptr++); cptr 692 sound/drivers/vx/vx_core.c csum ^= *cptr; cptr 694 sound/drivers/vx/vx_core.c vx_outb(chip, TXL, *cptr++); cptr 13 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c int *cptr, *pptr; cptr 24 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c cptr = (int *)shmat(shm_id, NULL, 0); cptr 37 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c cptr[1] = 1; cptr 39 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c while (!cptr[0]) cptr 42 tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c shmdt((void *)cptr); cptr 12 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c int *cptr; cptr 20 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c cptr = (int *)shmat(shm_id, NULL, 0); cptr 28 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c cptr[2] = 1; cptr 31 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c while (!cptr[0]) cptr 42 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c cptr[1] = 1; cptr 43 tools/testing/selftests/powerpc/ptrace/ptrace-tar.c shmdt((int *)cptr); cptr 13 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c unsigned long *cptr, *pptr; cptr 26 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c cptr = (unsigned long *)shmat(shm_id, NULL, 0); cptr 29 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c cptr[1] = 0; cptr 59 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c [flt_2] "b" (&b), [cptr1] "b" (&cptr[1]) cptr 68 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c if (!cptr[0]) cptr 71 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c shmdt((void *)cptr); cptr 83 tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c shmdt((void *)cptr); cptr 13 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c int *cptr, *pptr; cptr 22 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c cptr[2] = 1; cptr 23 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c while (!cptr[1]) cptr 33 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c cptr = (int *)shmat(shm_id, NULL, 0); cptr 36 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c cptr[2] = 0; cptr 75 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c if (!cptr[0]) cptr 78 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c shmdt((void *)cptr); cptr 89 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c shmdt((void *)cptr); cptr 12 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c int *cptr, *pptr; cptr 16 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c cptr[2] = 1; cptr 17 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c while (!cptr[1]) cptr 27 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c cptr = (int *)shmat(shm_id, NULL, 0); cptr 30 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c cptr[2] = 0; cptr 81 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c if (!cptr[0]) cptr 88 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c shmdt(&cptr); cptr 97 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c shmdt(&cptr); cptr 12 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c int *cptr, *pptr; cptr 37 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c cptr[2] = 1; cptr 38 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c while (!cptr[1]) cptr 47 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c cptr = (int *)shmat(shm_id, NULL, 0); cptr 50 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c cptr[2] = 0; cptr 82 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c if (!cptr[0]) cptr 84 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c shmdt((void *)cptr); cptr 92 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c shmdt((void *)cptr); cptr 18 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c struct shared *cptr, *pptr; cptr 37 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c cptr = (struct shared *)shmat(shm_id, NULL, 0); cptr 82 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c if (!cptr->flag) cptr 85 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c ret = validate_tm_spr((struct tm_spr_regs *)&cptr->regs); cptr 86 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c shmdt((void *)cptr); cptr 92 tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c shmdt((void *)cptr); cptr 12 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c unsigned long *cptr, *pptr; cptr 21 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c cptr = (unsigned long *)shmat(shm_id, NULL, 0); cptr 24 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c cptr[1] = 0; cptr 64 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c [dscr_2]"i"(DSCR_2), [cptr1] "b" (&cptr[1]) cptr 70 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c if (!cptr[0]) cptr 77 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c shmdt(&cptr); cptr 86 tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c shmdt(&cptr); cptr 12 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c unsigned long *cptr, *pptr; cptr 34 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c cptr = (unsigned long *)shmat(shm_id, NULL, 0); cptr 37 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c cptr[1] = 0; cptr 64 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c : [sprn_texasr] "i" (SPRN_TEXASR), [cptr1] "b" (&cptr[1]) cptr 70 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c if (!cptr[0]) cptr 73 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c shmdt((void *)cptr); cptr 80 tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c shmdt((void *)cptr); cptr 12 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c int *cptr, *pptr; cptr 22 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c cptr = (int *)shmat(shm_id, NULL, 0); cptr 24 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c cptr[1] = 1; cptr 26 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c while (!cptr[0]) cptr 28 tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c shmdt((void *) cptr);