/drivers/hid/ |
D | hid-wiimote-ext.c | 81 static void ext_disable(struct wiimote_ext *ext) in ext_disable() argument 86 if (!wiimote_cmd_acquire(ext->wdata)) { in ext_disable() 87 wiimote_cmd_write(ext->wdata, 0xa400f0, &wmem, sizeof(wmem)); in ext_disable() 88 wiimote_cmd_release(ext->wdata); in ext_disable() 91 spin_lock_irqsave(&ext->wdata->state.lock, flags); in ext_disable() 92 ext->motionp = false; in ext_disable() 93 ext->ext_type = WIIEXT_NONE; in ext_disable() 94 wiiproto_req_drm(ext->wdata, WIIPROTO_REQ_NULL); in ext_disable() 95 spin_unlock_irqrestore(&ext->wdata->state.lock, flags); in ext_disable() 98 static bool motionp_read(struct wiimote_ext *ext) in motionp_read() argument [all …]
|
/drivers/media/common/ |
D | saa7146_core.c | 311 if (dev->ext) { in interrupt_hw() 312 if (dev->ext->irq_mask & isr) { in interrupt_hw() 313 if (dev->ext->irq_func) in interrupt_hw() 314 dev->ext->irq_func(dev, &isr); in interrupt_hw() 315 isr &= ~dev->ext->irq_mask; in interrupt_hw() 359 struct saa7146_extension *ext = pci_ext->ext; in saa7146_init_one() local 453 dev->ext = ext; in saa7146_init_one() 471 if (ext->probe && ext->probe(dev)) { in saa7146_init_one() 476 if (ext->attach(dev, pci_ext)) { in saa7146_init_one() 531 dev->ext->detach(dev); in saa7146_remove_one() [all …]
|
D | saa7146_i2c.c | 188 if( 0 != (SAA7146_USE_I2C_IRQ & dev->ext->flags)) { in saa7146_i2c_writeout() 314 if ( count > 3 || 0 != (SAA7146_I2C_SHORT_DELAY & dev->ext->flags) ) in saa7146_i2c_transfer() 339 if (-EREMOTEIO == err && 0 != (SAA7146_USE_I2C_IRQ & dev->ext->flags)) in saa7146_i2c_transfer()
|
/drivers/net/wireless/ipw2x00/ |
D | libipw_wx.c | 528 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in libipw_wx_set_encodeext() local 547 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in libipw_wx_set_encodeext() 552 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in libipw_wx_set_encodeext() 562 ext->alg == IW_ENCODE_ALG_NONE) { in libipw_wx_set_encodeext() 587 switch (ext->alg) { in libipw_wx_set_encodeext() 602 dev->name, ext->alg); in libipw_wx_set_encodeext() 614 dev->name, ext->alg); in libipw_wx_set_encodeext() 640 if (ext->key_len > 0 && (*crypt)->ops->set_key && in libipw_wx_set_encodeext() 641 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in libipw_wx_set_encodeext() 649 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in libipw_wx_set_encodeext() [all …]
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_wx.c | 532 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in ieee80211_wx_set_encode_ext() local 551 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in ieee80211_wx_set_encode_ext() 559 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in ieee80211_wx_set_encode_ext() 571 ext->alg == IW_ENCODE_ALG_NONE) { in ieee80211_wx_set_encode_ext() 593 switch (ext->alg) { in ieee80211_wx_set_encode_ext() 608 dev->name, ext->alg); in ieee80211_wx_set_encode_ext() 621 dev->name, ext->alg); in ieee80211_wx_set_encode_ext() 622 printk("========>unknown crypto alg %d\n", ext->alg); in ieee80211_wx_set_encode_ext() 649 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext() 650 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext() [all …]
|
/drivers/staging/rtl8192e/ |
D | rtllib_wx.c | 525 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in rtllib_wx_set_encode_ext() local 543 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in rtllib_wx_set_encode_ext() 548 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in rtllib_wx_set_encode_ext() 558 ext->alg == IW_ENCODE_ALG_NONE) { in rtllib_wx_set_encode_ext() 575 switch (ext->alg) { in rtllib_wx_set_encode_ext() 590 dev->name, ext->alg); in rtllib_wx_set_encode_ext() 607 dev->name, ext->alg); in rtllib_wx_set_encode_ext() 608 printk(KERN_INFO "========>unknown crypto alg %d\n", ext->alg); in rtllib_wx_set_encode_ext() 636 if (ext->key_len > 0 && (*crypt)->ops->set_key && in rtllib_wx_set_encode_ext() 637 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in rtllib_wx_set_encode_ext() [all …]
|
/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_wx.c | 480 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in ieee80211_wx_set_encode_ext() local 499 if (ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) { in ieee80211_wx_set_encode_ext() 505 if (idx != 0 && ext->alg != IW_ENCODE_ALG_WEP) in ieee80211_wx_set_encode_ext() 515 ext->alg == IW_ENCODE_ALG_NONE) { in ieee80211_wx_set_encode_ext() 536 switch (ext->alg) { in ieee80211_wx_set_encode_ext() 548 dev->name, ext->alg); in ieee80211_wx_set_encode_ext() 559 dev->name, ext->alg); in ieee80211_wx_set_encode_ext() 560 printk("========>unknown crypto alg %d\n", ext->alg); in ieee80211_wx_set_encode_ext() 587 if (ext->key_len > 0 && (*crypt)->ops->set_key && in ieee80211_wx_set_encode_ext() 588 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in ieee80211_wx_set_encode_ext() [all …]
|
/drivers/net/wireless/orinoco/ |
D | wext.c | 727 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in orinoco_ioctl_set_encodeext() local 728 int idx, alg = ext->alg, set_key = 1; in orinoco_ioctl_set_encodeext() 752 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in orinoco_ioctl_set_encodeext() 755 (ext->key_len > 0)) ? 1 : 0; in orinoco_ioctl_set_encodeext() 768 if (ext->key_len <= 0) in orinoco_ioctl_set_encodeext() 773 ext->key, ext->key_len, NULL, 0); in orinoco_ioctl_set_encodeext() 781 (ext->key_len > sizeof(struct orinoco_tkip_key))) in orinoco_ioctl_set_encodeext() 786 if (ext->ext_flags & IW_ENCODE_EXT_RX_SEQ_VALID) in orinoco_ioctl_set_encodeext() 787 tkip_iv = &ext->rx_seq[0]; in orinoco_ioctl_set_encodeext() 790 ext->key, ext->key_len, tkip_iv, in orinoco_ioctl_set_encodeext() [all …]
|
/drivers/block/drbd/ |
D | drbd_actlog.c | 667 struct bm_extent *ext = lc_entry(e, struct bm_extent, lce); in drbd_try_clear_on_disk_bm() local 668 if (ext->lce.lc_number == enr) { in drbd_try_clear_on_disk_bm() 670 ext->rs_left -= count; in drbd_try_clear_on_disk_bm() 672 ext->rs_failed += count; in drbd_try_clear_on_disk_bm() 673 if (ext->rs_left < ext->rs_failed) { in drbd_try_clear_on_disk_bm() 677 ext->lce.lc_number, ext->rs_left, in drbd_try_clear_on_disk_bm() 678 ext->rs_failed, count); in drbd_try_clear_on_disk_bm() 681 lc_put(mdev->resync, &ext->lce); in drbd_try_clear_on_disk_bm() 693 if (ext->flags != 0) { in drbd_try_clear_on_disk_bm() 696 ext->lce.lc_number, ext->rs_left, in drbd_try_clear_on_disk_bm() [all …]
|
/drivers/video/riva/ |
D | fbdev.c | 610 par->riva.UnloadStateExt(&par->riva, ®s->ext); in riva_save_state() 644 RIVA_HW_STATE *state = ®s->ext; in riva_load_state() 765 newmode.ext.screen = SetBitField(hBlankEnd,6:6,4:4) in riva_load_video_mode() 770 newmode.ext.horiz = SetBitField(hTotal,8:8,0:0) in riva_load_video_mode() 774 newmode.ext.extra = SetBitField(vTotal,11:11,0:0) in riva_load_video_mode() 781 newmode.ext.interlace = Set8Bits(tmp); in riva_load_video_mode() 782 newmode.ext.horiz |= SetBitField(tmp, 8:8,4:4); in riva_load_video_mode() 784 newmode.ext.interlace = 0xff; /* interlace off */ in riva_load_video_mode() 798 rc = CalcStateExt(&par->riva, &newmode.ext, bpp, width, in riva_load_video_mode() 803 newmode.ext.scale = NV_RD32(par->riva.PRAMDAC, 0x00000848) & in riva_load_video_mode() [all …]
|
/drivers/power/ |
D | abx500_chargalg.c | 856 struct power_supply *ext; in abx500_chargalg_get_ext_psy_data() local 863 ext = dev_get_drvdata(dev); in abx500_chargalg_get_ext_psy_data() 866 for (i = 0; i < ext->num_supplicants; i++) { in abx500_chargalg_get_ext_psy_data() 867 if (!strcmp(ext->supplied_to[i], psy->name)) in abx500_chargalg_get_ext_psy_data() 874 for (j = 0; j < ext->num_properties; j++) { in abx500_chargalg_get_ext_psy_data() 876 prop = ext->properties[j]; in abx500_chargalg_get_ext_psy_data() 880 ext->type == POWER_SUPPLY_TYPE_MAINS) in abx500_chargalg_get_ext_psy_data() 881 di->ac_chg = psy_to_ux500_charger(ext); in abx500_chargalg_get_ext_psy_data() 883 ext->type == POWER_SUPPLY_TYPE_USB) in abx500_chargalg_get_ext_psy_data() 884 di->usb_chg = psy_to_ux500_charger(ext); in abx500_chargalg_get_ext_psy_data() [all …]
|
D | ab8500_btemp.c | 823 struct power_supply *ext; in ab8500_btemp_get_ext_psy_data() local 830 ext = dev_get_drvdata(dev); in ab8500_btemp_get_ext_psy_data() 837 for (i = 0; i < ext->num_supplicants; i++) { in ab8500_btemp_get_ext_psy_data() 838 if (!strcmp(ext->supplied_to[i], psy->name)) in ab8500_btemp_get_ext_psy_data() 846 for (j = 0; j < ext->num_properties; j++) { in ab8500_btemp_get_ext_psy_data() 848 prop = ext->properties[j]; in ab8500_btemp_get_ext_psy_data() 850 if (ext->get_property(ext, prop, &ret)) in ab8500_btemp_get_ext_psy_data() 855 switch (ext->type) { in ab8500_btemp_get_ext_psy_data()
|
/drivers/dma/ioat/ |
D | dma_v3.c | 140 struct ioat_ring_ent *ext; in ioat3_dma_unmap() local 147 ext = ioat2_get_ring_ent(ioat, idx + 1); in ioat3_dma_unmap() 148 xor_ex = ext->xor_ex; in ioat3_dma_unmap() 177 struct ioat_ring_ent *ext; in ioat3_dma_unmap() local 184 ext = ioat2_get_ring_ent(ioat, idx + 1); in ioat3_dma_unmap() 185 pq_ex = ext->pq_ex; in ioat3_dma_unmap() 478 struct ioat_ring_ent *ext; in __ioat3_prep_xor_lock() local 521 ext = ioat2_get_ring_ent(ioat, idx + i + 1); in __ioat3_prep_xor_lock() 522 xor_ex = ext->xor_ex; in __ioat3_prep_xor_lock() 583 dump_pq_desc_dbg(struct ioat2_dma_chan *ioat, struct ioat_ring_ent *desc, struct ioat_ring_ent *ext) in dump_pq_desc_dbg() argument [all …]
|
/drivers/iommu/ |
D | amd_iommu_init.c | 105 u32 ext; member 892 PCI_BUS(e->ext >> 8), in init_iommu_from_acpi() 893 PCI_SLOT(e->ext >> 8), in init_iommu_from_acpi() 894 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi() 897 devid_to = e->ext >> 8; in init_iommu_from_acpi() 911 PCI_BUS(e->ext >> 8), in init_iommu_from_acpi() 912 PCI_SLOT(e->ext >> 8), in init_iommu_from_acpi() 913 PCI_FUNC(e->ext >> 8)); in init_iommu_from_acpi() 917 devid_to = e->ext >> 8; in init_iommu_from_acpi() 928 e->flags, e->ext); in init_iommu_from_acpi() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_linux.c | 967 char *ext; in r871x_wx_set_priv() local 972 ext = _malloc(len); in r871x_wx_set_priv() 973 if (!ext) in r871x_wx_set_priv() 975 if (copy_from_user(ext, dwrq->pointer, len)) { in r871x_wx_set_priv() 976 kfree(ext); in r871x_wx_set_priv() 980 if (0 == strcasecmp(ext, "RSSI")) { in r871x_wx_set_priv() 988 sprintf(ext, "%s rssi %d", in r871x_wx_set_priv() 995 sprintf(ext, "OK"); in r871x_wx_set_priv() 997 } else if (0 == strcasecmp(ext, "LINKSPEED")) { in r871x_wx_set_priv() 1009 sprintf(ext, "LINKSPEED %d", mbps); in r871x_wx_set_priv() [all …]
|
/drivers/s390/scsi/ |
D | zfcp_fc.h | 281 sense += fcp_rsp->ext.fr_rsp_len; in zfcp_fc_eval_fcp_rsp() 282 sense_len = min(fcp_rsp->ext.fr_sns_len, in zfcp_fc_eval_fcp_rsp() 288 resid = fcp_rsp->ext.fr_resid; in zfcp_fc_eval_fcp_rsp()
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 1210 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in gelic_wl_set_encodeext() local 1219 alg = ext->alg; in gelic_wl_set_encodeext() 1225 pr_debug("%s: ext_flag=%x\n", __func__, ext->ext_flags); in gelic_wl_set_encodeext() 1226 pr_debug("%s: ext_key_len=%x\n", __func__, ext->key_len); in gelic_wl_set_encodeext() 1237 if (!enc->length && (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY)) { in gelic_wl_set_encodeext() 1261 if (IW_ENCODING_TOKEN_MAX < ext->key_len) { in gelic_wl_set_encodeext() 1263 ext->key_len); in gelic_wl_set_encodeext() 1268 wl->key_len[key_index] = ext->key_len; in gelic_wl_set_encodeext() 1270 memcpy(wl->key[key_index], ext->key, ext->key_len); in gelic_wl_set_encodeext() 1275 if (ext->key_len != WPA_PSK_LEN) { in gelic_wl_set_encodeext() [all …]
|
/drivers/net/wireless/hostap/ |
D | hostap_ioctl.c | 3205 struct iw_encode_ext *ext = (struct iw_encode_ext *) extra; in prism2_ioctl_siwencodeext() local 3223 addr = ext->addr.sa_data; in prism2_ioctl_siwencodeext() 3247 ext->alg == IW_ENCODE_ALG_NONE) { in prism2_ioctl_siwencodeext() 3253 switch (ext->alg) { in prism2_ioctl_siwencodeext() 3268 local->dev->name, ext->alg); in prism2_ioctl_siwencodeext() 3285 if (sta_ptr || ext->alg != IW_ENCODE_ALG_WEP) { in prism2_ioctl_siwencodeext() 3323 if ((!(ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) || ext->key_len > 0) in prism2_ioctl_siwencodeext() 3325 (*crypt)->ops->set_key(ext->key, ext->key_len, ext->rx_seq, in prism2_ioctl_siwencodeext() 3333 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in prism2_ioctl_siwencodeext() 3339 if (sta_ptr == NULL && ext->key_len > 0) { in prism2_ioctl_siwencodeext() [all …]
|
/drivers/gpu/drm/ |
D | drm_edid.c | 520 cea_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) in cea_for_each_detailed_block() argument 523 u8 d = ext[0x02]; in cea_for_each_detailed_block() 524 u8 *det_base = ext + d; in cea_for_each_detailed_block() 532 vtb_for_each_detailed_block(u8 *ext, detailed_cb *cb, void *closure) in vtb_for_each_detailed_block() argument 534 unsigned int i, n = min((int)ext[0x02], 6); in vtb_for_each_detailed_block() 535 u8 *det_base = ext + 5; in vtb_for_each_detailed_block() 537 if (ext[0x01] != 1) in vtb_for_each_detailed_block() 557 u8 *ext = raw_edid + (i * EDID_LENGTH); in drm_for_each_detailed_block() local 558 switch (*ext) { in drm_for_each_detailed_block() 560 cea_for_each_detailed_block(ext, cb, closure); in drm_for_each_detailed_block() [all …]
|
/drivers/pci/hotplug/ |
D | cpci_hotplug_pci.c | 147 int ext = 0; in cpci_check_ext() local 160 ext = 1; in cpci_check_ext() 161 return ext; in cpci_check_ext()
|
/drivers/net/wireless/prism54/ |
D | isl_ioctl.c | 1543 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in prism54_set_encodeext() local 1544 int idx, alg = ext->alg, set_key = 1; in prism54_set_encodeext() 1567 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) { in prism54_set_encodeext() 1572 set_key = ext->key_len > 0 ? 1 : 0; in prism54_set_encodeext() 1581 if (ext->key_len > KEY_SIZE_WEP104) { in prism54_set_encodeext() 1585 if (ext->key_len > KEY_SIZE_WEP40) in prism54_set_encodeext() 1591 if (ext->key_len > KEY_SIZE_TKIP) { in prism54_set_encodeext() 1604 memcpy(key.key, ext->key, ext->key_len); in prism54_set_encodeext() 1652 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra; in prism54_get_encodeext() local 1671 max_key_len = encoding->length - sizeof(*ext); in prism54_get_encodeext() [all …]
|
/drivers/media/video/ |
D | hexium_orion.c | 417 .ext = &extension, 422 .ext = &extension, 427 .ext = &extension,
|
D | mt9t112.c | 278 static int mt9t112_clock_info(const struct i2c_client *client, u32 ext) in mt9t112_clock_info() argument 284 ext /= 1000; /* kbyte order */ in mt9t112_clock_info() 307 enable = ((6000 > ext) || (54000 < ext)) ? "X" : ""; in mt9t112_clock_info() 308 dev_dbg(&client->dev, "EXTCLK : %10u K %s\n", ext, enable); in mt9t112_clock_info() 310 vco = 2 * m * ext / (n+1); in mt9t112_clock_info() 337 clk = ext / (n+1); in mt9t112_clock_info()
|
/drivers/infiniband/core/ |
D | verbs.c | 282 srq->ext.xrc.xrcd = srq_init_attr->ext.xrc.xrcd; in ib_create_srq() 283 srq->ext.xrc.cq = srq_init_attr->ext.xrc.cq; in ib_create_srq() 284 atomic_inc(&srq->ext.xrc.xrcd->usecnt); in ib_create_srq() 285 atomic_inc(&srq->ext.xrc.cq->usecnt); in ib_create_srq() 327 xrcd = srq->ext.xrc.xrcd; in ib_destroy_srq() 328 cq = srq->ext.xrc.cq; in ib_destroy_srq()
|
/drivers/scsi/bfa/ |
D | bfad.c | 488 goto ext; in bfa_fcb_rport_alloc() 493 ext: in bfa_fcb_rport_alloc() 618 goto ext; in bfad_hal_mem_alloc() 632 goto ext; in bfad_hal_mem_alloc() 637 ext: in bfad_hal_mem_alloc() 656 goto ext; in bfad_vport_create() 691 ext: in bfad_vport_create() 1556 goto ext; in bfad_init() 1568 goto ext; in bfad_init() 1573 ext: in bfad_init()
|