| /linux/drivers/firmware/broadcom/ |
| H A D | bcm47xx_sprom.c | 37 static void create_key(const char *prefix, const char *postfix, in create_key() argument 40 if (prefix && postfix) in create_key() 41 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key() 44 else if (postfix) in create_key() 45 snprintf(buf, len, "%s%s", name, postfix); in create_key() 50 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument 56 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var() 60 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var() 68 const char *postfix, const char *name, \ 75 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \ [all …]
|
| /linux/drivers/iio/ |
| H A D | industrialio-event.c | 396 char *postfix; in iio_device_add_event() local 403 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event() 408 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event() 411 if (postfix == NULL) in iio_device_add_event() 422 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event() 426 kfree(postfix); in iio_device_add_event() 447 char *postfix; in iio_device_add_event_label() local 454 postfix = kasprintf(GFP_KERNEL, "%s_%s_label", in iio_device_add_event_label() 458 postfix = kasprintf(GFP_KERNEL, "%s_label", in iio_device_add_event_label() 460 if (postfix == NULL) in iio_device_add_event_label() [all …]
|
| H A D | iio_core.h | 41 int __iio_add_chan_devattr(const char *postfix,
|
| H A D | industrialio-core.c | 1045 const char *postfix, in __iio_device_attr_init() argument 1068 postfix); in __iio_device_attr_init() 1072 postfix); in __iio_device_attr_init() 1075 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init() 1080 postfix); in __iio_device_attr_init() 1177 int __iio_add_chan_devattr(const char *postfix, in __iio_add_chan_devattr() argument 1199 postfix, chan, in __iio_add_chan_devattr()
|
| /linux/tools/iio/ |
| H A D | lsiio.c | 34 static inline int check_postfix(const char *str, const char *postfix) in check_postfix() argument 36 return strlen(str) > strlen(postfix) && in check_postfix() 37 strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in check_postfix()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-i2c.c | 34 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument 38 if (!postfix) in v4l2_i2c_subdev_set_name() 39 postfix = ""; in v4l2_i2c_subdev_set_name() 41 snprintf(sd->name, sizeof(sd->name), "%s%s %d-%04x", devname, postfix, in v4l2_i2c_subdev_set_name()
|
| /linux/drivers/clk/ti/ |
| H A D | adpll.c | 177 const char *postfix) in ti_adpll_clk_get_name() argument 191 d->pa, postfix); in ti_adpll_clk_get_name() 204 const char *postfix = NULL; in ti_adpll_setup_clock() local 211 postfix = strrchr(name, '.'); in ti_adpll_setup_clock() 212 if (postfix && strlen(postfix) > 1) { in ti_adpll_setup_clock() 213 if (strlen(postfix) > ADPLL_MAX_CON_ID) in ti_adpll_setup_clock() 216 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock() 488 const char *postfix; in ti_adpll_init_dco() local 499 postfix = "dco"; in ti_adpll_init_dco() 501 postfix = NULL; in ti_adpll_init_dco() [all …]
|
| /linux/drivers/bluetooth/ |
| H A D | btbcm.c | 575 char postfix[16] = ""; in btbcm_initialize() local 642 snprintf(postfix, sizeof(postfix), "-%4.4x-%4.4x", vid, pid); in btbcm_initialize() 654 "brcm/%s%s.%s.hcd", hw_name, postfix, board_name); in btbcm_initialize() 658 "brcm/%s%s.hcd", hw_name, postfix); in btbcm_initialize() 664 "brcm/BCM%s.%s.hcd", postfix, board_name); in btbcm_initialize() 668 "brcm/BCM%s.hcd", postfix); in btbcm_initialize()
|
| H A D | btrtl.h | 138 const char *postfix); 155 const char *postfix) in btrtl_initialize() argument
|
| H A D | btrtl.c | 1064 const char *postfix) in btrtl_initialize() argument 1219 if (postfix) { in btrtl_initialize() 1221 btrtl_dev->ic_info->cfg_name, postfix); in btrtl_initialize()
|
| /linux/tools/thermal/thermometer/ |
| H A D | thermometer.c | 42 char postfix[PATH_MAX]; member 212 strftime(options->postfix, sizeof(options->postfix), in options_init() 237 strcpy(options->postfix, optarg); in options_init() 374 thermometer->tz[i].name, options->postfix); in thermometer_start()
|
| /linux/tools/testing/memblock/tests/ |
| H A D | common.c | 154 void print_prefixes(const char *postfix) in print_prefixes() argument 158 test_print(postfix); in print_prefixes()
|
| /linux/arch/powerpc/include/asm/ |
| H A D | bitops.h | 151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ argument 164 postfix \
|
| /linux/scripts/kconfig/ |
| H A D | confdata.c | 535 const char *postfix; member 541 .postfix = "#", 547 .postfix = " */", 562 fprintf(fp, "%s\n", cs->postfix); in conf_write_heading()
|
| /linux/kernel/bpf/ |
| H A D | log.c | 442 char postfix[16] = {0}, prefix[64] = {0}; in reg_type_str() local 471 strscpy(postfix, "or_null_"); in reg_type_str() 473 strscpy(postfix, "_or_null"); in reg_type_str() 487 prefix, str[base_type(type)], postfix); in reg_type_str()
|
| /linux/Documentation/driver-api/media/drivers/ccs/ |
| H A D | mk-ccs-regs | 247 my ($this, $postfix, $is_same_reg) = @_; 250 my $varname = "ccs_reg_arg_" . (lc $name) . $postfix;
|
| /linux/drivers/pmdomain/imx/ |
| H A D | scu-pd.c | 104 bool postfix; member 430 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
|
| /linux/tools/perf/util/ |
| H A D | data.h | 94 const char *postfix,
|
| H A D | data.c | 403 const char *postfix, in perf_data__switch() argument 412 if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0) in perf_data__switch()
|
| /linux/include/media/ |
| H A D | v4l2-common.h | 185 const char *devname, const char *postfix); 244 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm_tis.rst | 17 framework for FIFO drivers is named as tpm_tis_core. The postfix "tis" in
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ring.c | 209 if (bytes <= __intel_ring_space(target->postfix, in wait_for_space()
|
| H A D | selftest_execlists.c | 239 GEM_BUG_ON(rq[0]->postfix > ce[1]->ring->emit); in live_unlite_restore() 269 GEM_BUG_ON(rq[1]->postfix <= rq[0]->postfix); in live_unlite_restore() 292 GEM_BUG_ON(rq[0]->postfix > rq[1]->postfix); in live_unlite_restore()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_request.h | 292 u32 postfix; member
|
| /linux/scripts/mod/ |
| H A D | modpost.c | 95 static inline bool strends(const char *str, const char *postfix) in strends() argument 97 if (strlen(str) < strlen(postfix)) in strends() 100 return strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in strends()
|