Home
last modified time | relevance | path

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

/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 …]
/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
198 d->pa, postfix); in ti_adpll_clk_get_name()
211 const char *postfix = NULL; in ti_adpll_setup_clock() local
218 postfix = strrchr(name, '.'); in ti_adpll_setup_clock()
219 if (postfix && strlen(postfix) > 1) { in ti_adpll_setup_clock()
220 if (strlen(postfix) > ADPLL_MAX_CON_ID) in ti_adpll_setup_clock()
223 snprintf(con_id, 16, "pll%03lx%s", d->pa & 0xfff, postfix + 1); in ti_adpll_setup_clock()
495 const char *postfix; in ti_adpll_init_dco() local
506 postfix = "dco"; in ti_adpll_init_dco()
508 postfix = NULL; in ti_adpll_init_dco()
[all …]
/drivers/iio/
Dindustrialio-event.c361 char *postfix; in iio_device_add_event() local
368 postfix = kasprintf(GFP_KERNEL, "%s_%s_%s", in iio_device_add_event()
373 postfix = kasprintf(GFP_KERNEL, "%s_%s", in iio_device_add_event()
376 if (postfix == NULL) in iio_device_add_event()
387 ret = __iio_add_chan_devattr(postfix, chan, show, store, in iio_device_add_event()
391 kfree(postfix); in iio_device_add_event()
Diio_core.h40 int __iio_add_chan_devattr(const char *postfix,
Dindustrialio-core.c1029 const char *postfix, in __iio_device_attr_init() argument
1052 postfix); in __iio_device_attr_init()
1057 postfix); in __iio_device_attr_init()
1060 full_postfix = kstrdup(postfix, GFP_KERNEL); in __iio_device_attr_init()
1065 postfix); in __iio_device_attr_init()
1162 int __iio_add_chan_devattr(const char *postfix, in __iio_add_chan_devattr() argument
1184 postfix, chan, in __iio_add_chan_devattr()
/drivers/bluetooth/
Dbtrtl.h53 const char *postfix);
69 const char *postfix) in btrtl_initialize() argument
Dbtbcm.c531 char postfix[16] = ""; in btbcm_initialize() local
589 snprintf(postfix, sizeof(postfix), "-%4.4x-%4.4x", vid, pid); in btbcm_initialize()
598 "brcm/%s%s.hcd", hw_name, postfix); in btbcm_initialize()
603 "brcm/BCM%s.hcd", postfix); in btbcm_initialize()
Dbtrtl.c564 const char *postfix) in btrtl_initialize() argument
666 if (postfix) { in btrtl_initialize()
668 btrtl_dev->ic_info->cfg_name, postfix); in btrtl_initialize()
/drivers/firmware/imx/
Dscu-pd.c87 bool postfix; member
310 if (pd_ranges->postfix) in imx_scu_add_pm_domain()
/drivers/gpu/drm/i915/
Di915_request.c208 if (rq->postfix < head) { in __i915_request_fill()
212 memset(vaddr + head, val, rq->postfix - head); in __i915_request_fill()
333 rq->ring->head = rq->postfix; in i915_request_retire()
507 if (rq->infix == rq->postfix) in __i915_request_skip()
518 rq->infix = rq->postfix; in __i915_request_skip()
613 request->ring->vaddr + request->postfix); in __i915_request_submit()
1642 rq->postfix = intel_ring_offset(rq, cs); in __i915_request_commit()
Di915_request.h253 u32 postfix; member
Di915_gpu_error.c1394 ee->rq_post = rq->postfix; in intel_engine_coredump_add_request()
/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()
/drivers/gpu/drm/i915/gt/
Dintel_ring.c205 if (bytes <= __intel_ring_space(target->postfix, in wait_for_space()
Dselftest_execlists.c237 GEM_BUG_ON(rq[0]->postfix > ce[1]->ring->emit); in live_unlite_restore()
267 GEM_BUG_ON(rq[1]->postfix <= rq[0]->postfix); in live_unlite_restore()
290 GEM_BUG_ON(rq[0]->postfix > rq[1]->postfix); in live_unlite_restore()
Dintel_engine_cs.c1616 rq->head, rq->postfix, rq->tail, in print_request_ring()
/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/gem/
Di915_gem_execbuffer.c2307 if (__intel_ring_space(rq->postfix, in eb_throttle()