/drivers/gpu/drm/nouveau/ |
H A D | nv50_evo.c | 115 evo->id = chid; 138 NV50_PDISPLAY_USER(evo->id), PAGE_SIZE); 156 int id = evo->id, ret, i; local 160 tmp = nv_rd32(dev, NV50_PDISPLAY_EVO_CTRL(id)); 162 nv_wr32(dev, NV50_PDISPLAY_EVO_CTRL(id), tmp | 0x00800000); 164 tmp = nv_rd32(dev, NV50_PDISPLAY_EVO_CTRL(id)); 166 nv_wr32(dev, NV50_PDISPLAY_EVO_CTRL(id), tmp | 0x00600000); 169 nv_wr32(dev, NV50_PDISPLAY_EVO_DMA_CB(id), pushbuf >> 8 | 172 nv_wr32(dev, NV50_PDISPLAY_EVO_UNK2(id), 209 int id = evo->id; local [all...] |
/drivers/mca/ |
H A D | mca-legacy.c | 36 int id; member in struct:mca_find_adapter_info 43 * or equal to the required slot with a matching id */ 49 if(mca_dev->pos_id != info->id) 63 * @id: MCA identification to search for 74 int mca_find_adapter(int id, int start) argument 78 if(id == 0xffff) 82 info.id = id; 109 * @id: MCA identification to search for 122 int mca_find_unused_adapter(int id, in argument [all...] |
/drivers/mfd/ |
H A D | tps65911-comparator.c | 59 static int comp_threshold_set(struct tps65910 *tps65910, int id, int voltage) argument 61 struct comparator tps_comp = tps_comparators[id]; 66 if (id == COMP) 86 static int comp_threshold_get(struct tps65910 *tps65910, int id) argument 88 struct comparator tps_comp = tps_comparators[id]; 92 if (id == COMP) 108 int id, uVolt; local 111 id = COMP1; 113 id = COMP2; 117 uVolt = comp_threshold_get(tps65910, id); [all...] |
H A D | wm831x-core.c | 1020 .id = 1, 1026 .id = 2, 1032 .id = 3, 1038 .id = 4, 1047 .id = 1, 1051 .id = 2, 1063 .id = 1, 1069 .id = 2, 1075 .id = 1, 1081 .id 1619 wm831x_device_init(struct wm831x *wm831x, unsigned long id, int irq) argument [all...] |
H A D | ab3100-core.c | 746 .id = -1, 750 .id = -1, 754 .id = -1, 758 .id = -1, 762 .id = -1, 766 .id = -1, 770 .id = -1, 774 .id = -1, 778 .id = -1, 782 .id 803 u8 id; member in struct:ab_family_id 861 ab3100_probe(struct i2c_client *client, const struct i2c_device_id *id) argument [all...] |
/drivers/pnp/ |
H A D | support.c | 39 void pnp_eisa_id_to_string(u32 id, char *str) argument 41 id = be32_to_cpu(id); 51 str[0] = 'A' + ((id >> 26) & 0x3f) - 1; 52 str[1] = 'A' + ((id >> 21) & 0x1f) - 1; 53 str[2] = 'A' + ((id >> 16) & 0x1f) - 1; 54 str[3] = hex_asc_hi(id >> 8); 55 str[4] = hex_asc_lo(id >> 8); 56 str[5] = hex_asc_hi(id); 57 str[6] = hex_asc_lo(id); [all...] |
/drivers/net/ethernet/sfc/ |
H A D | mdio_10g.h | 21 static inline unsigned efx_mdio_id_rev(u32 id) { return id & 0xf; } argument 22 static inline unsigned efx_mdio_id_model(u32 id) { return (id >> 4) & 0x3f; } argument 23 extern unsigned efx_mdio_id_oui(u32 id);
|
/drivers/regulator/ |
H A D | db8500-prcmu.c | 215 .id = DB8500_REGULATOR_VAPE, 224 .id = DB8500_REGULATOR_VARM, 233 .id = DB8500_REGULATOR_VMODEM, 242 .id = DB8500_REGULATOR_VPLL, 251 .id = DB8500_REGULATOR_VSMPS1, 260 .id = DB8500_REGULATOR_VSMPS2, 270 .id = DB8500_REGULATOR_VSMPS3, 279 .id = DB8500_REGULATOR_VRF1, 288 .id = DB8500_REGULATOR_SWITCH_SVAMMDSP, 298 .id [all...] |
H A D | mc13892-regulator.c | 329 int id = rdev_get_id(rdev); local 331 u32 en_val = mc13892_regulators[id].enable_bit; 332 u32 mask = mc13892_regulators[id].enable_bit; 334 dev_dbg(rdev_get_dev(rdev), "%s id: %d\n", __func__, id); local 337 if (id == MC13892_PWGT1SPI || id == MC13892_PWGT2SPI) 340 if (id == MC13892_GPO4) 353 int id = rdev_get_id(rdev); local 357 dev_dbg(rdev_get_dev(rdev), "%s id local 374 int ret, id = rdev_get_id(rdev); local 405 int ret, id = rdev_get_id(rdev); local 408 dev_dbg(rdev_get_dev(rdev), "%s id: %d\\n", __func__, id); local 421 dev_dbg(rdev_get_dev(rdev), "%s id: %d val: %d\\n", __func__, id, val); local 435 int hi, value, mask, id = rdev_get_id(rdev); local 440 __func__, id, min_uV, max_uV); local 491 int ret, id = rdev_get_id(rdev); local 507 int ret, id = rdev_get_id(rdev); local 588 int id; local [all...] |
H A D | tps65910-regulator.c | 286 #define EXT_CONTROL_REG_BITS(id, regs_offs, bits) (((regs_offs) << 8) | (bits)) 402 static int tps65910_get_ctrl_register(int id) argument 404 switch (id) { 436 static int tps65911_get_ctrl_register(int id) argument 438 switch (id) { 473 int reg, value, id = rdev_get_id(dev); local 475 reg = pmic->get_ctrl_reg(id); 490 int reg, id = rdev_get_id(dev); local 492 reg = pmic->get_ctrl_reg(id); 503 int reg, id local 515 int id = rdev_get_id(dev); local 523 int reg, value, id = rdev_get_id(dev); local 546 int reg, value, id = rdev_get_id(dev); local 567 int id = rdev_get_id(dev); local 627 int reg, value, id = rdev_get_id(dev), voltage = 0; local 667 int step_mv, id = rdev_get_id(dev); local 718 int id = rdev_get_id(dev), vsel; local 756 int reg, id = rdev_get_id(dev); local 783 int reg, id = rdev_get_id(dev); local 814 int volt, mult = 1, id = rdev_get_id(dev); local 838 int id = rdev_get_id(dev), voltage; local 854 int step_mv = 0, id = rdev_get_id(dev); local 893 int id = rdev_get_id(dev); local 964 tps65910_set_ext_sleep_config(struct tps65910_reg *pmic, int id, int ext_sleep_config) argument [all...] |
H A D | isl6271a-regulator.c | 100 int id = rdev_get_id(dev); local 101 return (id == 1) ? 1100000 : 1300000; 106 int id = rdev_get_id(dev); local 107 return (id == 1) ? 1100000 : 1300000; 118 .id = 0, 125 .id = 1, 132 .id = 2, 141 const struct i2c_device_id *id) 167 dev_err(&i2c->dev, "failed to register %s\n", id->name); 140 isl6271a_probe(struct i2c_client *i2c, const struct i2c_device_id *id) argument
|
/drivers/zorro/ |
H A D | names.c | 66 if (manuf_p->manuf == ZORRO_MANUF(dev->id)) 72 sprintf(name, "Zorro device %08x", dev->id); 81 ((ZORRO_PROD(dev->id)<<8) | ZORRO_EPC(dev->id))) 88 sprintf(name, "Zorro device %08x (%s)", dev->id, manuf_p->name);
|
/drivers/staging/media/easycap/ |
H A D | easycap_settings.c | 46 .id = (V4L2_STD_PAL_B | 60 .id = V4L2_STD_UNKNOWN, 72 .id = V4L2_STD_PAL_Nc, 84 .id = V4L2_STD_UNKNOWN, 96 .id = V4L2_STD_SECAM, 108 .id = V4L2_STD_NTSC_M, 120 .id = V4L2_STD_NTSC_M_JP, 132 .id = V4L2_STD_PAL_60, 144 .id = V4L2_STD_NTSC_443, 156 .id [all...] |
/drivers/connector/ |
H A D | connector.c | 81 if (cn_cb_equal(&__cbq->id.id, &msg->id)) { 133 if (cn_cb_equal(&i->id.id, &msg->id)) { 187 int cn_add_callback(struct cb_id *id, const char *name, argument 196 err = cn_queue_add_callback(dev->cbdev, name, id, callback); 212 void cn_del_callback(struct cb_id *id) argument 216 cn_queue_del_callback(dev->cbdev, id); [all...] |
/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 38 * The tree associates hwspinlock pointers with their integer key id, 260 static int hwspin_lock_register_single(struct hwspinlock *hwlock, int id) argument 267 ret = radix_tree_insert(&hwspinlock_tree, id, hwlock); 270 pr_err("hwspinlock id %d already exists!\n", id); 275 tmp = radix_tree_tag_set(&hwspinlock_tree, id, HWSPINLOCK_UNUSED); 285 static struct hwspinlock *hwspin_lock_unregister_single(unsigned int id) argument 293 ret = radix_tree_tag_get(&hwspinlock_tree, id, HWSPINLOCK_UNUSED); 295 pr_err("hwspinlock %d still in use (or not present)\n", id); 299 hwlock = radix_tree_delete(&hwspinlock_tree, id); 505 hwspin_lock_request_specific(unsigned int id) argument [all...] |
/drivers/ps3/ |
H A D | ps3av.c | 494 static void ps3av_set_videomode_packet(u32 id) argument 502 video_mode = &video_mode_table[id & PS3AV_MODE_MASK]; 514 video_mode->fmt, id); 517 if (id & PS3AV_MODE_DVI || id & PS3AV_MODE_RGB) 529 video_mode->aspect, id); 542 static void ps3av_set_videomode_cont(u32 id, u32 old_id) argument 554 if (vesa == 0 && (id & PS3AV_MODE_MASK) >= PS3AV_MODE_WXGA) { 561 if (id & PS3AV_MODE_HDCP_OFF) { 575 ps3av_set_videomode_packet(id); 594 unsigned id : 4; member in struct:__anon3869 641 enum ps3av_mode_num id; local 674 char id[sizeof(info->monitor_id)*3+1]; local 765 int i, res, id = 0, dvi = 0, rgb = 0; local 842 ps3av_set_video_mode(int id) argument 891 ps3av_video_mode2res(u32 id, u32 *xres, u32 *yres) argument 944 int id; local [all...] |
/drivers/usb/core/ |
H A D | driver.c | 62 dynid->id.idVendor = idVendor; 63 dynid->id.idProduct = idProduct; 64 dynid->id.match_flags = USB_DEVICE_ID_MATCH_DEVICE; 66 dynid->id.bInterfaceClass = (u8)bInterfaceClass; 67 dynid->id.match_flags |= USB_DEVICE_ID_MATCH_INT_CLASS; 115 struct usb_device_id *id = &dynid->id; local 116 if ((id->idVendor == idVendor) && 117 (id->idProduct == idProduct)) { 200 if (usb_match_one_id(intf, &dynid->id)) { 265 const struct usb_device_id *id; local 497 usb_match_device(struct usb_device *dev, const struct usb_device_id *id) argument 533 usb_match_one_id(struct usb_interface *interface, const struct usb_device_id *id) argument 646 usb_match_id(struct usb_interface *interface, const struct usb_device_id *id) argument 683 const struct usb_device_id *id; local [all...] |
/drivers/usb/gadget/ |
H A D | f_uac2.c | 418 /* Choose any slot, with no id */ 444 sprintf(card->longname, "UAC2_Gadget %i", pdev->id); 487 uac2->pdev.id = 0; 1319 int id, res; local 1327 id = usb_string_id(cfg->cdev); 1328 if (id < 0) 1329 return id; 1331 strings_fn[STR_ASSOC].id = id; 1332 iad_desc.iFunction = id, 1334 id = usb_string_id(cfg->cdev); local 1341 id = usb_string_id(cfg->cdev); local 1348 id = usb_string_id(cfg->cdev); local 1355 id = usb_string_id(cfg->cdev); local 1362 id = usb_string_id(cfg->cdev); local [all...] |
/drivers/w1/slaves/ |
H A D | w1_ds2760.c | 122 int id; local 125 id = ida_simple_get(&bat_ida, 0, 0, GFP_KERNEL); 126 if (id < 0) { 127 ret = id; 131 pdev = platform_device_alloc("ds2760-battery", id); 154 ida_simple_remove(&bat_ida, id); 163 int id = pdev->id; local 166 ida_simple_remove(&bat_ida, id);
|
H A D | w1_ds2780.c | 129 int id; local 132 id = ida_simple_get(&bat_ida, 0, 0, GFP_KERNEL); 133 if (id < 0) { 134 ret = id; 138 pdev = platform_device_alloc("ds2780-battery", id); 161 ida_simple_remove(&bat_ida, id); 169 int id = pdev->id; local 172 ida_simple_remove(&bat_ida, id);
|
H A D | w1_ds2781.c | 127 int id; local 130 id = ida_simple_get(&bat_ida, 0, 0, GFP_KERNEL); 131 if (id < 0) { 132 ret = id; 136 pdev = platform_device_alloc("ds2781-battery", id); 159 ida_simple_remove(&bat_ida, id); 167 int id = pdev->id; local 170 ida_simple_remove(&bat_ida, id);
|
/drivers/block/xen-blkback/ |
H A D | common.h | 66 uint64_t id; /* private guest value, echoed in resp */ member in struct:blkif_x86_32_request_rw 74 uint64_t id; /* private guest value, echoed in resp */ member in struct:blkif_x86_32_request_discard 90 uint64_t id; /* copied from request */ member in struct:blkif_x86_32_response 100 uint32_t _pad1; /* offsetof(blkif_reqest..,u.rw.id)==8 */ 101 uint64_t id; member in struct:blkif_x86_64_request_rw 109 uint32_t _pad2; /* offsetof(blkif_..,u.discard.id)==8 */ 110 uint64_t id; member in struct:blkif_x86_64_request_discard 124 uint64_t __attribute__((__aligned__(8))) id; member in struct:blkif_x86_64_response 250 dst->u.rw.id = src->u.rw.id; [all...] |
/drivers/ide/ |
H A D | ide-timings.c | 83 u16 *id = drive->id; local 87 if (id[ATA_ID_FIELD_VALID] & 2) { 88 if (ata_id_has_iordy(drive->id)) 89 cycle = id[ATA_ID_EIDE_PIO_IORDY]; 91 cycle = id[ATA_ID_EIDE_PIO]; 98 if (pio > 4 && ata_id_is_cfa(id)) 147 u16 *id = drive->id; local 166 if (id[ATA_ID_FIELD_VALI [all...] |
/drivers/bcma/ |
H A D | core.c | 60 WARN_ON(core->id.id != BCMA_CORE_CHIPCOMMON && 61 core->id.id != BCMA_CORE_PCIE && 62 core->id.id != BCMA_CORE_80211);
|
/drivers/input/misc/ |
H A D | ixp4xx-beeper.c | 99 input_set_drvdata(input_dev, (void *) dev->id); 103 input_dev->id.bustype = BUS_HOST; 104 input_dev->id.vendor = 0x001f; 105 input_dev->id.product = 0x0001; 106 input_dev->id.version = 0x0100; 115 (void *) dev->id);
|