/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 3 bttv-gpio.c -- gpio sub drivers 5 sysfs-based sub driver interface for bttv 45 struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); local 46 int len = strlen(sub->wanted); 48 if (0 == strncmp(dev_name(dev), sub->wanted, len)) 56 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); local 58 return sub->probe ? sub->probe(sdev) : -ENODEV; 64 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); local 66 if (sub 80 struct bttv_sub_device *sub = to_bttv_sub_dev(dev); local 86 struct bttv_sub_device *sub; local 111 struct bttv_sub_device *sub, *save; local 123 bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) argument 131 bttv_sub_unregister(struct bttv_sub_driver *sub) argument [all...] |
/drivers/staging/lustre/lustre/lov/ |
H A D | lov_page.c | 58 const struct cl_page *sub = lov_sub_page(slice); local 60 return ergo(sub != NULL, 61 page->cp_child == sub && 62 sub->cp_parent == page && 63 page->cp_state == sub->cp_state); 69 struct cl_page *sub = lov_sub_page(slice); local 73 if (sub != NULL) { 74 LASSERT(sub->cp_state == CPS_FREEING); 75 lu_ref_del(&sub->cp_reference, "lov", sub 87 struct lov_io_sub *sub; local 112 struct lov_io_sub *sub; local 165 struct lov_io_sub *sub; local [all...] |
H A D | lov_io.c | 50 static inline void lov_sub_enter(struct lov_io_sub *sub) argument 52 sub->sub_reenter++; 54 static inline void lov_sub_exit(struct lov_io_sub *sub) argument 56 sub->sub_reenter--; 60 struct lov_io_sub *sub) 62 if (sub->sub_io != NULL) { 63 if (sub->sub_io_initialized) { 64 lov_sub_enter(sub); 65 cl_io_fini(sub->sub_env, sub 59 lov_io_sub_fini(const struct lu_env *env, struct lov_io *lio, struct lov_io_sub *sub) argument 135 lov_io_sub_init(const struct lu_env *env, struct lov_io *lio, struct lov_io_sub *sub) argument 218 struct lov_io_sub *sub = &lio->lis_subs[stripe]; local 234 lov_sub_put(struct lov_io_sub *sub) argument 381 struct lov_io_sub *sub; local 454 struct lov_io_sub *sub; local 580 struct lov_io_sub *sub; local 618 struct lov_io_sub *sub; local 674 struct lov_io_sub *sub; local 694 struct lov_io_sub *sub; local 712 struct lov_io_sub *sub; local 726 struct lov_io_sub *sub; local [all...] |
H A D | lov_lock.c | 67 struct lov_io_sub *sub; local 85 sub = lov_sub_get(env, lio, lls->sub_stripe); 86 if (!IS_ERR(sub)) { 87 subenv->lse_env = sub->sub_env; 88 subenv->lse_io = sub->sub_io; 89 subenv->lse_sub = sub; 91 subenv = (void *)sub; 116 * check that sub-lock doesn't have lock link to this top-lock. 244 * Updates the result of a top-lock operation from a result of sub-lock 245 * sub 554 struct lovsub_lock *sub; local 643 struct lovsub_lock *sub; local 690 struct lovsub_lock *sub; local 752 struct lovsub_lock *sub; local 798 struct lovsub_lock *sub; local 999 lov_lock_unlink(const struct lu_env *env, struct lov_lock_link *link, struct lovsub_lock *sub) argument 1019 lov_lock_link_find(const struct lu_env *env, struct lov_lock *lck, struct lovsub_lock *sub) argument 1097 struct lov_lock_sub *sub; local [all...] |
H A D | lovsub_lock.c | 87 * method is called whenever sub-lock state changes. Propagates state change 94 struct lovsub_lock *sub = cl2lovsub_lock(slice); local 99 list_for_each_entry(scan, &sub->lss_parents, lll_list) { 103 if (sub->lss_active != parent) { 179 * Adjusts parent lock extent when a sub-lock is attached to a parent. This is 185 * - when top-lock finds existing sub-lock in the cache. 188 * top-lock matches CLM_WRITE sub-lock, top-lock is still CLM_READ. 250 struct lovsub_lock *sub; local 257 sub = cl2lovsub_lock(slice); 260 list_for_each_entry(scan, &sub 385 struct lovsub_lock *sub = cl2lovsub_lock(slice); local 425 struct lovsub_lock *sub = cl2lovsub_lock(slice); local [all...] |
/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 71 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ 72 static ssize_t sub## _ ##name## _read(struct file *file, \ 82 stats->sub.name); \ 85 static const struct file_operations sub## _ ##name## _ops = { \ 86 .read = sub## _ ##name## _read, \ 91 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ 92 static ssize_t sub## _ ##name## _read(struct file *file, \ 105 buf, i, stats->sub.name[i]); \ 110 static const struct file_operations sub## _ ##name## _ops = { \ 111 .read = sub## [all...] |
/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 141 struct vmci_subscription *sub; local 157 sub = kzalloc(sizeof(*sub), GFP_KERNEL); 158 if (!sub) 161 sub->id = VMCI_EVENT_MAX; 162 sub->event = event; 163 sub->callback = callback; 164 sub->callback_data = callback_data; 165 INIT_LIST_HEAD(&sub->node); 179 sub [all...] |
/drivers/media/v4l2-core/ |
H A D | v4l2-event.c | 206 const struct v4l2_event_subscription *sub, unsigned elems, 213 if (sub->type == V4L2_EVENT_ALL) 224 sev->type = sub->type; 225 sev->id = sub->id; 226 sev->flags = sub->flags; 231 found_ev = v4l2_event_subscribed(fh, sub->type, sub->id); 245 v4l2_event_unsubscribe(fh, sub); 259 struct v4l2_event_subscription sub; local 270 sub 205 v4l2_event_subscribe(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub, unsigned elems, const struct v4l2_subscribed_event_ops *ops) argument 280 v4l2_event_unsubscribe(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument 315 v4l2_event_subdev_unsubscribe(struct v4l2_subdev *sd, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument 342 v4l2_src_change_event_subscribe(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument 351 v4l2_src_change_event_subdev_subscribe(struct v4l2_subdev *sd, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument [all...] |
/drivers/gpu/drm/nouveau/core/include/core/ |
H A D | option.h | 9 int nouveau_dbgopt(const char *optstr, const char *sub);
|
H A D | device.h | 130 nouveau_subdev(void *obj, int sub) argument 132 if (nv_device(obj)->subdev[sub]) 133 return nv_subdev(nv_device(obj)->subdev[sub]); 138 nouveau_engine(void *obj, int sub) argument 140 struct nouveau_subdev *subdev = nouveau_subdev(obj, sub); 147 nv_device_match(struct nouveau_object *object, u16 dev, u16 ven, u16 sub) argument 152 device->pdev->subsystem_device == sub;
|
H A D | subdev.h | 6 #define NV_SUBDEV_(sub,var) (NV_SUBDEV_CLASS | ((var) << 8) | (sub))
|
/drivers/gpu/drm/nouveau/core/include/subdev/bios/ |
H A D | disp.h | 5 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub); 12 u8 *ver, u8 *hdr__, u8 *sub); 14 u8 *ver, u8 *hdr__, u8 *sub,
|
/drivers/acpi/acpica/ |
H A D | utids.c | 150 struct acpi_pnp_device_id *sub; local 168 sub = 171 if (!sub) { 178 sub->string = 179 ACPI_ADD_PTR(char, sub, sizeof(struct acpi_pnp_device_id)); 183 ACPI_STRCPY(sub->string, obj_desc->string.pointer); 184 sub->length = length; 185 *return_id = sub;
|
H A D | nsxfname.c | 278 struct acpi_pnp_device_id *sub = NULL; local 348 status = acpi_ut_execute_SUB(node, &sub); 350 info_size += sub->length; 466 if (sub) { 468 sub, next_id_string); 507 if (sub) { 508 ACPI_FREE(sub);
|
/drivers/gpu/drm/nouveau/core/core/ |
H A D | option.c | 78 nouveau_dbgopt(const char *optstr, const char *sub) argument 86 if (strncasecmpz(optstr, sub, len))
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
H A D | disp.c | 31 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) 46 *sub = nv_ro08(bios, data + 0x04); 60 u8 *ver, u8 *len, u8 *sub) 63 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); 72 u8 *ver, u8 *len, u8 *sub, 75 u16 data = nvbios_disp_entry(bios, idx, ver, len, sub); 30 nvbios_disp_table(struct nouveau_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) argument 59 nvbios_disp_entry(struct nouveau_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) argument 71 nvbios_disp_parse(struct nouveau_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub, struct nvbios_disp *info) argument
|
/drivers/regulator/ |
H A D | max1586.c | 165 struct max1586_subdev_data *sub; local 203 sub = pdata->subdevs; 206 sub->id = i; 207 sub->name = rmatch[i].of_node->name; 208 sub->platform_data = rmatch[i].init_data; 209 sub++;
|
H A D | max8660.c | 337 struct max8660_subdev_data *sub; local 360 sub = pdata->subdevs; 363 sub->id = i; 364 sub->name = rmatch[i].name; 365 sub->platform_data = rmatch[i].init_data; 367 sub++;
|
/drivers/fmc/ |
H A D | fmc-sdb.c | 33 struct sdb_array *arr, *sub; local 79 sub = __fmc_scan_sdb_tree(fmc, subaddr, newbase, 81 arr->subtree[i] = sub; /* may be error */ 82 if (IS_ERR(sub)) 84 sub->parent = arr; 85 sub->baseaddr = newbase;
|
/drivers/media/platform/omap3isp/ |
H A D | ispstat.h | 139 struct v4l2_event_subscription *sub); 142 struct v4l2_event_subscription *sub);
|
/drivers/scsi/arm/ |
H A D | acornscsi-io.S | 55 sub r2, r2, #8 64 sub r2, r2, #4 120 sub r2, r2, #8 131 sub r2, r2, #4
|
/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 69 #define DEBUGFS_FWSTATS_FILE(sub, name, buflen, fmt) \ 70 static ssize_t sub## _ ##name## _read(struct file *file, \ 81 wl->stats.fw_stats->sub.name); \ 85 static const struct file_operations sub## _ ##name## _ops = { \ 86 .read = sub## _ ##name## _read, \ 91 #define DEBUGFS_FWSTATS_ADD(sub, name) \ 92 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics) 94 #define DEBUGFS_FWSTATS_DEL(sub, name) \ 95 DEBUGFS_DEL(sub## _ ##name)
|
/drivers/usb/gadget/function/ |
H A D | uvc_v4l2.c | 233 const struct v4l2_event_subscription *sub) 235 if (sub->type < UVC_EVENT_FIRST || sub->type > UVC_EVENT_LAST) 238 return v4l2_event_subscribe(fh, sub, 2, NULL); 243 const struct v4l2_event_subscription *sub) 245 return v4l2_event_unsubscribe(fh, sub); 232 uvc_v4l2_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument 242 uvc_v4l2_unsubscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub) argument
|
/drivers/watchdog/ |
H A D | intel-mid_wdt.c | 39 static inline int wdt_command(int sub, u32 *in, int inlen) argument 41 return intel_scu_ipc_command(IPC_WATCHDOG, sub, in, inlen, NULL, 0);
|
/drivers/media/platform/vivid/ |
H A D | vivid-vid-common.h | 59 int vidioc_subscribe_event(struct v4l2_fh *fh, const struct v4l2_event_subscription *sub);
|