Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/firmware/broadcom/
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-v6.6/drivers/media/v4l2-core/
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-v6.6/tools/iio/
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-v6.6/drivers/clk/ti/
Dadpll.c175 const char *postfix) in ti_adpll_clk_get_name() argument
189 d->pa, postfix); in ti_adpll_clk_get_name()
202 const char *postfix = NULL; in ti_adpll_setup_clock() local
209 postfix = strrchr(name, '.'); in ti_adpll_setup_clock()
210 if (postfix && strlen(postfix) > 1) { in ti_adpll_setup_clock()
211 if (strlen(postfix) > ADPLL_MAX_CON_ID) in ti_adpll_setup_clock()
214 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock()
486 const char *postfix; in ti_adpll_init_dco() local
497 postfix = "dco"; in ti_adpll_init_dco()
499 postfix = NULL; in ti_adpll_init_dco()
[all …]
/Linux-v6.6/drivers/bluetooth/
Dbtbcm.c580 char postfix[16] = ""; in btbcm_initialize() local
647 snprintf(postfix, sizeof(postfix), "-%4.4x-%4.4x", vid, pid); in btbcm_initialize()
657 "brcm/%s%s.%s.hcd", hw_name, postfix, board_name); in btbcm_initialize()
661 "brcm/%s%s.hcd", hw_name, postfix); in btbcm_initialize()
667 "brcm/BCM%s.%s.hcd", postfix, board_name); in btbcm_initialize()
671 "brcm/BCM%s.hcd", postfix); in btbcm_initialize()
Dbtrtl.h138 const char *postfix);
155 const char *postfix) in btrtl_initialize() argument
Dbtrtl.c1038 const char *postfix) in btrtl_initialize() argument
1183 if (postfix) { in btrtl_initialize()
1185 btrtl_dev->ic_info->cfg_name, postfix); in btrtl_initialize()
/Linux-v6.6/tools/thermal/thermometer/
Dthermometer.c42 char postfix[PATH_MAX]; member
212 strftime(options->postfix, sizeof(options->postfix), in options_init()
237 strcpy(options->postfix, optarg); in options_init()
373 thermometer->tz[i].name, options->postfix); in thermometer_start()
/Linux-v6.6/drivers/iio/
Dindustrialio-event.c370 char *postfix; in iio_device_add_event() local
377 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event()
382 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event()
385 if (postfix == NULL) in iio_device_add_event()
396 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event()
400 kfree(postfix); in iio_device_add_event()
Diio_core.h40 int __iio_add_chan_devattr(const char *postfix,
Dindustrialio-core.c1004 const char *postfix, in __iio_device_attr_init() argument
1027 postfix); in __iio_device_attr_init()
1031 postfix); in __iio_device_attr_init()
1034 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init()
1039 postfix); in __iio_device_attr_init()
1136 int __iio_add_chan_devattr(const char *postfix, in __iio_add_chan_devattr() argument
1158 postfix, chan, in __iio_add_chan_devattr()
/Linux-v6.6/tools/testing/memblock/tests/
Dcommon.c154 void print_prefixes(const char *postfix) in print_prefixes() argument
158 test_print(postfix); in print_prefixes()
/Linux-v6.6/arch/powerpc/include/asm/
Dbitops.h151 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ argument
164 postfix \
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_request.c227 if (rq->postfix < head) { in __i915_request_fill()
231 memset(vaddr + head, val, rq->postfix - head); in __i915_request_fill()
384 rq->ring->head = rq->postfix; in i915_request_retire()
557 if (rq->infix == rq->postfix) in __i915_request_skip()
568 rq->infix = rq->postfix; in __i915_request_skip()
663 request->ring->vaddr + request->postfix); in __i915_request_submit()
1812 rq->postfix = intel_ring_offset(rq, cs); in __i915_request_commit()
Di915_request.h291 u32 postfix; member
/Linux-v6.6/tools/perf/util/
Ddata.h94 const char *postfix,
Ddata.c415 const char *postfix, in perf_data__switch() argument
426 if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0) in perf_data__switch()
/Linux-v6.6/drivers/pmdomain/imx/
Dscu-pd.c104 bool postfix; member
435 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
/Linux-v6.6/Documentation/driver-api/media/drivers/ccs/
Dmk-ccs-regs215 my ($this, $postfix, $is_same_reg) = @_;
218 my $varname = "ccs_reg_arg_" . (lc $name) . $postfix;
/Linux-v6.6/include/media/
Dv4l2-common.h184 const char *devname, const char *postfix);
243 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument
/Linux-v6.6/scripts/kconfig/
Dconfdata.c615 const char *postfix; member
621 .postfix = "#",
627 .postfix = " */",
642 fprintf(fp, "%s\n", cs->postfix); in conf_write_heading()
/Linux-v6.6/drivers/misc/cxl/
Dfile.c565 struct device **chardev, char *postfix, char *desc, in cxl_add_chardev() argument
579 "afu%i.%i%s", afu->adapter->adapter_num, afu->slice, postfix); in cxl_add_chardev()
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_ring.c209 if (bytes <= __intel_ring_space(target->postfix, in wait_for_space()
Dselftest_execlists.c236 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-v6.6/scripts/mod/
Dmodpost.c95 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()

12