Searched defs:sub (Results 1 - 25 of 27) sorted by relevance

12

/drivers/gpu/drm/nouveau/
H A Dnv04_fbcon.c147 const int sub = NvSubCtxSurf2D; local
212 BEGIN_RING(chan, sub, 0x0000, 1);
214 BEGIN_RING(chan, sub, 0x0184, 2);
217 BEGIN_RING(chan, sub, 0x0300, 4);
223 BEGIN_RING(chan, sub, 0x0000, 1);
225 BEGIN_RING(chan, sub, 0x0300, 1);
228 BEGIN_RING(chan, sub, 0x0000, 1);
230 BEGIN_RING(chan, sub, 0x0300, 8);
244 BEGIN_RING(chan, sub, 0x0000, 1);
246 BEGIN_RING(chan, sub,
[all...]
/drivers/media/radio/
H A Dradio-isa.c154 struct v4l2_event_subscription *sub)
156 if (sub->type == V4L2_EVENT_CTRL)
157 return v4l2_event_subscribe(fh, sub, 0);
153 radio_isa_subscribe_event(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
H A Dradio-keene.c260 struct v4l2_event_subscription *sub)
262 switch (sub->type) {
264 return v4l2_event_subscribe(fh, sub, 0);
259 vidioc_subscribe_event(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
/drivers/media/video/bt8xx/
H A Dbttv-gpio.c3 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/media/video/
H A Dv4l2-event.c212 struct v4l2_event_subscription *sub, unsigned elems)
219 if (sub->type == V4L2_EVENT_ALL)
224 if (sub->type == V4L2_EVENT_CTRL) {
225 ctrl = v4l2_ctrl_find(fh->ctrl_handler, sub->id);
235 sev->type = sub->type;
236 sev->id = sub->id;
237 sev->flags = sub->flags;
246 found_ev = v4l2_event_subscribed(fh, sub->type, sub->id);
263 struct v4l2_event_subscription sub; local
211 v4l2_event_subscribe(struct v4l2_fh *fh, struct v4l2_event_subscription *sub, unsigned elems) argument
284 v4l2_event_unsubscribe(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
[all...]
H A Dv4l2-ioctl.c2227 struct v4l2_event_subscription *sub = arg; local
2232 ret = ops->vidioc_subscribe_event(fh, sub);
2237 dbgarg(cmd, "type=0x%8.8x", sub->type);
2242 struct v4l2_event_subscription *sub = arg; local
2247 ret = ops->vidioc_unsubscribe_event(fh, sub);
2252 dbgarg(cmd, "type=0x%8.8x", sub->type);
H A Dpms.c50 u8 sub; member in struct:i2c_info
140 static int pms_i2c_write(struct pms *dev, u16 slave, u16 sub, u16 data) argument
148 (dev->i2cinfo[i].sub == sub)) {
158 dev->i2cinfo[dev->i2c_count].sub = sub;
166 mvv_write(dev, 0x29, sub);
187 static int pms_i2c_read(struct pms *dev, int slave, int sub) argument
192 if (dev->i2cinfo[i].slave == slave && dev->i2cinfo[i].sub == sub)
199 pms_i2c_andor(struct pms *dev, int slave, int sub, int and, int or) argument
[all...]
H A Dv4l2-ctrls.c2425 struct v4l2_event_subscription *sub)
2427 if (sub->type == V4L2_EVENT_CTRL)
2428 return v4l2_event_subscribe(fh, sub, 0);
2424 v4l2_ctrl_subscribe_event(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
/drivers/usb/gadget/
H A Duvc_v4l2.c294 struct v4l2_event_subscription *sub = arg; local
296 if (sub->type < UVC_EVENT_FIRST || sub->type > UVC_EVENT_LAST)
/drivers/platform/x86/
H A Dintel_scu_ipc.c375 * @sub: sub type
384 int intel_scu_ipc_simple_command(int cmd, int sub) argument
393 ipc_command(sub << 12 | cmd);
403 * @sub: sub type
413 int intel_scu_ipc_command(int cmd, int sub, u32 *in, int inlen, argument
427 ipc_command((inlen << 16) | (sub << 12) | cmd);
/drivers/media/dvb/bt8xx/
H A Ddvb-bt8xx.c814 static int __devinit dvb_bt8xx_probe(struct bttv_sub_device *sub) argument
824 card->bttv_nr = sub->core->nr;
825 strlcpy(card->card_name, sub->core->v4l2_dev.name, sizeof(card->card_name));
826 card->i2c_adapter = &sub->core->i2c_adap;
828 switch(sub->core->type) {
892 pr_err("Unknown bttv card type: %d\n", sub->core->type);
914 card->bt->bttv_nr = sub->core->nr;
916 if ( (ret = dvb_bt8xx_load_card(card, sub->core->type)) ) {
921 dev_set_drvdata(&sub->dev, card);
925 static void dvb_bt8xx_remove(struct bttv_sub_device *sub) argument
[all...]
/drivers/media/video/omap3isp/
H A Dispstat.c1028 struct v4l2_event_subscription *sub)
1032 if (sub->type != stat->event_type)
1035 return v4l2_event_subscribe(fh, sub, STAT_NEVENTS);
1040 struct v4l2_event_subscription *sub)
1042 return v4l2_event_unsubscribe(fh, sub);
1026 omap3isp_stat_subscribe_event(struct v4l2_subdev *subdev, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
1038 omap3isp_stat_unsubscribe_event(struct v4l2_subdev *subdev, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
H A Dispccdc.c1697 struct v4l2_event_subscription *sub)
1699 if (sub->type != V4L2_EVENT_FRAME_SYNC)
1703 if (sub->id != 0)
1706 return v4l2_event_subscribe(fh, sub, OMAP3ISP_CCDC_NEVENTS);
1710 struct v4l2_event_subscription *sub)
1712 return v4l2_event_unsubscribe(fh, sub);
1696 ccdc_subscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
1709 ccdc_unsubscribe_event(struct v4l2_subdev *sd, struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
/drivers/video/kyro/
H A DSTG4000InitDevice.c246 u16 core_pll = 0, sub; local
277 pci_read_config_word(pDev, PCI_CONFIG_SUBSYS_ID, &sub);
279 ulChipSpeed = InitSDRAMRegisters(pSTGReg, (u32)sub,
/drivers/firmware/google/
H A Dgsmi.c172 * Make a call to gsmi func(sub). GSMI error codes are translated to
175 static int gsmi_exec(u8 func, u8 sub) argument
177 u16 cmd = (sub << 8) | func;
256 if (sub != GSMI_CMD_HANDSHAKE_TYPE)
/drivers/media/video/ivtv/
H A Divtv-ioctl.c1466 static int ivtv_subscribe_event(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
1468 switch (sub->type) {
1472 return v4l2_event_subscribe(fh, sub, 0);
/drivers/infiniband/hw/ipath/
H A Dipath_driver.c2635 int i, sub, any = 0; local
2655 for (sub = 0; sub < INFINIPATH_MAX_SUBPORT; sub++) {
2656 pid = dd->ipath_pd[i]->port_subpid[sub];
2659 dev_info(&dd->pcidev->dev, "sub-context "
2661 "signal %d\n", i, sub, pid_nr(pid), sig);
/drivers/isdn/hisax/
H A Dl3dss1.c1232 u_char *sub; local
1314 sub = NULL;
1318 sub = sp;
1335 if (sub) {
1336 *sub++ = '.';
1338 *p++ = strlen(sub) + 2;
1341 while (*sub)
1342 *p++ = *sub++ & 0x7f;
1344 sub = NULL;
1348 sub
[all...]
H A Dl3ni1.c1178 u_char *sub; local
1208 sub = NULL;
1212 sub = sp;
1223 if (sub)
1224 *sub++ = '.';
/drivers/media/video/saa7164/
H A Dsaa7164.h230 u32 sub; member in struct:saa7164_fw_status
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c3495 * @sub: driver version sub build number
3503 u8 build, u8 sub)
3521 fw_cmd.ver_sub = sub;
3502 ixgbe_set_fw_drv_ver_generic(struct ixgbe_hw *hw, u8 maj, u8 min, u8 build, u8 sub) argument
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_init.c850 __le32 major, minor, sub; local
864 &major, &minor, &sub);
872 return major + (minor << 8) + (sub << 16);
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c1038 __le32 major, minor, sub; local
1053 &major, &minor, &sub);
1057 return major + (minor << 8) + (sub << 16);
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c1020 u8 sub; local
1029 sub = fiph->fip_subcode;
1030 if (sub != FIP_SC_REQ && sub != FIP_SC_REP)
1122 sub == FIP_SC_REP && fip->mode != FIP_MODE_VN2VN) {
1376 u8 sub; local
1393 sub = fiph->fip_subcode;
1425 if (op == FIP_OP_DISC && sub == FIP_SC_ADV)
1427 else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK)
1847 * @sub
1851 fcoe_ctlr_vn_send(struct fcoe_ctlr *fip, enum fip_vn2vn_subcode sub, const u8 *dest, size_t min_len) argument
2104 u8 sub; local
2521 enum fip_vn2vn_subcode sub; local
[all...]
/drivers/video/via/
H A Dviafbdev.c1505 bool add, sub; local
1513 sub = buf[0] == '-';
1514 if (add || sub)
1523 else if (sub)

Completed in 678 milliseconds

12