Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 121) sorted by relevance

12345

/drivers/media/pci/bt8xx/
Dbttv-gpio.c33 struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); in bttv_sub_bus_match() local
34 int len = strlen(sub->wanted); in bttv_sub_bus_match()
36 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match()
44 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); in bttv_sub_probe() local
46 return sub->probe ? sub->probe(sdev) : -ENODEV; in bttv_sub_probe()
52 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); in bttv_sub_remove() local
54 if (sub->remove) in bttv_sub_remove()
55 sub->remove(sdev); in bttv_sub_remove()
67 struct bttv_sub_device *sub = to_bttv_sub_dev(dev); in release_sub_device() local
68 kfree(sub); in release_sub_device()
[all …]
Ddvb-bt8xx.c802 static int dvb_bt8xx_probe(struct bttv_sub_device *sub) in dvb_bt8xx_probe() argument
812 card->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
813 strscpy(card->card_name, sub->core->v4l2_dev.name, in dvb_bt8xx_probe()
815 card->i2c_adapter = &sub->core->i2c_adap; in dvb_bt8xx_probe()
817 switch(sub->core->type) { in dvb_bt8xx_probe()
881 pr_err("Unknown bttv card type: %d\n", sub->core->type); in dvb_bt8xx_probe()
903 card->bt->bttv_nr = sub->core->nr; in dvb_bt8xx_probe()
905 if ( (ret = dvb_bt8xx_load_card(card, sub->core->type)) ) { in dvb_bt8xx_probe()
910 dev_set_drvdata(&sub->dev, card); in dvb_bt8xx_probe()
914 static void dvb_bt8xx_remove(struct bttv_sub_device *sub) in dvb_bt8xx_remove() argument
[all …]
/drivers/net/wireless/ti/wlcore/
Ddebugfs.h53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ argument
54 static ssize_t sub## _ ##name## _read(struct file *file, \
64 stats->sub.name); \
67 static const struct file_operations sub## _ ##name## _ops = { \
68 .read = sub## _ ##name## _read, \
73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ argument
74 static ssize_t sub## _ ##name## _read(struct file *file, \
88 "[%d] = %d\n", i, stats->sub.name[i]); \
93 static const struct file_operations sub## _ ##name## _ops = { \
94 .read = sub## _ ##name## _read, \
[all …]
/drivers/misc/vmw_vmci/
Dvmci_event.c134 struct vmci_subscription *sub; in vmci_event_subscribe() local
150 sub = kzalloc(sizeof(*sub), GFP_KERNEL); in vmci_event_subscribe()
151 if (!sub) in vmci_event_subscribe()
154 sub->id = VMCI_EVENT_MAX; in vmci_event_subscribe()
155 sub->event = event; in vmci_event_subscribe()
156 sub->callback = callback; in vmci_event_subscribe()
157 sub->callback_data = callback_data; in vmci_event_subscribe()
158 INIT_LIST_HEAD(&sub->node); in vmci_event_subscribe()
172 sub->id = subscription_id; in vmci_event_subscribe()
179 list_add_rcu(&sub->node, &subscriber_array[event]); in vmci_event_subscribe()
[all …]
/drivers/media/v4l2-core/
Dv4l2-event.c224 const struct v4l2_event_subscription *sub, unsigned int elems, in v4l2_event_subscribe() argument
232 if (sub->type == V4L2_EVENT_ALL) in v4l2_event_subscribe()
243 sev->type = sub->type; in v4l2_event_subscribe()
244 sev->id = sub->id; in v4l2_event_subscribe()
245 sev->flags = sub->flags; in v4l2_event_subscribe()
253 found_ev = v4l2_event_subscribed(fh, sub->type, sub->id); in v4l2_event_subscribe()
279 struct v4l2_event_subscription sub; in v4l2_event_unsubscribe_all() local
290 sub.type = sev->type; in v4l2_event_unsubscribe_all()
291 sub.id = sev->id; in v4l2_event_unsubscribe_all()
295 v4l2_event_unsubscribe(fh, &sub); in v4l2_event_unsubscribe_all()
[all …]
/drivers/scsi/qedf/
Dqedf_fip.c127 u8 sub; in qedf_fip_send() local
139 sub = fiph->fip_subcode; in qedf_fip_send()
151 "dest=%pM op=%x sub=%x vlan=%04x.", eth_hdr->h_dest, op, sub, in qedf_fip_send()
178 u8 sub; in qedf_fip_recv() local
189 sub = fiph->fip_subcode; in qedf_fip_recv()
194 sub, vlan); in qedf_fip_recv()
211 if (op == FIP_OP_VLAN && sub == FIP_SC_VL_NOTE) { in qedf_fip_recv()
214 } else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) { in qedf_fip_recv()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Ddisp.c30 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub) in nvbios_disp_table() argument
46 *sub = nvbios_rd08(bios, data + 0x04); in nvbios_disp_table()
59 nvbios_disp_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) in nvbios_disp_entry() argument
62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); in nvbios_disp_entry()
70 nvbios_disp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub, in nvbios_disp_parse() argument
73 u16 data = nvbios_disp_entry(bios, idx, ver, len, sub); in nvbios_disp_parse()
/drivers/regulator/
Dmax1586.c152 struct max1586_subdev_data *sub; in of_get_max1586_platform_data() local
192 sub = pdata->subdevs; in of_get_max1586_platform_data()
195 sub->id = i; in of_get_max1586_platform_data()
196 sub->name = rmatch[i].of_node->name; in of_get_max1586_platform_data()
197 sub->platform_data = rmatch[i].init_data; in of_get_max1586_platform_data()
198 sub++; in of_get_max1586_platform_data()
Dmax8660.c324 struct max8660_subdev_data *sub; in max8660_pdata_from_dt() local
349 sub = pdata->subdevs; in max8660_pdata_from_dt()
352 sub->id = i; in max8660_pdata_from_dt()
353 sub->name = rmatch[i].name; in max8660_pdata_from_dt()
354 sub->platform_data = rmatch[i].init_data; in max8660_pdata_from_dt()
356 sub++; in max8660_pdata_from_dt()
/drivers/scsi/fcoe/
Dfcoe_ctlr.c1148 u8 sub; in fcoe_ctlr_recv_els() local
1157 sub = fiph->fip_subcode; in fcoe_ctlr_recv_els()
1158 if (sub != FIP_SC_REQ && sub != FIP_SC_REP) in fcoe_ctlr_recv_els()
1250 sub == FIP_SC_REP && fip->mode != FIP_MODE_VN2VN) { in fcoe_ctlr_recv_els()
1544 u8 sub; in fcoe_ctlr_recv_handler() local
1561 sub = fiph->fip_subcode; in fcoe_ctlr_recv_handler()
1599 if (op == FIP_OP_DISC && sub == FIP_SC_ADV) in fcoe_ctlr_recv_handler()
1601 else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) in fcoe_ctlr_recv_handler()
2022 enum fip_vn2vn_subcode sub, in fcoe_ctlr_vn_send() argument
2041 if (sub == FIP_SC_VN_CLAIM_NOTIFY || sub == FIP_SC_VN_CLAIM_REP) { in fcoe_ctlr_vn_send()
[all …]
/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Ddisp.h5 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *sub);
11 u16 nvbios_disp_entry(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub);
12 u16 nvbios_disp_parse(struct nvkm_bios *, u8 idx, u8 *ver, u8 *hdr, u8 *sub,
/drivers/net/wireless/ti/wl1251/
Ddebugfs.c50 #define DEBUGFS_FWSTATS_FILE(sub, name, buflen, fmt) \ argument
51 static ssize_t sub## _ ##name## _read(struct file *file, \
62 wl->stats.fw_stats->sub.name); \
66 static const struct file_operations sub## _ ##name## _ops = { \
67 .read = sub## _ ##name## _read, \
72 #define DEBUGFS_FWSTATS_ADD(sub, name) \ argument
73 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics)
75 #define DEBUGFS_FWSTATS_DEL(sub, name) \ argument
76 DEBUGFS_DEL(sub## _ ##name)
/drivers/usb/gadget/function/
Duvc_v4l2.c488 const struct v4l2_event_subscription *sub) in uvc_v4l2_subscribe_event() argument
494 if (sub->type < UVC_EVENT_FIRST || sub->type > UVC_EVENT_LAST) in uvc_v4l2_subscribe_event()
497 if (sub->type == UVC_EVENT_SETUP && uvc->func_connected) in uvc_v4l2_subscribe_event()
500 ret = v4l2_event_subscribe(fh, sub, 2, NULL); in uvc_v4l2_subscribe_event()
504 if (sub->type == UVC_EVENT_SETUP) { in uvc_v4l2_subscribe_event()
524 const struct v4l2_event_subscription *sub) in uvc_v4l2_unsubscribe_event() argument
530 ret = v4l2_event_unsubscribe(fh, sub); in uvc_v4l2_unsubscribe_event()
534 if (sub->type == UVC_EVENT_SETUP && handle->is_uvc_app_handle) { in uvc_v4l2_unsubscribe_event()
/drivers/of/unittest-data/
Dtests-platform.dtsi17 compatible = "test-sub-device";
30 compatible = "test-sub-device",
/drivers/gpu/drm/nouveau/nvkm/engine/ce/fuc/
Dcom.fuc209 sub b32 $r5 0x100
276 sub b32 $r6 1
306 sub b32 $r7 $r6
313 sub b32 $r4 $r6
406 sub b32 $r4 #dispatch_dma
492 sub b32 $r6 1
495 sub b32 $r7 1
567 sub b32 $r11 1
576 sub b32 $r14 1
583 sub b32 $r14 $r11
[all …]
/drivers/staging/media/atomisp/pci/
Datomisp_subdev.c179 struct v4l2_event_subscription *sub) in isp_subdev_subscribe_event() argument
184 if (sub->type != V4L2_EVENT_FRAME_SYNC && in isp_subdev_subscribe_event()
185 sub->type != V4L2_EVENT_FRAME_END && in isp_subdev_subscribe_event()
186 sub->type != V4L2_EVENT_ATOMISP_3A_STATS_READY && in isp_subdev_subscribe_event()
187 sub->type != V4L2_EVENT_ATOMISP_METADATA_READY && in isp_subdev_subscribe_event()
188 sub->type != V4L2_EVENT_ATOMISP_PAUSE_BUFFER && in isp_subdev_subscribe_event()
189 sub->type != V4L2_EVENT_ATOMISP_CSS_RESET && in isp_subdev_subscribe_event()
190 sub->type != V4L2_EVENT_ATOMISP_RAW_BUFFERS_ALLOC_DONE && in isp_subdev_subscribe_event()
191 sub->type != V4L2_EVENT_ATOMISP_ACC_COMPLETE) in isp_subdev_subscribe_event()
194 if (sub->type == V4L2_EVENT_FRAME_SYNC && in isp_subdev_subscribe_event()
[all …]
/drivers/scsi/arm/
Dacornscsi-io.S52 sub r2, r2, #8
61 sub r2, r2, #4
117 sub r2, r2, #8
128 sub r2, r2, #4
/drivers/gpu/drm/nouveau/nvkm/core/
Doption.c95 nvkm_dbgopt(const char *optstr, const char *sub) in nvkm_dbgopt() argument
103 if (strncasecmpz(optstr, sub, len)) in nvkm_dbgopt()
/drivers/video/fbdev/kyro/
DSTG4000InitDevice.c244 u16 core_pll = 0, sub; in SetCoreClockPLL() local
274 pci_read_config_word(pDev, PCI_CONFIG_SUBSYS_ID, &sub); in SetCoreClockPLL()
276 ulChipSpeed = InitSDRAMRegisters(pSTGReg, (u32)sub, in SetCoreClockPLL()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Di2c_.fuc135 */ sub b32 $r7 $r6 1 /*
141 */ sub b32 $r5 $r6 /*
167 sub b32 $r4 1
242 sub b32 $r4 1
252 sub b32 $r4 1
/drivers/media/platform/omap3isp/
Dispstat.h137 struct v4l2_event_subscription *sub);
140 struct v4l2_event_subscription *sub);
/drivers/staging/media/av7110/
Daudio-set-id.rst41 - audio sub-stream id
46 This ioctl selects which sub-stream is to be decoded if a program or
/drivers/staging/media/imx/
Dimx-media-capture.c240 const struct v4l2_event_subscription *sub) in capture_subscribe_event() argument
242 switch (sub->type) { in capture_subscribe_event()
244 return v4l2_event_subscribe(fh, sub, 0, NULL); in capture_subscribe_event()
546 const struct v4l2_event_subscription *sub) in capture_legacy_subscribe_event() argument
548 switch (sub->type) { in capture_legacy_subscribe_event()
550 return v4l2_event_subscribe(fh, sub, 0, NULL); in capture_legacy_subscribe_event()
552 return v4l2_src_change_event_subscribe(fh, sub); in capture_legacy_subscribe_event()
554 return v4l2_ctrl_subscribe_event(fh, sub); in capture_legacy_subscribe_event()
/drivers/watchdog/
Dintel-mid_wdt.c43 wdt_command(struct mid_wdt *mid, int sub, const void *in, size_t inlen, size_t size) in wdt_command() argument
47 return intel_scu_ipc_dev_command_with_size(scu, IPC_WATCHDOG, sub, in, in wdt_command()
/drivers/platform/x86/
Dintel_scu_ipc.c452 int sub) in intel_scu_ipc_dev_simple_command() argument
464 cmdval = sub << 12 | cmd; in intel_scu_ipc_dev_simple_command()
491 int sub, const void *in, size_t inlen, in intel_scu_ipc_dev_command_with_size() argument
513 cmdval = (size << 16) | (sub << 12) | cmd; in intel_scu_ipc_dev_command_with_size()

12345