/drivers/gpu/drm/nouveau/ |
H A D | nv04_fbcon.c | 147 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...] |
H A D | nouveau_bios.c | 1083 * offset + 1 (8 bit): "sub" opcode 2708 uint8_t sub = bios->data[offset + 1]; local 2713 BIOSLOG(bios, "0x%04X: Calling script %d\n", offset, sub); 2716 ROM16(bios->data[bios->init_script_tbls_ptr + sub * 2]), 2719 BIOSLOG(bios, "0x%04X: End of script %d\n", offset, sub); 3738 uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->or & OUTPUT_C ? 1 : 0); local 3739 uint16_t scriptofs = ROM16(bios->data[bios->init_script_tbls_ptr + sub * 2]); 3741 if (!bios->fp.xlated_entry || !sub || !scriptofs)
|
/drivers/media/video/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/media/video/ |
H A D | v4l2-event.c | 212 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 D | v4l2-ioctl.c | 2191 struct v4l2_event_subscription *sub = arg; local 2196 ret = ops->vidioc_subscribe_event(fh, sub); 2201 dbgarg(cmd, "type=0x%8.8x", sub->type); 2206 struct v4l2_event_subscription *sub = arg; local 2211 ret = ops->vidioc_unsubscribe_event(fh, sub); 2216 dbgarg(cmd, "type=0x%8.8x", sub->type);
|
H A D | pms.c | 50 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 D | vivi.c | 1012 struct v4l2_event_subscription *sub) 1014 switch (sub->type) { 1016 return v4l2_event_subscribe(fh, sub, 0); 1011 vidioc_subscribe_event(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument
|
/drivers/usb/gadget/ |
H A D | uvc_v4l2.c | 294 struct v4l2_event_subscription *sub = arg; local 296 if (sub->type < UVC_EVENT_FIRST || sub->type > UVC_EVENT_LAST)
|
/drivers/media/dvb/bt8xx/ |
H A D | dvb-bt8xx.c | 814 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 D | ispstat.c | 1028 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 D | ispccdc.c | 1697 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/platform/x86/ |
H A D | intel_scu_ipc.c | 396 * @sub: sub type 405 int intel_scu_ipc_simple_command(int cmd, int sub) argument 414 ipc_command(sub << 12 | cmd); 424 * @sub: sub type 434 int intel_scu_ipc_command(int cmd, int sub, u32 *in, int inlen, argument 448 ipc_command((inlen << 16) | (sub << 12) | cmd);
|
/drivers/video/kyro/ |
H A D | STG4000InitDevice.c | 246 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 D | gsmi.c | 172 * 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 D | ivtv-ioctl.c | 1457 static int ivtv_subscribe_event(struct v4l2_fh *fh, struct v4l2_event_subscription *sub) argument 1459 switch (sub->type) { 1463 return v4l2_event_subscribe(fh, sub, 0);
|
/drivers/infiniband/hw/ipath/ |
H A D | ipath_driver.c | 2635 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 D | l3dss1.c | 1232 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 D | l3ni1.c | 1178 u_char *sub; local 1208 sub = NULL; 1212 sub = sp; 1223 if (sub) 1224 *sub++ = '.';
|
/drivers/media/video/saa7164/ |
H A D | saa7164.h | 230 u32 sub; member in struct:saa7164_fw_status
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 3436 * @sub: driver version sub build number 3444 u8 build, u8 sub) 3462 fw_cmd.ver_sub = sub; 3443 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 D | netxen_nic_init.c | 856 __le32 major, minor, sub; local 870 &major, &minor, &sub); 878 return major + (minor << 8) + (sub << 16);
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_init.c | 1038 __le32 major, minor, sub; local 1053 &major, &minor, &sub); 1057 return major + (minor << 8) + (sub << 16);
|
/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 1018 u8 sub; local 1027 sub = fiph->fip_subcode; 1028 if (sub != FIP_SC_REQ && sub != FIP_SC_REP) 1104 sub == FIP_SC_REP && fip->mode != FIP_MODE_VN2VN) { 1358 u8 sub; local 1375 sub = fiph->fip_subcode; 1407 if (op == FIP_OP_DISC && sub == FIP_SC_ADV) 1409 else if (op == FIP_OP_CTRL && sub == FIP_SC_CLR_VLINK) 1829 * @sub 1833 fcoe_ctlr_vn_send(struct fcoe_ctlr *fip, enum fip_vn2vn_subcode sub, const u8 *dest, size_t min_len) argument 2086 u8 sub; local 2503 enum fip_vn2vn_subcode sub; local [all...] |
/drivers/video/via/ |
H A D | viafbdev.c | 1508 bool add, sub; local 1516 sub = buf[0] == '-'; 1517 if (add || sub) 1526 else if (sub)
|
/drivers/scsi/aacraid/ |
H A D | aacraid.h | 1370 __le32 sub; /* CT_PM_* */ member in struct:aac_power_management
|