Searched refs:device_type (Results 1 - 25 of 48) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/chips/
H A Dcfi_probe.c48 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); \
49 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); \
56 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); \
57 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); \
58 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); \
77 int osf = cfi->interleave * cfi->device_type; // scale factor
120 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL);
121 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL);
122 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL);
149 cfi_send_gen_cmd(0xF0, 0, start, map, cfi, cfi->device_type, NUL
[all...]
H A Dcfi_util.c35 int ofs_factor = cfi->interleave * cfi->device_type;
54 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL);
63 cfi_send_gen_cmd(0xf0, 0, base, map, cfi, cfi->device_type, NULL);
64 cfi_send_gen_cmd(0xff, 0, base, map, cfi, cfi->device_type, NULL);
H A Dcfi_cmdset_0002.c340 ((cfi->device_type == CFI_DEVICETYPE_X8) &&
343 ((cfi->device_type == CFI_DEVICETYPE_X16) &&
906 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
907 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL);
908 cfi_send_gen_cmd(0x88, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
912 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
913 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL);
914 cfi_send_gen_cmd(0x90, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
915 cfi_send_gen_cmd(0x00, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL);
1014 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NUL
[all...]
H A Djedec_probe.c1772 u32 ofs = cfi_build_cmd_addr(0, cfi_interleave(cfi), cfi->device_type);
1773 mask = (1 << (cfi->device_type * 8)) -1;
1783 u32 ofs = cfi_build_cmd_addr(1, cfi_interleave(cfi), cfi->device_type);
1784 mask = (1 << (cfi->device_type * 8)) -1;
1804 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL);
1805 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL);
1808 cfi_send_gen_cmd(0xF0, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL);
1814 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL);
1818 static inline __u8 finfo_uaddr(const struct amd_flash_info *finfo, int device_type) argument
1823 switch ( device_type ) {
[all...]
H A Dcfi_cmdset_0020.c848 chipstatus |= status.x[w] >> (cfi->device_type * 8);
1134 int ofs_factor = cfi->interleave * cfi->device_type;
1152 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL);
1154 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL);
1160 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL);
1162 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL);
1282 int ofs_factor = cfi->interleave * cfi->device_type;
1293 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL);
1299 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL);
1306 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NUL
[all...]
H A Dgen_probe.c188 cfi->device_type = type;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/serial/
H A Dkobil_sct.c138 __u16 device_type; member in struct:kobil_private
161 priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct);
164 switch (priv->device_type){
309 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) {
336 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID ||
337 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) {
440 if ( ((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (priv->buf[1] + 3))) ||
441 ((priv->device_type
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_internal.h121 rphy->identify.device_type = SAS_END_DEVICE;
124 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE;
127 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE;
130 rphy->identify.device_type = SAS_PHY_UNUSED;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/scsi/
H A Dscsi_transport_sas.h47 enum sas_device_type device_type; member in struct:sas_identify
211 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE ||
212 rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/crypto/
H A Dap_bus.c113 * @device_type: pointer to device type value
118 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument
126 *device_type = (int) (reg2 >> 24);
266 * @device_type: pointer to device type value
268 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) argument
279 *device_type = t_device_type;
350 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type);
380 return sprintf(buf, "ap:t%02X", to_ap_dev(dev)->device_type);
411 (id->dev_type != ap_dev->device_type))
434 "DEV_TYPE=%04X", ap_dev->device_type);
601 int queue_depth, device_type, count, max_count, best_domain; local
750 int queue_depth, device_type; local
[all...]
H A Dap_bus.h113 int device_type; /* AP device type. */ member in struct:ap_device
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/core/
H A Dusb.h81 extern struct device_type usb_device_type;
82 extern struct device_type usb_if_device_type;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Dintel8x0.c369 unsigned int device_type; member in struct:intel8x0
952 switch (chip->device_type) {
978 if (chip->device_type == DEVICE_NFORCE) {
988 } else if (chip->device_type == DEVICE_INTEL_ICH4) {
1009 if (chip->device_type == DEVICE_INTEL_ICH4)
1097 if (chip->device_type == DEVICE_SIS) {
1207 int idx = chip->device_type == DEVICE_NFORCE ? NVD_SPBAR : ICHD_SPBAR;
1215 int idx = chip->device_type == DEVICE_NFORCE ? NVD_SPBAR : ICHD_SPBAR;
1498 switch (chip->device_type) {
1978 switch (chip->device_type) {
2627 snd_intel8x0_create(struct snd_card *card, struct pci_dev *pci, unsigned long device_type, struct intel8x0 ** r_intel8x0) argument
[all...]
H A Dintel8x0m.c195 unsigned int device_type; member in struct:intel8x0m
832 if (chip->device_type != DEVICE_ALI)
917 if (chip->device_type == DEVICE_SIS) {
1038 if (chip->device_type == DEVICE_ALI)
1076 unsigned long device_type,
1104 chip->device_type = device_type;
1115 if (device_type == DEVICE_ALI) {
1160 if (device_type == DEVICE_SIS) {
1168 if (device_type
1074 snd_intel8x0m_create(struct snd_card *card, struct pci_dev *pci, unsigned long device_type, struct intel8x0m ** r_intel8x0) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dscsi_transport_sas.c126 sas_bitfield_name_search(device_type, sas_device_type_names)
333 if (!phy->identify.device_type)
335 return get_sas_device_type_names(phy->identify.device_type, buf);
337 static CLASS_DEVICE_ATTR(device_type, S_IRUGO, show_sas_device_type, NULL);
934 if (!rphy->identify.device_type)
937 rphy->identify.device_type, buf);
940 static SAS_CLASS_DEVICE_ATTR(rphy, device_type, S_IRUGO,
1008 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE);
1134 rphy->identify.device_type == SAS_END_DEVICE;
1157 (rphy->identify.device_type
[all...]
H A Dibmmca.c306 int device_type; /* type of the SCSI-device. See include/scsi/scsi.h member in struct:logical_device
679 if ((ld(ihost_index)[ldn].device_type != TYPE_NO_LUN) && (ld(ihost_index)[ldn].device_type != TYPE_NO_DEVICE)) {
1228 if (device_exists(host_index, ldn, &ld(host_index)[ldn].block_length, &ld(host_index)[ldn].device_type)) {
1325 static int device_exists(int host_index, int ldn, int *block_length, int *device_type) argument
1333 *device_type = TYPE_ROM;
1338 *device_type = TYPE_WORM;
1343 *device_type = TYPE_DISK;
1351 *device_type = TYPE_MOD;
1359 *device_type
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ixgb/
H A Dixgb_hw.c59 uint32_t device_type);
752 uint32_t device_type)
760 ASSERT(device_type <= IXGB_MAX_PHY_DEV_TYPE);
764 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) |
791 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) |
831 * device_type - Also known as the Device ID or DID.
845 uint32_t device_type,
853 ASSERT(device_type <= IXGB_MAX_PHY_DEV_TYPE);
860 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) |
887 (device_type << IXGB_MSCA_DEV_TYPE_SHIF
749 ixgb_read_phy_reg(struct ixgb_hw *hw, uint32_t reg_address, uint32_t phy_address, uint32_t device_type) argument
842 ixgb_write_phy_reg(struct ixgb_hw *hw, uint32_t reg_address, uint32_t phy_address, uint32_t device_type, uint16_t data) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_os.c1188 ha->device_type = DT_EXTENDED_IDS;
1191 ha->device_type |= DT_ISP2100;
1192 ha->device_type &= ~DT_EXTENDED_IDS;
1196 ha->device_type |= DT_ISP2200;
1197 ha->device_type &= ~DT_EXTENDED_IDS;
1201 ha->device_type |= DT_ISP2300;
1202 ha->device_type |= DT_ZIO_SUPPORTED;
1206 ha->device_type |= DT_ISP2312;
1207 ha->device_type |= DT_ZIO_SUPPORTED;
1211 ha->device_type |
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/cpia2/
H A Dcpia2_core.c142 unsigned int device = cam->params.pnp_id.device_type;
437 cam->params.pnp_id.device_type = DEVICE_STV_672;
440 cam->params.pnp_id.device_type = DEVICE_STV_676;
656 if (cam->params.pnp_id.device_type == DEVICE_STV_672) {
669 if (cam->params.pnp_id.device_type == DEVICE_STV_672)
679 if (cam->params.pnp_id.device_type == DEVICE_STV_676) {
766 if (cam->params.pnp_id.device_type == DEVICE_STV_672)
778 if (cam->params.pnp_id.device_type == DEVICE_STV_676)
952 if (cam->params.pnp_id.device_type == DEVICE_STV_672)
973 // if (cam->params.pnp_id.device_type
[all...]
H A Dcpia2_v4l.c708 switch (cam->params.pnp_id.device_type) {
1019 if (cam->params.pnp_id.device_type == DEVICE_STV_672)
1024 if(cam->params.pnp_id.device_type == DEVICE_STV_672)
1028 if(cam->params.pnp_id.device_type == DEVICE_STV_672 &&
1043 if(cam->params.pnp_id.device_type != DEVICE_STV_672)
1083 if(cam->params.pnp_id.device_type == DEVICE_STV_672 &&
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Ds2io.c1040 if (nic->device_type & XFRAME_II_DEVICE) {
1071 if (nic->device_type & XFRAME_II_DEVICE) {
1130 if ((nic->device_type == XFRAME_I_DEVICE) &&
1161 if (nic->device_type & XFRAME_II_DEVICE)
1463 if (nic->device_type == XFRAME_II_DEVICE) {
1486 if (nic->device_type == XFRAME_II_DEVICE) {
1561 if (nic->device_type == XFRAME_II_DEVICE) {
1637 if (nic->device_type == XFRAME_II_DEVICE)
1697 if (nic->device_type == XFRAME_II_DEVICE) {
1719 if (nic->device_type
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/zd1211rw/
H A Dzd_mac.h192 int zd_mac_init_hw(struct zd_mac *mac, u8 device_type);
H A Dzd_usb.c197 static char *get_fw_name(char *buffer, size_t size, u8 device_type, argument
201 device_type == DEVICE_ZD1211B ?
207 static int handle_version_mismatch(struct usb_device *udev, u8 device_type, argument
216 get_fw_name(fw_name, sizeof(fw_name), device_type, "ur"),
239 static int upload_firmware(struct usb_device *udev, u8 device_type) argument
251 get_fw_name(fw_name, sizeof(fw_name), device_type, "ub"),
266 r = handle_version_mismatch(udev, device_type, ub_fw);
277 get_fw_name(fw_name, sizeof(fw_name), device_type, "uphr"),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ide/
H A Dide-floppy.c313 unsigned device_type :5; /* Device type */ member in struct:idefloppy_id_gcw
319 unsigned device_type :5; /* Device type */
334 unsigned device_type :5; /* Peripheral Device Type */ member in struct:__anon4439
347 unsigned device_type :5; /* Peripheral Device Type */
1614 if ((gcw.device_type == 5) &&
1617 gcw.device_type = 0;
1628 switch (gcw.device_type) {
1638 printk(KERN_INFO "Device Type: %x - %s\n", gcw.device_type, buffer);
1706 else if (gcw.device_type != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/firewire/
H A Dfw-device.c510 static struct device_type fw_unit_type = {
599 static struct device_type fw_device_type = {

Completed in 213 milliseconds

12