/linux/drivers/firmware/broadcom/ |
H A D | bcm47xx_sprom.c | 36 static void create_key(const char *prefix, const char *postfix, in create_key() argument 39 if (prefix && postfix) in create_key() 40 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key() 43 else if (postfix) in create_key() 44 snprintf(buf, len, "%s%s", name, postfix); in create_key() 49 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument 55 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var() 59 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var() 67 const char *postfix, const char *name, \ 74 err = get_nvram_var(prefix, postfix, nam 412 char postfix[2]; bcm47xx_fill_sprom_path_r4589() local 463 char postfix[2]; bcm47xx_fill_sprom_path_r45() local [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 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 | 1038 const char *postfix, in __iio_device_attr_init() argument 1055 /* Build up postfix of <extend_name>_<modifier>_postfix */ in __iio_device_attr_init() 1061 postfix); in __iio_device_attr_init() 1065 postfix); in __iio_device_attr_init() 1068 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init() 1073 postfix); in __iio_device_attr_init() 1170 int __iio_add_chan_devattr(const char *postfix, in __iio_add_chan_devattr() argument 1192 postfix, chan, in __iio_add_chan_devattr()
|
/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/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/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 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() 652 "brcm/%s%s.%s.hcd", hw_name, postfix, board_name); in btbcm_initialize() 656 "brcm/%s%s.hcd", hw_name, postfix); in btbcm_initialize() 662 "brcm/BCM%s.%s.hcd", postfix, board_name); in btbcm_initialize() 666 "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 | 1059 const char *postfix) in btrtl_initialize() argument 1204 if (postfix) { in btrtl_initialize() 1206 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 188 printf("\t-p, --postfix <string>\tpostfix to be happened at the end of the files\n"); in usage() 205 { "postfix", required_argument, NULL, 'p' }, in options_init() 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/tools/perf/util/ |
H A D | data.h | 88 * perf.data.<postfix>, continue write on original data. 94 const char *postfix,
|
H A D | data.c | 412 const char *postfix, in perf_data__switch() argument 421 if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0) in perf_data__switch()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_request.c | 226 if (rq->postfix < head) { in __i915_request_fill() 230 memset(vaddr + head, val, rq->postfix - head); in __i915_request_fill() 383 rq->ring->head = rq->postfix; in i915_request_retire() 556 if (rq->infix == rq->postfix) in __i915_request_skip() 567 rq->infix = rq->postfix; in __i915_request_skip() 662 request->ring->vaddr + request->postfix); in __i915_request_submit() 1811 rq->postfix = intel_ring_offset(rq, cs); in __i915_request_commit()
|
H A D | i915_request.h | 287 * Position in the ring of the start of the postfix. 289 * without overwriting the postfix. 291 u32 postfix; member
|
/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/kernel/bpf/ |
H A D | log.c | 442 char postfix[16] = {0}, prefix[64] = {0}; in reg_type_str() local 470 strscpy(postfix, "or_null_"); in reg_type_str() 472 strscpy(postfix, "_or_null"); in reg_type_str() 486 prefix, str[base_type(type)], postfix); in reg_type_str()
|
/linux/include/media/ |
H A D | v4l2-common.h | 180 * @postfix: sub-device specific string to put right after the I²C device name; 184 const char *devname, const char *postfix); 243 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 | 236 GEM_BUG_ON(rq[0]->postfix > ce[1]->ring->emit); in live_unlite_restore() 266 GEM_BUG_ON(rq[1]->postfix <= rq[0]->postfix); in live_unlite_restore() 289 GEM_BUG_ON(rq[0]->postfix > rq[1]->postfix); in live_unlite_restore()
|
/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()
|
/linux/drivers/net/wireless/zydas/zd1211rw/ |
H A D | zd_usb.c | 215 const char* postfix) in get_fw_name() argument 220 postfix); in get_fw_name()
|