/drivers/gpu/drm/nouveau/core/core/ |
H A D | client.c | 205 nouveau_client_create_(const char *name, u64 devname, const char *cfg, argument 233 snprintf(client->name, sizeof(client->name), "%s", name); 251 const char *name[2] = { "fini", "suspend" }; local 253 nv_debug(client, "%s running\n", name[suspend]); 254 nv_debug(client, "%s notify\n", name[suspend]); 257 nv_debug(client, "%s object\n", name[suspend]); 259 nv_debug(client, "%s completed with %d\n", name[suspend], ret); 269 client_name = client->name; [all...] |
H A D | handle.c | 31 struct nouveau_handle *p = (h)->parent; u32 n = p ? p->name : ~0; \ 32 nv_printk((c), l, "0x%08x:0x%08x "f, n, (h)->name, ##a); \ 68 static char *name[2] = { "fini", "suspend" }; local 72 hprintk(handle, TRACE, "%s children\n", name[suspend]); 79 hprintk(handle, TRACE, "%s running\n", name[suspend]); 86 hprintk(handle, TRACE, "%s completed\n", name[suspend]); 89 hprintk(handle, ERROR, "%s failed with %d\n", name[suspend], ret); 118 handle->name = _handle; 175 nouveau_handle_ref(struct nouveau_object *parent, u32 name) argument 183 handle = nouveau_namedb_get(nv_namedb(parent), name); [all...] |
H A D | namedb.c | 31 nouveau_namedb_lookup(struct nouveau_namedb *namedb, u32 name) argument 36 if (handle->name == name) 88 nouveau_namedb_insert(struct nouveau_namedb *namedb, u32 name, argument 94 if (!nouveau_namedb_lookup(namedb, name)) { 116 nouveau_namedb_get(struct nouveau_namedb *namedb, u32 name) argument 120 handle = nouveau_namedb_lookup(namedb, name);
|
/drivers/gpu/drm/nouveau/core/engine/ |
H A D | falcon.c | 75 char name[32] = "internal"; local 119 snprintf(name, sizeof(name), "nouveau/nv%02x_fuc%03x", 122 ret = request_firmware(&fw, name, nv_device_base(device)); 138 snprintf(name, sizeof(name), "nouveau/nv%02x_fuc%03xd", 141 ret = request_firmware(&fw, name, nv_device_base(device)); 153 snprintf(name, sizeof(name), "nouveau/nv%02x_fuc%03xc", 156 ret = request_firmware(&fw, name, nv_device_bas [all...] |
H A D | xtensa.c | 103 char name[32]; local 112 snprintf(name, sizeof(name), "nouveau/nv84_xuc%03x", 115 ret = request_firmware(&fw, name, nv_device_base(device)); 117 nv_warn(xtensa, "unable to load firmware %s\n", name); 122 nv_warn(xtensa, "firmware %s too large\n", name);
|
/drivers/gpu/drm/nouveau/core/engine/graph/ |
H A D | ctx.h | 56 cp_name(struct nouveau_grctx *ctx, int name) argument 64 ctx->ctxprog_label[name] = ctx->ctxprog_len; 68 if ((ctxprog[i] & CP_BRA_IP) != ((name) << CP_BRA_IP_SHIFT)) 76 _cp_bra(struct nouveau_grctx *ctx, u32 mod, int flag, int state, int name) argument 81 ip = ctx->ctxprog_label[name] << CP_BRA_IP_SHIFT; 83 ip = 0xff000000 | (name << CP_BRA_IP_SHIFT);
|
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | subdev.h | 7 #define NV_SUBDEV(name,var) NV_SUBDEV_(NVDEV_SUBDEV_##name, (var)) 12 const char *name; member in struct:nouveau_subdev 55 nv_printk((s)->base.parent, (s)->name, l, f, ##a); \
|
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.h | 47 char name[32]; member in struct:nouveau_fence_chan
|
H A D | nouveau_nvif.c | 110 nvkm_client_init(const char *name, u64 device, const char *cfg, argument 116 ret = nouveau_client_create(name, device, cfg, dbg, &client); 127 .name = "nvkm",
|
/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_lvdsenc.c | 147 char name[7]; local 149 sprintf(name, "lvds.%u", lvds->index); 151 mem = platform_get_resource_byname(pdev, IORESOURCE_MEM, name); 156 lvds->clock = devm_clk_get(&pdev->dev, name); 158 dev_err(&pdev->dev, "failed to get clock for %s\n", name);
|
/drivers/hid/ |
H A D | hid-steelseries.c | 235 char *name; local 284 name = (void *)(&led[1]); 285 snprintf(name, name_sz, "SRWS1::%s::RPMALL", hdev->uniq); 286 led->name = name; 305 name = (void *)(&led[1]); 306 snprintf(name, name_sz, "SRWS1::%s::RPM%d", hdev->uniq, i+1); 307 led->name = name; 383 .name [all...] |
/drivers/hid/usbhid/ |
H A D | usbmouse.c | 52 char name[128]; member in struct:usb_mouse 158 strlcpy(mouse->name, dev->manufacturer, sizeof(mouse->name)); 162 strlcat(mouse->name, " ", sizeof(mouse->name)); 163 strlcat(mouse->name, dev->product, sizeof(mouse->name)); 166 if (!strlen(mouse->name)) 167 snprintf(mouse->name, sizeof(mouse->name), [all...] |
/drivers/hsi/clients/ |
H A D | nokia-modem.c | 39 const char *name; member in struct:nokia_modem_gpio 79 sysfs_remove_link(&dev->kobj, modem->gpios[i].name); 121 &(modem->gpios[i].name)); 123 dev_err(dev, "Could not get gpio name %d\n", i); 135 err = gpiod_export_link(dev, modem->gpios[i].name, 193 ssip.name = "ssi-protocol"; 262 .name = "nokia-modem",
|
/drivers/hwmon/ |
H A D | hwmon.c | 31 const char *name; member in struct:hwmon_device 39 return sprintf(buf, "%s\n", to_hwmon_device(dev)->name); 41 static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); 53 if (to_hwmon_device(dev)->name == NULL) 75 .name = "hwmon", 86 * @name: hwmon name attribute 96 hwmon_device_register_with_groups(struct device *dev, const char *name, argument 103 /* Do not accept invalid characters in hwmon name attribute */ 104 if (name 189 devm_hwmon_device_register_with_groups(struct device *dev, const char *name, void *drvdata, const struct attribute_group **groups) argument [all...] |
H A D | k8temp.c | 43 const char *name; member in struct:k8temp_data 108 return sprintf(buf, "%s\n", data->name); 136 static DEVICE_ATTR(name, S_IRUGO, show_name, NULL); 248 data->name = "k8temp"; 324 .name = "k8temp",
|
H A D | mc13783-adc.c | 40 char name[PLATFORM_NAME_SIZE]; member in struct:mc13783_adc_priv 48 return sprintf(buf, "%s\n", priv->name); 114 static DEVICE_ATTR(name, S_IRUGO, mc13783_adc_show_name, NULL); 187 snprintf(priv->name, ARRAY_SIZE(priv->name), "%s", id->name); 188 dash = strchr(priv->name, '-'); 256 .name = "mc13783-adc", 259 .name = "mc13892-adc", 271 .name [all...] |
/drivers/i2c/busses/ |
H A D | i2c-taos-evm.c | 54 /* Instantiate i2c devices based on the adapter name */ 57 if (!strncmp(adapter->name, "TAOS TSL2550 EVM", 16)) { 183 /* Extract the adapter name from the buffer received after reset. 205 char *name; local 238 name = taos_adapter_name(taos->buffer); 239 if (!name) { 244 strlcpy(adapter->name, name, sizeof(adapter->name)); 301 .name [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_debugfs.c | 44 #define DEBUGFS_FILE(name) \ 45 static const struct seq_operations _##name##_seq_ops = { \ 46 .start = _##name##_seq_start, \ 47 .next = _##name##_seq_next, \ 48 .stop = _##name##_seq_stop, \ 49 .show = _##name##_seq_show \ 51 static int _##name##_open(struct inode *inode, struct file *s) \ 55 ret = seq_open(s, &_##name##_seq_ops); \ 62 static const struct file_operations _##name##_file_ops = { \ 64 .open = _##name##_ope 247 char name[10]; local [all...] |
/drivers/input/joystick/ |
H A D | guillemot.c | 63 char *name; member in struct:guillemot_type 208 for (i = 0; guillemot_type[i].name; i++) 212 if (!guillemot_type[i].name) { 225 input_dev->name = guillemot_type[i].name; 276 .name = "guillemot",
|
/drivers/input/keyboard/ |
H A D | goldfish_events.c | 41 char name[0]; member in struct:event_dev 150 edev->name[i] = __raw_readb(edev->addr + REG_DATA + i); 152 pr_debug("events_probe() keymap=%s\n", edev->name); 154 input_dev->name = edev->name; 185 .name = "goldfish_events",
|
/drivers/input/misc/ |
H A D | pcf8574_keypad.c | 42 char name[64]; member in struct:kp_data 122 sprintf(lp->name, DRV_NAME); 125 idev->name = lp->name; 210 .name = DRV_NAME,
|
H A D | soc_button_array.c | 31 const char *name; member in struct:soc_button_info 91 for (info = button_info; info->name; info++) { 103 gpio_keys[n_buttons].desc = info->name; 216 .name = KBUILD_MODNAME,
|
/drivers/iommu/ |
H A D | msm_iommu_dev.c | 35 const char *name; member in struct:iommu_ctx_iter_data 48 if (!res || !c || !c->name || !res->name) 51 if (!strcmp(res->name, c->name)) { 73 r.name = ctx_name; 203 pr_err("%s: Invalid PAR value detected\n", iommu_dev->name); 223 iommu_dev->name, regs_base, irq, iommu_dev->ncb); 330 dev_info(&pdev->dev, "context %s using bank %d\n", c->name, c->num); 350 .name [all...] |
/drivers/isdn/mISDN/ |
H A D | dsp_pipeline.c | 66 elem->args[i].name, 105 dev_set_name(&entry->dev, "%s", elem->name); 109 __func__, elem->name); 125 printk(KERN_DEBUG "%s: %s registered\n", __func__, elem->name); 151 __func__, elem->name); 155 printk(KERN_ERR "%s: element %s not in list.\n", __func__, elem->name); 185 __func__, entry->elem->name); 239 char *dup, *tok, *name, *args; local 264 name = strsep(&tok, "("); 270 if (!strcmp(entry->elem->name, nam [all...] |
/drivers/leds/ |
H A D | led-triggers.c | 55 if (!strcmp(trigger_name, trig->name)) { 86 if (led_cdev->trigger && !strcmp(led_cdev->trigger->name, 87 trig->name)) 88 len += sprintf(buf+len, "[%s] ", trig->name); 90 len += sprintf(buf+len, "%s ", trig->name); 106 const char *name; local 108 name = trig ? trig->name : "none"; 109 event = kasprintf(GFP_KERNEL, "TRIGGER=%s", name); 160 if (!strcmp(led_cdev->default_trigger, trig->name)) 168 led_trigger_rename_static(const char *name, struct led_trigger *trig) argument 298 led_trigger_register_simple(const char *name, struct led_trigger **tp) argument [all...] |