Home
last modified time | relevance | path

Searched refs:postfix (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c36 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 Dindustrialio-event.c394 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 Diio_core.h41 int __iio_add_chan_devattr(const char *postfix,
/linux/drivers/media/v4l2-core/
H A Dv4l2-i2c.c33 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 Dlsiio.c34 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 Dadpll.c177 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 Dcommon.c154 void print_prefixes(const char *postfix) in print_prefixes() argument
158 test_print(postfix); in print_prefixes()
/linux/drivers/bluetooth/
H A Dbtrtl.h138 const char *postfix);
155 const char *postfix) in btrtl_initialize() argument
/linux/arch/powerpc/include/asm/
H A Dbitops.h151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ argument
164 postfix \
/linux/kernel/bpf/
H A Dlog.c442 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 Dv4l2-common.h184 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 Dmk-ccs-regs247 my ($this, $postfix, $is_same_reg) = @_;
250 my $varname = "ccs_reg_arg_" . (lc $name) . $postfix;
/linux/drivers/pmdomain/imx/
H A Dscu-pd.c104 bool postfix; member
430 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
/linux/tools/perf/util/
H A Ddata.h94 const char *postfix,
H A Ddata.c432 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 Dtpm_tis.rst17 framework for FIFO drivers is named as tpm_tis_core. The postfix "tis" in
/linux/drivers/misc/cxl/
H A Dfile.c566 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 Dintel_ring.c209 if (bytes <= __intel_ring_space(target->postfix, in wait_for_space()
H A Dintel_engine_cs.c2226 rq->head, rq->postfix, rq->tail, in print_request_ring()
/linux/drivers/gpu/drm/i915/
H A Di915_request.h291 u32 postfix; member
H A Di915_gpu_error.c1595 ee->rq_post = rq->postfix; in intel_engine_coredump_add_request()
/linux/scripts/mod/
H A Dmodpost.c93 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 Dzd_usb.c215 const char* postfix) in get_fw_name() argument
220 postfix); in get_fw_name()
/linux/Documentation/locking/
H A Dww-mutex-design.rst80 These functions have the _slow postfix.
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c2503 if (__intel_ring_space(rq->postfix, in eb_throttle()

12