Searched refs:le16_to_cpu (Results 176 - 200 of 481) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/hid/usbhid/
H A Dusbkbd.c264 le16_to_cpu(dev->descriptor.idVendor),
265 le16_to_cpu(dev->descriptor.idProduct));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Dfreecom.c283 le16_to_cpu (fst->Count));
292 length = le16_to_cpu(fst->Count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/zd1211rw/
H A Dzd_usb.c108 return le16_to_cpu(udev->descriptor.bcdDevice);
194 return le16_to_cpu(p[offset]);
525 k = le16_to_cpu(get_unaligned(&length_info->length[i]));
845 le16_to_cpu(udev->descriptor.idVendor),
846 le16_to_cpu(udev->descriptor.idProduct),
1121 le16_to_cpu(rd->addr),
1122 le16_to_cpu(req->addr[i]));
1125 values[i] = le16_to_cpu(rd->value);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/
H A Dexec-osm.c277 sprintf(buf, "0x%04x", le16_to_cpu(id));
300 sprintf(buf, "0x%04x", le16_to_cpu(id));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Dsuper.c1328 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots);
1478 osb->bitmap_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg);
1515 } else if (le16_to_cpu(di->id2.i_super.s_major_rev_level) !=
1517 le16_to_cpu(di->id2.i_super.s_minor_rev_level) !=
1521 le16_to_cpu(di->id2.i_super.s_major_rev_level),
1522 le16_to_cpu(di->id2.i_super.s_minor_rev_level),
1538 } else if (le16_to_cpu(di->id2.i_super.s_max_slots) > OCFS2_MAX_SLOTS) {
1542 le16_to_cpu(di->id2.i_super.s_max_slots),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/sb/
H A Dsb16_csp.c361 func_nr = le16_to_cpu(funcdesc_h.func_nr);
410 p->mode = le16_to_cpu(funcdesc_h.flags_play_rec);
411 switch (le16_to_cpu(funcdesc_h.VOC_type)) {
413 if (le16_to_cpu(funcdesc_h.flags_play_rec) == SNDRV_SB_CSP_MODE_DSP_WRITE) {
443 le16_to_cpu(funcdesc_h.VOC_type));
446 p->acc_channels = le16_to_cpu(funcdesc_h.flags_stereo_mono);
447 p->acc_width = le16_to_cpu(funcdesc_h.flags_16bit_8bit);
448 p->acc_rates = le16_to_cpu(funcdesc_h.flags_rates);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dvolume.c984 vinf = (VOLUME_INFORMATION*)(le16_to_cpu(a->value_offset) + (char*)a);
988 le16_to_cpu(a->value_offset) + le32_to_cpu(
997 /* Do not use le16_to_cpu() macro here as our VOLUME_FLAGS are
1029 vname = (ntfschar*)(le16_to_cpu(a->value_offset) + (char*)a);
1046 ntfschar uc = le16_to_cpu(vname[j]);
1463 c = (VOLUME_INFORMATION*)(le16_to_cpu(a->value_offset) + (char*)a);
1467 le16_to_cpu(a->value_offset) +
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/gigaset/
H A Dusb-gigaset.c649 __func__, le16_to_cpu(udev->descriptor.idVendor),
650 le16_to_cpu(udev->descriptor.idProduct));
655 if ((le16_to_cpu(udev->descriptor.idVendor) != USB_M105_VENDOR_ID) ||
656 (le16_to_cpu(udev->descriptor.idProduct) != USB_M105_PRODUCT_ID))
699 buffer_size = le16_to_cpu(endpoint->wMaxPacketSize);
726 buffer_size = le16_to_cpu(endpoint->wMaxPacketSize);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/hostap/
H A Dhostap_main.c997 local->comms_qual = (s16) le16_to_cpu(sq.comm_qual);
998 local->avg_signal = (s16) le16_to_cpu(sq.signal_level);
999 local->avg_noise = (s16) le16_to_cpu(sq.noise_level);
1006 local->comms_qual = le16_to_cpu(sq.comm_qual);
1008 le16_to_cpu(sq.signal_level));
1010 le16_to_cpu(sq.noise_level));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Dif_usb.c144 le16_to_cpu(udev->descriptor.bcdUSB),
156 le16_to_cpu(endpoint->wMaxPacketSize));
165 le16_to_cpu(endpoint->wMaxPacketSize);
186 le16_to_cpu(endpoint->wMaxPacketSize);
189 le16_to_cpu(endpoint->wMaxPacketSize));
485 if (le16_to_cpu(cardp->udev->descriptor.bcdDevice) < 0x3106) {
H A Djoin.c724 if (le16_to_cpu(passocrsp->statuscode)) {
728 le16_to_cpu(passocrsp->statuscode));
735 le16_to_cpu(resp->size) - S_DS_GEN);
792 u16 command = le16_to_cpu(resp->command);
793 u16 result = le16_to_cpu(resp->result);
802 lbs_deb_join("ADHOC_RESP: size = %d\n", le16_to_cpu(resp->size));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/
H A Daic94xx_sds.c261 asd_ha->hw_prof.ue.num = le16_to_cpu(bc_struct->ue_num);
262 asd_ha->hw_prof.ue.size= le16_to_cpu(bc_struct->ue_size);
656 ms->offs_next = le16_to_cpu((__force __le16) ms->offs_next);
657 ms->chksum = le16_to_cpu((__force __le16) ms->chksum);
658 ms->size = le16_to_cpu((__force __le16) ms->size);
705 el = start + le16_to_cpu(el->next);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla4xxx/
H A Dql4_init.c412 ddb_entry->target_session_id = le16_to_cpu(fw_ddb_entry->TSID);
414 le16_to_cpu(fw_ddb_entry->taskMngmntTimeout);
416 ddb_entry->exe_throttle = le16_to_cpu(fw_ddb_entry->exeThrottle);
418 le16_to_cpu(fw_ddb_entry->taskMngmntTimeout);
419 ddb_entry->default_time2wait = le16_to_cpu(fw_ddb_entry->minTime2Wait);
425 ddb_entry->port = le16_to_cpu(fw_ddb_entry->portNumber);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/usb/
H A Dkaweth.c976 le16_to_cpu(dev->descriptor.idVendor),
977 le16_to_cpu(dev->descriptor.idProduct),
978 le16_to_cpu(dev->descriptor.bcdDevice));
1006 if (le16_to_cpu(dev->descriptor.bcdDevice) >> 8) {
1072 info("MTU: %d", le16_to_cpu(kaweth->configuration.segment_size));
1148 netdev->mtu = le16_to_cpu(kaweth->configuration.segment_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/usbvideo/
H A Dkonicawc.c448 pktsz = le16_to_cpu(interface->endpoint[1].desc.wMaxPacketSize);
789 info("Konica Webcam (rev. 0x%04x)", le16_to_cpu(dev->descriptor.bcdDevice));
813 endpoint->bEndpointAddress, le16_to_cpu(endpoint->wMaxPacketSize));
830 if (le16_to_cpu(endpoint->wMaxPacketSize) == 0) {
843 if (le16_to_cpu(endpoint->wMaxPacketSize) > maxPS)
844 maxPS = le16_to_cpu(endpoint->wMaxPacketSize);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dsuper.c1176 else if ((__s16) le16_to_cpu(es->s_max_mnt_count) >= 0 &&
1177 le16_to_cpu(es->s_mnt_count) >=
1178 (unsigned short) (__s16) le16_to_cpu(es->s_max_mnt_count))
1188 if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
1190 es->s_mnt_count=cpu_to_le16(le16_to_cpu(es->s_mnt_count) + 1);
1497 sb->s_magic = le16_to_cpu(es->s_magic);
1524 if (le16_to_cpu(sbi->s_es->s_errors) == EXT4_ERRORS_PANIC)
1526 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT4_ERRORS_RO)
1531 sbi->s_resuid = le16_to_cpu(es->s_def_resuid);
1532 sbi->s_resgid = le16_to_cpu(e
[all...]
H A Dballoc.c583 cpu_to_le16(le16_to_cpu(desc->bg_free_blocks_count) +
1494 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count);
1530 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count);
1644 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count)-num);
1715 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
1723 i, le16_to_cpu(gdp->bg_free_blocks_count), x);
1739 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/
H A Dsuper.c359 le16_to_cpu(vol->vol_flags), le16_to_cpu(flags));
378 le16_to_cpu(ctx->attr->data.resident.value_offset));
423 flags = vol->vol_flags & cpu_to_le16(~le16_to_cpu(flags));
483 (unsigned)le16_to_cpu(vol->vol_flags),
564 if (le16_to_cpu(b->bpb.bytes_per_sector) < 0x100 ||
565 le16_to_cpu(b->bpb.bytes_per_sector) > 0x1000)
575 if ((u32)le16_to_cpu(b->bpb.bytes_per_sector) *
579 if (le16_to_cpu(b->bpb.reserved_sectors) ||
580 le16_to_cpu(
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/firewire/
H A Dfw-ohci.c382 rest = le16_to_cpu(d->req_count) - le16_to_cpu(d->res_count);
397 (void *) ab + PAGE_SIZE - le16_to_cpu(d->res_count);
717 evt = le16_to_cpu(last->transfer_status) & 0x1f;
718 packet->timestamp = le16_to_cpu(last->res_count);
1314 header_length = le16_to_cpu(db->first_req_count) -
1315 le16_to_cpu(db->first_res_count);
1336 if (le16_to_cpu(db->control) & DESCRIPTOR_IRQ_ALWAYS) {
1359 if (le16_to_cpu(last->control) & DESCRIPTOR_IRQ_ALWAYS)
1360 ctx->base.callback(&ctx->base, le16_to_cpu(las
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/atm/
H A Dueagle-atm.c225 (le16_to_cpu((usb_dev)->descriptor.bcdDevice) & 0x80)
240 #define FW_GET_WORD(p) le16_to_cpu(get_unaligned((__le16 *) (p)))
1248 if (le16_to_cpu(cmv->wPreamble) != PREAMBLE)
1272 if (le16_to_cpu(cmv->wIndex) != sc->cmv_idx ||
1275 || le16_to_cpu(cmv->wOffsetAddress) != sc->cmv_offset)
1296 le16_to_cpu(cmv->wPreamble), cmv->bDirection);
1321 switch (le16_to_cpu(intr->wInterrupt)) {
1334 le16_to_cpu(intr->wInterrupt));
1752 le16_to_cpu(usb->descriptor.idVendor),
1753 le16_to_cpu(us
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/misc/
H A Dusbtest.c530 if (le16_to_cpu(config->wTotalLength) == len) /* read it all */
532 if (le16_to_cpu(config->wTotalLength) >= TBUF_SIZE) /* max partial read */
636 if (le16_to_cpu(udev->descriptor.bcdUSB) == 0x0200) {
1383 maxp = 0x7ff & le16_to_cpu(desc->wMaxPacketSize);
1384 maxp *= 1 + (0x3 & (le16_to_cpu(desc->wMaxPacketSize) >> 11));
1443 le16_to_cpu(desc->wMaxPacketSize));
1862 if (!vendor || le16_to_cpu(udev->descriptor.idVendor) != (u16)vendor)
1864 if (product && le16_to_cpu(udev->descriptor.idProduct) != (u16)product)
1867 le16_to_cpu(udev->descriptor.idVendor),
1868 le16_to_cpu(ude
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_isr.c796 comp_status = le16_to_cpu(sts24->comp_status);
797 scsi_status = le16_to_cpu(sts24->scsi_status) & SS_MASK;
799 comp_status = le16_to_cpu(sts->comp_status);
800 scsi_status = le16_to_cpu(sts->scsi_status) & SS_MASK;
853 sense_len = le16_to_cpu(sts->req_sense_length);
854 rsp_info_len = le16_to_cpu(sts->rsp_info_len);
1150 le16_to_cpu(sts->status_flags)));
1153 if ((le16_to_cpu(sts->status_flags) & SF_LOGOUT_SENT))
1311 CMD_COMPL_STATUS(sp->cmd) = le16_to_cpu(pkt->status);
1530 CMD_COMPL_STATUS(sp->cmd) = le16_to_cpu(pk
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptbase.c309 req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx);
319 ioc_stat = le16_to_cpu(mr->u.reply.IOCStatus);
484 status = le16_to_cpu(pReply->IOCStatus) & MPI_IOCSTATUS_MASK;
494 le16_to_cpu(pReply->ExtPageLength);
2389 facts->MsgVersion = le16_to_cpu(facts->MsgVersion);
2391 facts->IOCExceptions = le16_to_cpu(facts->IOCExceptions);
2392 facts->IOCStatus = le16_to_cpu(facts->IOCStatus);
2394 status = le16_to_cpu(facts->IOCStatus) & MPI_IOCSTATUS_MASK;
2397 facts->ReplyQueueDepth = le16_to_cpu(facts->ReplyQueueDepth);
2398 facts->RequestFrameSize = le16_to_cpu(fact
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext3/
H A Dsuper.c1121 else if ((__s16) le16_to_cpu(es->s_max_mnt_count) >= 0 &&
1122 le16_to_cpu(es->s_mnt_count) >=
1123 (unsigned short) (__s16) le16_to_cpu(es->s_max_mnt_count))
1133 if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
1135 es->s_mnt_count=cpu_to_le16(le16_to_cpu(es->s_mnt_count) + 1);
1439 sb->s_magic = le16_to_cpu(es->s_magic);
1466 if (le16_to_cpu(sbi->s_es->s_errors) == EXT3_ERRORS_PANIC)
1468 else if (le16_to_cpu(sbi->s_es->s_errors) == EXT3_ERRORS_RO)
1473 sbi->s_resuid = le16_to_cpu(es->s_def_resuid);
1474 sbi->s_resgid = le16_to_cpu(e
[all...]
H A Dballoc.c566 cpu_to_le16(le16_to_cpu(desc->bg_free_blocks_count) +
1478 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count);
1516 free_blocks = le16_to_cpu(gdp->bg_free_blocks_count);
1630 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count)-num);
1701 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
1709 i, le16_to_cpu(gdp->bg_free_blocks_count), x);
1725 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);

Completed in 306 milliseconds

1234567891011>>