Home
last modified time | relevance | path

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

/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 …]
/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()
/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 …]
/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()
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()
Diio_core.h20 int __iio_add_chan_devattr(const char *postfix,
/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()
/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
Di915_gpu_error.c1418 ee->rq_post = request->postfix; in gem_record_rings()
/drivers/firmware/imx/
Dscu-pd.c79 bool postfix; member
246 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
/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()
/drivers/net/wireless/zydas/zd1211rw/
Dzd_usb.c216 const char* postfix) in get_fw_name() argument
221 postfix); in get_fw_name()
/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()
/drivers/gpu/drm/i915/gem/
Di915_gem_execbuffer.c2161 if (__intel_ring_space(rq->postfix, in eb_throttle()