/kernel/linux/linux-5.10/drivers/regulator/ |
H A D | ti-abb-regulator.c | 424 char *pname = "ti,settling-time"; in ti_abb_init_timings() local 427 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); in ti_abb_init_timings() 429 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings() 435 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings() 439 pname = "ti,clock-cycles"; in ti_abb_init_timings() 440 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); in ti_abb_init_timings() 442 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings() 447 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings() 511 char *pname = "ti,abb_info"; in ti_abb_init_table() local 522 num_entries = of_property_count_u32_elems(dev->of_node, pname); in ti_abb_init_table() 707 char *pname; ti_abb_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | ti-abb-regulator.c | 416 char *pname = "ti,settling-time"; in ti_abb_init_timings() local 419 ret = of_property_read_u32(dev->of_node, pname, &abb->settling_time); in ti_abb_init_timings() 421 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings() 427 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings() 431 pname = "ti,clock-cycles"; in ti_abb_init_timings() 432 ret = of_property_read_u32(dev->of_node, pname, &clock_cycles); in ti_abb_init_timings() 434 dev_err(dev, "Unable to get property '%s'(%d)\n", pname, ret); in ti_abb_init_timings() 439 dev_err(dev, "Invalid property:'%s' set as 0!\n", pname); in ti_abb_init_timings() 503 char *pname = "ti,abb_info"; in ti_abb_init_table() local 514 num_entries = of_property_count_u32_elems(dev->of_node, pname); in ti_abb_init_table() 699 char *pname; ti_abb_probe() local [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/src/ |
H A D | webgl2_rendering_context_override.cpp | 36 napi_value WebGL2RenderingContextImpl::GetParameter(napi_env env, GLenum pname) in GetParameter() argument 38 switch (pname) { in GetParameter() 41 str += std::string(const_cast<char*>(reinterpret_cast<const char*>(glGetString(pname)))); in GetParameter() 47 str += std::string(const_cast<char*>(reinterpret_cast<const char*>(glGetString(pname)))); in GetParameter() 58 return WebGLArg::GetUint32Parameter(env, pname); in GetParameter() 86 return WebGLArg::GetInt32Parameter(env, pname); in GetParameter() 92 return WebGLArg::GetInt64Parameter(env, pname); in GetParameter() 94 return WebGLArg::GetFloatParameter(env, pname); in GetParameter() 107 return WebGLArg::GetBoolParameter(env, pname); in GetParameter() 134 return WebGLRenderingContextBaseImpl::GetParameter(env, pname); in GetParameter() 137 GetTexParameter(napi_env env, GLenum target, GLenum pname) GetTexParameter() argument 211 GetFrameBufferAttachmentParameterForDefault( napi_env env, GLenum target, GLenum attachment, GLenum pname) GetFrameBufferAttachmentParameterForDefault() argument 260 HandleFrameBufferPname( napi_env env, GLenum target, GLenum attachment, GLenum pname, WebGLAttachment* attachmentObject) HandleFrameBufferPname() argument 305 GetFrameBufferAttachmentParameter( napi_env env, GLenum target, GLenum attachment, GLenum pname) GetFrameBufferAttachmentParameter() argument [all...] |
H A D | webgl_rendering_context_base_impl.cpp | 519 napi_value WebGLRenderingContextBaseImpl::GetBufferParameter(napi_env env, GLenum target, GLenum pname) in GetBufferParameter() argument 521 LOGD("WebGL getBufferParameter target %{public}u %{public}u", target, pname); in GetBufferParameter() 527 switch (pname) { in GetBufferParameter() 531 glGetBufferParameteriv(target, pname, &value); in GetBufferParameter() 585 napi_value WebGLRenderingContextBaseImpl::GetRenderBufferParameter(napi_env env, GLenum target, GLenum pname) in GetRenderBufferParameter() argument 588 LOGD("WebGL getRenderbufferParameter target %{public}u %{public}u", target, pname); in GetRenderBufferParameter() 602 switch (pname) { in GetRenderBufferParameter() 618 glGetRenderbufferParameteriv(target, pname, ¶ms); in GetRenderBufferParameter() 624 SET_ERROR_WITH_LOG(WebGLRenderingContextBase::INVALID_ENUM, "invalud pname %{public}u", pname); in GetRenderBufferParameter() 644 GetShaderParameter(napi_env env, napi_value object, GLenum pname) GetShaderParameter() argument 657 glGetShaderiv(static_cast<GLuint>(shaderId), pname, ¶ms); GetShaderParameter() local 663 glGetShaderiv(static_cast<GLuint>(shaderId), pname, ¶ms); GetShaderParameter() local 740 HandleFrameBufferAttachmentPname( napi_env env, GLenum target, GLenum attachment, GLenum pname, GLint type) HandleFrameBufferAttachmentPname() argument 795 GetFrameBufferAttachmentParameter( napi_env env, GLenum target, GLenum attachment, GLenum pname) GetFrameBufferAttachmentParameter() argument 922 GetProgramParameter(napi_env env, napi_value object, GLenum pname) GetProgramParameter() argument 937 glGetProgramiv(static_cast<GLuint>(programId), pname, ¶ms); GetProgramParameter() local 945 glGetProgramiv(static_cast<GLuint>(programId), pname, ¶ms); GetProgramParameter() local 957 glGetProgramiv(static_cast<GLuint>(programId), pname, ¶ms); GetProgramParameter() local 1047 GetVertexAttrib(napi_env env, GLenum pname, GLuint index, VertexAttribInfo* info) GetVertexAttrib() argument 1074 GetVertexAttrib(napi_env env, GLenum pname, GLuint index) GetVertexAttrib() argument 1112 GetExtensionsParameter(napi_env env, GLenum pname) GetExtensionsParameter() argument 1131 GetObjectParameter(napi_env env, GLenum pname) GetObjectParameter() argument 1140 GetIntegerVectorParameter( napi_env env, GLenum pname, GLuint count, BufferDataType dstDataType) GetIntegerVectorParameter() argument 1153 GetFloatVectorParameter( napi_env env, GLenum pname, GLuint count, BufferDataType dstDataType) GetFloatVectorParameter() argument 1166 GetBoolVectorParameter( napi_env env, GLenum pname, GLuint count, BufferDataType dstDataType) GetBoolVectorParameter() argument 1178 GetParameter(napi_env env, GLenum pname) GetParameter() argument 1395 GetVertexAttribOffset(napi_env env, GLuint index, GLenum pname) GetVertexAttribOffset() argument 1991 CheckTexParameter( napi_env env, GLenum target, GLenum pname, T param, bool isFloat) CheckTexParameter() argument 2034 TexParameteri(napi_env env, GLenum target, GLenum pname, GLint param) TexParameteri() argument 2047 TexParameterf(napi_env env, GLenum target, GLenum pname, GLfloat param) TexParameterf() argument 2060 GetTexParameter(napi_env env, GLenum target, GLenum pname) GetTexParameter() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/samsung/ |
H A D | clk.h | 67 #define FRATE(_id, cname, pname, f, frate) \ 71 .parent_name = pname, \ 94 #define FFACTOR(_id, cname, pname, m, d, f) \ 98 .parent_name = pname, \ 169 #define __DIV(_id, cname, pname, o, s, w, f, df, t) \ 173 .parent_name = pname, \ 182 #define DIV(_id, cname, pname, o, s, w) \ 183 __DIV(_id, cname, pname, o, s, w, 0, 0, NULL) 185 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ 186 __DIV(_id, cname, pname, [all...] |
/kernel/linux/linux-6.6/drivers/clk/samsung/ |
H A D | clk.h | 68 #define FRATE(_id, cname, pname, f, frate) \ 72 .parent_name = pname, \ 95 #define FFACTOR(_id, cname, pname, m, d, f) \ 99 .parent_name = pname, \ 170 #define __DIV(_id, cname, pname, o, s, w, f, df, t) \ 174 .parent_name = pname, \ 183 #define DIV(_id, cname, pname, o, s, w) \ 184 __DIV(_id, cname, pname, o, s, w, 0, 0, NULL) 186 #define DIV_F(_id, cname, pname, o, s, w, f, df) \ 187 __DIV(_id, cname, pname, [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/ |
H A D | nv_of.c | 42 const char *pname; in nvidia_probe_of_connector() local 47 pname = of_get_property(dp, "name", NULL); in nvidia_probe_of_connector() 48 if (!pname) in nvidia_probe_of_connector() 50 len = strlen(pname); in nvidia_probe_of_connector() 51 if ((pname[len-1] == 'A' && conn == 1) || in nvidia_probe_of_connector() 52 (pname[len-1] == 'B' && conn == 2)) { in nvidia_probe_of_connector()
|
/kernel/linux/linux-6.6/drivers/video/fbdev/nvidia/ |
H A D | nv_of.c | 42 const char *pname; in nvidia_probe_of_connector() local 46 pname = of_get_property(dp, "name", NULL); in nvidia_probe_of_connector() 47 if (!pname) in nvidia_probe_of_connector() 49 len = strlen(pname); in nvidia_probe_of_connector() 50 if ((pname[len-1] == 'A' && conn == 1) || in nvidia_probe_of_connector() 51 (pname[len-1] == 'B' && conn == 2)) { in nvidia_probe_of_connector()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_device_view.h | 202 static inline void hmdfs_get_lower_path(struct dentry *dent, struct path *pname) in hmdfs_get_lower_path() argument 205 pname->dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_get_lower_path() 206 pname->mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_get_lower_path() 207 path_get(pname); in hmdfs_get_lower_path() 211 static inline void hmdfs_put_lower_path(struct path *pname) in hmdfs_put_lower_path() argument 213 path_put(pname); in hmdfs_put_lower_path() 218 struct path pname; in hmdfs_put_reset_lower_path() local 222 pname.dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_put_reset_lower_path() 223 pname.mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_put_reset_lower_path() 227 path_put(&pname); in hmdfs_put_reset_lower_path() 233 hmdfs_set_lower_path(struct dentry *dent, struct path *pname) hmdfs_set_lower_path() argument [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_device_view.h | 202 static inline void hmdfs_get_lower_path(struct dentry *dent, struct path *pname) in hmdfs_get_lower_path() argument 205 pname->dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_get_lower_path() 206 pname->mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_get_lower_path() 207 path_get(pname); in hmdfs_get_lower_path() 211 static inline void hmdfs_put_lower_path(struct path *pname) in hmdfs_put_lower_path() argument 213 path_put(pname); in hmdfs_put_lower_path() 218 struct path pname; in hmdfs_put_reset_lower_path() local 222 pname.dentry = hmdfs_d(dent)->lower_path.dentry; in hmdfs_put_reset_lower_path() 223 pname.mnt = hmdfs_d(dent)->lower_path.mnt; in hmdfs_put_reset_lower_path() 227 path_put(&pname); in hmdfs_put_reset_lower_path() 233 hmdfs_set_lower_path(struct dentry *dent, struct path *pname) hmdfs_set_lower_path() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/rockchip/ |
H A D | clk.h | 468 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ 474 .parent_names = (const char *[]){ pname }, \ 486 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ 492 .parent_names = (const char *[]){ pname }, \ 562 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ 567 .parent_names = (const char *[]){ pname }, \ 579 #define COMPOSITE_FRACMUX(_id, cname, pname, f, mo, df, go, gs, gf, ch) \ 584 .parent_names = (const char *[]){ pname }, \ 597 #define COMPOSITE_FRACMUX_NOGATE(_id, cname, pname, f, mo, df, ch) \ 602 .parent_names = (const char *[]){ pname }, \ [all...] |
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/ |
H A D | egl_system_layers_manager.cpp | 48 bool EglSystemLayersManager::GetProcessName(pid_t pid, char *pname, int len) in GetProcessName() argument 61 *pname = 0; in GetProcessName() 65 if (fgets(pname, len, f) == nullptr) { in GetProcessName() 67 *pname = 0; in GetProcessName() 74 if (*pname == 0) { in GetProcessName() 234 char pname[pnameLen + 1] = {0}; in GetSystemLayers() local 235 bool res = GetProcessName(getpid(), pname, pnameLen); in GetSystemLayers() 240 WLOGD("GetProcessName() = %{public}s", pname); in GetSystemLayers() 245 return GetSystemLayersFromConfig(appModeSection, std::string(pname)); in GetSystemLayers()
|
/kernel/linux/linux-6.6/scripts/package/ |
H A D | builddeb | 28 local pname="$1" pdir="$2" 32 mkdir -p "$pdir/usr/share/doc/$pname" 33 cp debian/copyright "$pdir/usr/share/doc/$pname/" 34 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian" 35 gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian" 50 dpkg-gencontrol -p$pname -P"$pdir" 56 pname=$2 72 mkdir -p "${pdir}/usr/bin" "${pdir}/usr/share/doc/${pname}" 74 cp ${KCONFIG_CONFIG} "${pdir}/usr/share/doc/${pname}/config" 75 gzip "${pdir}/usr/share/doc/${pname}/confi [all...] |
/kernel/linux/linux-6.6/drivers/clk/rockchip/ |
H A D | clk.h | 593 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ 599 .parent_names = (const char *[]){ pname }, \ 611 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ 617 .parent_names = (const char *[]){ pname }, \ 687 #define COMPOSITE_FRAC(_id, cname, pname, f, mo, df, go, gs, gf)\ 692 .parent_names = (const char *[]){ pname }, \ 704 #define COMPOSITE_FRACMUX(_id, cname, pname, f, mo, df, go, gs, gf, ch) \ 709 .parent_names = (const char *[]){ pname }, \ 722 #define COMPOSITE_FRACMUX_NOGATE(_id, cname, pname, f, mo, df, ch) \ 727 .parent_names = (const char *[]){ pname }, \ [all...] |
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | fdtparams.c | 58 static int __init efi_get_fdt_prop(const void *fdt, int node, const char *pname, in efi_get_fdt_prop() argument 65 prop = fdt_getprop(fdt, node, pname, &len); in efi_get_fdt_prop() 114 const char *pname = dt_params[i].params[j]; in efi_get_fdt_params() local 116 if (!efi_get_fdt_prop(fdt, node, pname, name[j], in efi_get_fdt_params() 121 pr_err("Can't find property '%s' in DT!\n", pname); in efi_get_fdt_params()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | fdtparams.c | 60 static int __init efi_get_fdt_prop(const void *fdt, int node, const char *pname, in efi_get_fdt_prop() argument 67 prop = fdt_getprop(fdt, node, pname, &len); in efi_get_fdt_prop() 116 const char *pname = dt_params[i].params[j]; in efi_get_fdt_params() local 118 if (!efi_get_fdt_prop(fdt, node, pname, name[j], in efi_get_fdt_params() 123 pr_err("Can't find property '%s' in DT!\n", pname); in efi_get_fdt_params()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/include/context/ |
H A D | webgl_rendering_context_base_impl.h | 126 napi_value TexParameteri(napi_env env, GLenum target, GLenum pname, GLint param); 127 napi_value TexParameterf(napi_env env, GLenum target, GLenum pname, GLfloat param); 160 napi_value GetBufferParameter(napi_env env, GLenum target, GLenum pname); 165 napi_value GetRenderBufferParameter(napi_env env, GLenum target, GLenum pname); 175 napi_value GetShaderParameter(napi_env env, napi_value object, GLenum pname); 180 napi_value GetProgramParameter(napi_env env, napi_value object, GLenum pname); 205 napi_value PixelStorei(napi_env env, GLenum pname, GLint param); 211 napi_value GetVertexAttribOffset(napi_env env, GLuint index, GLenum pname); 215 napi_value GetVertexAttrib(napi_env env, GLenum pname, GLuint index, VertexAttribInfo* info); 216 napi_value GetVertexAttrib(napi_env env, GLenum pname, GLuin [all...] |
H A D | webgl2_rendering_context_impl.h | 53 napi_value SamplerParameter(napi_env env, napi_value samplerObj, GLenum pname, bool isFloat, void* param); 54 napi_value GetSamplerParameter(napi_env env, napi_value samplerObj, GLenum pname); 64 napi_value GetSyncParameter(napi_env env, napi_value syncObj, GLenum pname); 124 napi_value GetInternalFormatParameter(napi_env env, GLenum target, GLenum internalFormat, GLenum pname); 131 napi_value GetActiveUniforms(napi_env env, napi_value programObj, napi_value data, GLenum pname); 133 napi_env env, napi_value programObj, GLuint uniformBlockIndex, GLenum pname); 138 napi_value GetParameter(napi_env env, GLenum pname) override; 139 napi_value GetTexParameter(napi_env env, GLenum target, GLenum pname) override; 140 napi_value GetFrameBufferAttachmentParameter(napi_env env, GLenum target, GLenum attachment, GLenum pname) override; 147 napi_env env, GLenum target, GLenum attachment, GLenum pname); [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/ |
H A D | max98357a.c | 95 const char *pname; in avs_max98357a_probe() local 99 pname = mach->mach_params.platform; in avs_max98357a_probe() 102 ret = avs_create_dai_link(dev, pname, ssp_port, &dai_link); in avs_max98357a_probe() 125 ret = snd_soc_fixup_dai_links_platform_name(card, pname); in avs_max98357a_probe()
|
/kernel/linux/linux-5.10/scripts/package/ |
H A D | builddeb | 28 local pname="$1" pdir="$2" 32 mkdir -p "$pdir/usr/share/doc/$pname" 33 cp debian/copyright "$pdir/usr/share/doc/$pname/" 34 cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian" 35 gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian" 52 dpkg-gencontrol -p$pname -P"$pdir"
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | clk.h | 173 __string( pname, parent ? parent->name : "none" ) 178 __assign_str(pname, parent ? parent->name : "none"); 181 TP_printk("%s %s", __get_str(name), __get_str(pname)) 275 __string( pname, req->best_parent_hw ? clk_hw_get_name(req->best_parent_hw) : "none" ) 283 __assign_str(pname, req->best_parent_hw ? clk_hw_get_name(req->best_parent_hw) : "none"); 292 __get_str(pname),
|
/applications/sample/camera/cameraApp/cameraApp/src/main/cpp/ |
H A D | camera_manager.cpp | 240 char pname[128] = {0}; in CameraGetRecordFd() local 248 if (strcpy_s(static_cast<char *>(pname), sizeof(pname), VIDEO_PATH) != 0) { in CameraGetRecordFd() 252 if (strncat_s(pname, sizeof(pname), ps, pe - ps) != 0) { in CameraGetRecordFd() 256 if (strcat_s(pname, sizeof(pname), ".mp4") < 0) { in CameraGetRecordFd() 259 fd = open(pname, O_RDWR | O_CREAT | O_CLOEXEC | O_TRUNC, S_IROTH | S_IRUSR | S_IWUSR); in CameraGetRecordFd()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/ |
H A D | virtgpu_drv.c | 50 const char *pname = dev_name(&pdev->dev); in virtio_gpu_pci_quirk() local 56 pname); in virtio_gpu_pci_quirk() 93 snprintf(unique, sizeof(unique), "pci:%s", pname); in virtio_gpu_pci_quirk()
|
/kernel/linux/linux-5.10/arch/sparc/prom/ |
H A D | tree_64.c | 325 /* Set property 'pname' at node 'node' to value 'value' which has a length 329 prom_setprop(phandle node, const char *pname, char *value, int size) in prom_setprop() argument 335 if ((pname == 0) || (value == 0)) in prom_setprop() 340 ldom_set_var(pname, value); in prom_setprop() 348 args[4] = (unsigned long) pname; in prom_setprop()
|
/kernel/linux/linux-6.6/arch/sparc/prom/ |
H A D | tree_64.c | 325 /* Set property 'pname' at node 'node' to value 'value' which has a length 329 prom_setprop(phandle node, const char *pname, char *value, int size) in prom_setprop() argument 335 if ((pname == 0) || (value == 0)) in prom_setprop() 340 ldom_set_var(pname, value); in prom_setprop() 348 args[4] = (unsigned long) pname; in prom_setprop()
|