Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/firmware/broadcom/
Dbcm47xx_sprom.c35 static void create_key(const char *prefix, const char *postfix, in create_key() argument
38 if (prefix && postfix) in create_key()
39 snprintf(buf, len, "%s%s%s", prefix, name, postfix); in create_key()
42 else if (postfix) in create_key()
43 snprintf(buf, len, "%s%s", name, postfix); in create_key()
48 static int get_nvram_var(const char *prefix, const char *postfix, in get_nvram_var() argument
54 create_key(prefix, postfix, name, key, sizeof(key)); in get_nvram_var()
58 create_key(NULL, postfix, name, key, sizeof(key)); in get_nvram_var()
66 const char *postfix, const char *name, \
73 err = get_nvram_var(prefix, postfix, name, buf, sizeof(buf), \
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/drivers/clk/ti/
Dadpll.c184 const char *postfix) in ti_adpll_clk_get_name() argument
201 strlen(postfix), GFP_KERNEL); in ti_adpll_clk_get_name()
204 sprintf(buf, "%08lx.%s.%s", d->pa, base_name, postfix); in ti_adpll_clk_get_name()
218 const char *postfix = NULL; in ti_adpll_setup_clock() local
225 postfix = strrchr(name, '.'); in ti_adpll_setup_clock()
226 if (postfix && strlen(postfix) > 1) { in ti_adpll_setup_clock()
227 if (strlen(postfix) > ADPLL_MAX_CON_ID) in ti_adpll_setup_clock()
230 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock()
502 const char *postfix; in ti_adpll_init_dco() local
513 postfix = "dco"; in ti_adpll_init_dco()
[all …]
/Linux-v5.4/drivers/iio/
Dindustrialio-event.c351 char *postfix; in iio_device_add_event() local
358 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event()
363 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event()
366 if (postfix == NULL) in iio_device_add_event()
377 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event()
380 kfree(postfix); in iio_device_add_event()
Diio_core.h20 int __iio_add_chan_devattr(const char *postfix,
Dindustrialio-core.c876 const char *postfix, in __iio_device_attr_init() argument
899 postfix); in __iio_device_attr_init()
904 postfix); in __iio_device_attr_init()
907 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init()
912 postfix); in __iio_device_attr_init()
1009 int __iio_add_chan_devattr(const char *postfix, in __iio_add_chan_devattr() argument
1030 postfix, chan, in __iio_add_chan_devattr()
/Linux-v5.4/drivers/bluetooth/
Dbtrtl.h53 const char *postfix);
67 const char *postfix) in btrtl_initialize() argument
Dbtrtl.c535 const char *postfix) in btrtl_initialize() argument
592 if (postfix) { in btrtl_initialize()
594 btrtl_dev->ic_info->cfg_name, postfix); in btrtl_initialize()
/Linux-v5.4/arch/powerpc/include/asm/
Dbitops.h111 #define DEFINE_TESTOP(fn, op, prefix, postfix, eh) \ argument
125 postfix \
/Linux-v5.4/drivers/firmware/imx/
Dscu-pd.c79 bool postfix; member
246 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_request.c244 rq->ring->head = rq->postfix; in i915_request_retire()
436 request->ring->vaddr + request->postfix); in __i915_request_submit()
1094 if (rq->infix == rq->postfix) in i915_request_skip()
1103 if (rq->postfix < head) { in i915_request_skip()
1107 memset(vaddr + head, 0, rq->postfix - head); in i915_request_skip()
1108 rq->infix = rq->postfix; in i915_request_skip()
1199 rq->postfix = intel_ring_offset(rq, cs); in __i915_request_commit()
Di915_request.h192 u32 postfix; member
/Linux-v5.4/tools/perf/util/
Ddata.h72 const char *postfix,
Ddata.c365 const char *postfix, in perf_data__switch() argument
376 if (asprintf(new_filepath, "%s.%s", data->path, postfix) < 0) in perf_data__switch()
/Linux-v5.4/include/media/
Dv4l2-common.h182 const char *devname, const char *postfix);
241 const char *devname, const char *postfix) in v4l2_i2c_subdev_set_name() argument
/Linux-v5.4/drivers/misc/cxl/
Dfile.c565 struct device **chardev, char *postfix, char *desc, in cxl_add_chardev() argument
578 "afu%i.%i%s", afu->adapter->adapter_num, afu->slice, postfix); in cxl_add_chardev()
/Linux-v5.4/Documentation/block/
Dqueue-sysfs.rst10 Files denoted with a RO postfix are readonly and the RW postfix means
/Linux-v5.4/scripts/mod/
Dmodpost.c92 static inline bool strends(const char *str, const char *postfix) in strends() argument
94 if (strlen(str) < strlen(postfix)) in strends()
97 return strcmp(str + strlen(str) - strlen(postfix), postfix) == 0; in strends()
/Linux-v5.4/tools/perf/
Dbuiltin-record.c1709 const char *postfix = rec->timestamp_filename ? in __cmd_record() local
1720 data->path, postfix, samples); in __cmd_record()
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c216 const char* postfix) in get_fw_name() argument
221 postfix); in get_fw_name()
/Linux-v5.4/Documentation/locking/
Dww-mutex-design.rst80 These functions have the _slow postfix.
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dintel_engine_cs.c1328 rq->head, rq->postfix, rq->tail, in print_request_ring()
Dintel_ringbuffer.c1883 if (bytes <= __intel_ring_space(target->postfix, in wait_for_space()
/Linux-v5.4/Documentation/media/uapi/v4l/
Ddev-subdev.rst392 Actual targets (without a postfix) reflect the actual hardware

12