/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, name, buf, sizeof(buf), \ [all …]
|
/linux/drivers/iio/ |
H A D | industrialio-event.c | 394 char *postfix; in iio_device_add_event() local 401 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event() 406 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event() 409 if (postfix == NULL) in iio_device_add_event() 420 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event() 424 kfree(postfix); in iio_device_add_event() 445 char *postfix; in iio_device_add_event_label() local 452 postfix = kasprintf(GFP_KERNEL, "%s_%s_label", in iio_device_add_event_label() 456 postfix = kasprintf(GFP_KERNEL, "%s_label", in iio_device_add_event_label() 458 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,
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-i2c.c | 33 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument 37 if (!postfix) in v4l2_i2c_subdev_set_name() 38 postfix = ""; in v4l2_i2c_subdev_set_name() 40 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 = "dco"; in ti_adpll_init_dco() 501 postfix = NULL; in ti_adpll_init_dco() [all …]
|
/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/drivers/bluetooth/ |
H A D | btrtl.h | 138 const char *postfix); 155 const char *postfix) in btrtl_initialize() argument
|
/linux/arch/powerpc/include/asm/ |
H A D | bitops.h | 151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ argument 164 postfix \
|
/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 | 184 const char *devname, const char *postfix); 243 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument
|
/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 | 432 const char *postfix, in perf_data__switch() argument 441 if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0) in perf_data__switch()
|
/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/misc/cxl/ |
H A D | file.c | 566 struct device **chardev, char *postfix, char *desc, in cxl_add_chardev() argument 580 "afu%i.%i%s", afu->adapter->adapter_num, afu->slice, postfix); in cxl_add_chardev()
|
/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 | intel_engine_cs.c | 2226 rq->head, rq->postfix, rq->tail, in print_request_ring()
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_request.h | 291 u32 postfix; member
|
H A D | i915_gpu_error.c | 1595 ee->rq_post = rq->postfix; in intel_engine_coredump_add_request()
|
/linux/scripts/mod/ |
H A D | modpost.c | 93 static inline bool strends(const char *str, const char *postfix) in strends() argument 95 if (strlen(str) < strlen(postfix)) in strends() 98 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()
|
/linux/Documentation/locking/ |
H A D | ww-mutex-design.rst | 80 These functions have the _slow postfix.
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_execbuffer.c | 2503 if (__intel_ring_space(rq->postfix, in eb_throttle()
|