/linux-4.1.27/drivers/mtd/chips/ |
H A D | cfi_util.c | 29 int osf = cfi->interleave * cfi->device_type; /* scale factor */ cfi_qry_present() 57 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 58 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 63 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 64 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 65 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 69 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 70 cfi_send_gen_cmd(0x98, 0x555, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 74 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 75 cfi_send_gen_cmd(0xAA, 0x5555, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 76 cfi_send_gen_cmd(0x55, 0x2AAA, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 77 cfi_send_gen_cmd(0x98, 0x5555, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 81 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 82 cfi_send_gen_cmd(0xAA, 0x555, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 83 cfi_send_gen_cmd(0x55, 0x2AA, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 84 cfi_send_gen_cmd(0x98, 0x555, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_on() 95 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_off() 96 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_off() 100 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); cfi_qry_mode_off() 109 int ofs_factor = cfi->interleave * cfi->device_type; cfi_read_pri()
|
H A D | jedec_probe.c | 1891 mask = (1 << (cfi->device_type * 8)) - 1; jedec_read_mfr() 1905 mask = (1 << (cfi->device_type * 8)) -1; jedec_read_id() 1923 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); jedec_reset() 1924 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); jedec_reset() 1927 cfi_send_gen_cmd(0xF0, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); jedec_reset() 1933 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); jedec_reset() 1943 if (!(jedec_table[index].devtypes & cfi->device_type)) { cfi_jedec_setup() 1945 jedec_table[index].name, 4 * (1<<cfi->device_type)); cfi_jedec_setup() 1982 cfi->addr_unlock1 = unlock_addrs[uaddr].addr1 / cfi->device_type; cfi_jedec_setup() 1983 cfi->addr_unlock2 = unlock_addrs[uaddr].addr2 / cfi->device_type; cfi_jedec_setup() 2014 switch (cfi->device_type) { jedec_match() 2040 __func__, cfi->device_type); jedec_match() 2057 if (! (finfo->devtypes & cfi->device_type)) jedec_match() 2065 && ( unlock_addrs[uaddr].addr1 / cfi->device_type != cfi->addr_unlock1 || jedec_match() 2066 unlock_addrs[uaddr].addr2 / cfi->device_type != cfi->addr_unlock2 ) ) { jedec_match() 2104 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); jedec_match() 2105 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); jedec_match() 2107 cfi_send_gen_cmd(0x90, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); jedec_match() 2129 cfi->addr_unlock1 = unlock_addrs[uaddr_idx].addr1 / cfi->device_type; jedec_probe_chip() 2130 cfi->addr_unlock2 = unlock_addrs[uaddr_idx].addr2 / cfi->device_type; jedec_probe_chip() 2153 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); jedec_probe_chip() 2154 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); jedec_probe_chip() 2156 cfi_send_gen_cmd(0x90, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); jedec_probe_chip() 2166 cfi->mfr, cfi->id, cfi_interleave(cfi), cfi->device_type); jedec_probe_chip() 2239 map->name, cfi_interleave(cfi), cfi->device_type*8, base, jedec_probe_chip()
|
H A D | cfi_cmdset_0002.c | 453 ((cfi->device_type == CFI_DEVICETYPE_X8 && (cfi->id & 0xff) == 0x7e) || is_m29ew() 454 (cfi->device_type == CFI_DEVICETYPE_X16 && cfi->id == 0x227e))) is_m29ew() 1183 cfi->device_type, NULL); otp_enter() 1185 cfi->device_type, NULL); otp_enter() 1187 cfi->device_type, NULL); otp_enter() 1198 cfi->device_type, NULL); otp_exit() 1200 cfi->device_type, NULL); otp_exit() 1202 cfi->device_type, NULL); otp_exit() 1204 cfi->device_type, NULL); otp_exit() 1342 cfi->device_type, NULL); do_otp_lock() 1344 cfi->device_type, NULL); do_otp_lock() 1346 cfi->device_type, NULL); do_otp_lock() 1390 int ofs_factor = cfi->interleave * cfi->device_type; cfi_amdstd_otp_walk() 1445 cfi->device_type, NULL); cfi_amdstd_otp_walk() 1448 cfi->device_type, NULL); cfi_amdstd_otp_walk() 1451 cfi->device_type, NULL); cfi_amdstd_otp_walk() 1601 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_write_oneword() 1602 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_write_oneword() 1603 cfi_send_gen_cmd(0xA0, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_write_oneword() 1828 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_write_buffer() 1829 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_write_buffer() 1898 cfi->device_type, NULL); do_write_buffer() 1900 cfi->device_type, NULL); do_write_buffer() 1902 cfi->device_type, NULL); do_write_buffer() 2089 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_panic_write_oneword() 2090 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_panic_write_oneword() 2091 cfi_send_gen_cmd(0xA0, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_panic_write_oneword() 2258 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_chip() 2259 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_erase_chip() 2260 cfi_send_gen_cmd(0x80, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_chip() 2261 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_chip() 2262 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_erase_chip() 2263 cfi_send_gen_cmd(0x10, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_chip() 2347 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_oneblock() 2348 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_erase_oneblock() 2349 cfi_send_gen_cmd(0x80, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_oneblock() 2350 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, cfi->device_type, NULL); do_erase_oneblock() 2351 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, cfi->device_type, NULL); do_erase_oneblock() 2470 cfi->device_type, NULL); do_atmel_lock() 2472 cfi->device_type, NULL); do_atmel_lock() 2474 cfi->device_type, NULL); do_atmel_lock() 2476 cfi->device_type, NULL); do_atmel_lock() 2478 cfi->device_type, NULL); do_atmel_lock() 2505 cfi->device_type, NULL); do_atmel_unlock() 2561 cfi->device_type, NULL); do_ppb_xxlock() 2563 cfi->device_type, NULL); do_ppb_xxlock() 2566 cfi->device_type, NULL); do_ppb_xxlock()
|
H A D | cfi_probe.c | 148 map->name, cfi->interleave, cfi->device_type*8, base, cfi_probe_chip() 157 int ofs_factor = cfi->interleave*cfi->device_type; cfi_chip_setup() 222 cfi_send_gen_cmd(0xf0, 0, base, map, cfi, cfi->device_type, NULL); cfi_chip_setup() 223 cfi_send_gen_cmd(0xaa, addr_unlock1, base, map, cfi, cfi->device_type, NULL); cfi_chip_setup() 224 cfi_send_gen_cmd(0x55, addr_unlock2, base, map, cfi, cfi->device_type, NULL); cfi_chip_setup() 225 cfi_send_gen_cmd(0x90, addr_unlock1, base, map, cfi, cfi->device_type, NULL); cfi_chip_setup() 239 map->name, cfi->interleave, cfi->device_type*8, base, cfi_chip_setup()
|
H A D | cfi_cmdset_0020.c | 851 chipstatus |= status.x[w] >> (cfi->device_type * 8); do_erase_oneblock() 1134 int ofs_factor = cfi->interleave * cfi->device_type; cfi_staa_lock() 1149 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_lock() 1151 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_lock() 1157 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_lock() 1159 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_lock() 1280 int ofs_factor = cfi->interleave * cfi->device_type; cfi_staa_unlock() 1291 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_unlock() 1297 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_unlock() 1304 cfi_send_gen_cmd(0x90, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_unlock() 1306 cfi_send_gen_cmd(0xff, 0x55, 0, map, cfi, cfi->device_type, NULL); cfi_staa_unlock()
|
H A D | gen_probe.c | 184 cfi->device_type = type; genprobe_new_chip()
|
H A D | cfi_cmdset_0001.c | 2053 int status, ofs_factor = cfi->interleave * cfi->device_type; do_getlockstatus_oneblock() 2325 data_offset *= cfi->interleave * cfi->device_type; cfi_intelext_otp_walk() 2326 reg_prot_offset *= cfi->interleave * cfi->device_type; cfi_intelext_otp_walk()
|
/linux-4.1.27/drivers/power/ |
H A D | power_supply.h | 14 struct device_type; 19 extern void power_supply_init_attrs(struct device_type *dev_type); 24 static inline void power_supply_init_attrs(struct device_type *dev_type) {} power_supply_init_attrs()
|
H A D | power_supply_sysfs.c | 246 void power_supply_init_attrs(struct device_type *dev_type) power_supply_init_attrs()
|
H A D | power_supply_core.c | 31 static struct device_type power_supply_dev_type;
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sd.h | 6 extern struct device_type sd_type;
|
H A D | bus.h | 23 struct device_type *type);
|
H A D | bus.c | 259 struct mmc_card *mmc_alloc_card(struct mmc_host *host, struct device_type *type) mmc_alloc_card()
|
H A D | sd.c | 722 struct device_type sd_type = {
|
H A D | mmc.c | 765 static struct device_type mmc_type = {
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | kobil_sct.c | 112 __u16 device_type; member in struct:kobil_private 127 priv->device_type = le16_to_cpu(serial->dev->descriptor.idProduct); kobil_port_probe() 129 switch (priv->device_type) { kobil_port_probe() 214 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || kobil_open() 215 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) { kobil_open() 243 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || kobil_open() 244 priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || kobil_open() 245 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { kobil_open() 320 if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (priv->buf[1] + 3))) || kobil_write() 321 ((priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 3) && (priv->filled >= (priv->buf[2] + 4)))) { kobil_write() 323 if ((priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) kobil_write() 324 || (priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID)) kobil_write() 351 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID || kobil_write() 352 priv->device_type == KOBIL_ADAPTER_K_PRODUCT_ID) { kobil_write() 378 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID kobil_tiocmget() 379 || priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { kobil_tiocmget() 421 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID kobil_tiocmset() 422 || priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { kobil_tiocmset() 436 if (priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) { kobil_tiocmset() 479 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || kobil_set_termios() 480 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) { kobil_set_termios() 528 if (priv->device_type == KOBIL_USBTWIN_PRODUCT_ID || kobil_ioctl() 529 priv->device_type == KOBIL_KAAN_SIM_PRODUCT_ID) kobil_ioctl()
|
H A D | mos7840.c | 2078 int device_type; mos7840_probe() local 2082 device_type = product; mos7840_probe() 2096 device_type = MOSCHIP_DEVICE_ID_7840; mos7840_probe() 2098 device_type = MOSCHIP_DEVICE_ID_7810; mos7840_probe() 2100 device_type = MOSCHIP_DEVICE_ID_7820; mos7840_probe() 2104 usb_set_serial_data(serial, (void *)(unsigned long)device_type); mos7840_probe() 2111 int device_type = (unsigned long)usb_get_serial_data(serial); mos7840_calc_num_ports() local 2114 mos7840_num_ports = (device_type >> 4) & 0x000F; mos7840_calc_num_ports() 2122 int device_type = (unsigned long)usb_get_serial_data(serial); mos7840_port_probe() local 2293 if (device_type == MOSCHIP_DEVICE_ID_7810) { mos7840_port_probe()
|
/linux-4.1.27/drivers/memory/ |
H A D | of_memory.h | 20 u32 device_type, u32 *nr_frequencies); 30 u32 device_type, u32 *nr_frequencies) of_get_ddr_timings() 29 of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) of_get_ddr_timings() argument
|
H A D | of_memory.c | 98 * @device_type: Type of ddr(LPDDR2 S2/S4) 107 struct device *dev, u32 device_type, u32 *nr_frequencies) of_get_ddr_timings() 114 switch (device_type) { of_get_ddr_timings() 106 of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, u32 device_type, u32 *nr_frequencies) of_get_ddr_timings() argument
|
/linux-4.1.27/drivers/scsi/libsas/ |
H A D | sas_internal.h | 136 rphy->identify.device_type = SAS_END_DEVICE; sas_fill_in_rphy() 139 rphy->identify.device_type = SAS_EDGE_EXPANDER_DEVICE; sas_fill_in_rphy() 142 rphy->identify.device_type = SAS_FANOUT_EXPANDER_DEVICE; sas_fill_in_rphy() 145 rphy->identify.device_type = SAS_PHY_UNUSED; sas_fill_in_rphy() 156 phy->identify.device_type = SAS_END_DEVICE; sas_phy_set_target() 158 phy->identify.device_type = dev->dev_type; sas_phy_set_target() 161 phy->identify.device_type = SAS_PHY_UNUSED; sas_phy_set_target()
|
H A D | sas_host_smp.c | 50 resp_data[12] = rphy->identify.device_type << 4; sas_host_smp_discover()
|
H A D | sas_expander.c | 274 phy->phy->identify.device_type = dr->attached_dev_type; sas_set_ex_phy() 2150 type = rphy->identify.device_type; sas_smp_handler()
|
H A D | sas_scsi_host.c | 872 BUG_ON(dev->rphy->identify.device_type != SAS_END_DEVICE); sas_slave_configure()
|
/linux-4.1.27/include/linux/mfd/samsung/ |
H A D | core.h | 57 * @device_type: Type of device, matches enum sec_device_type 69 unsigned long device_type; member in struct:sec_pmic_dev 84 int device_type; member in struct:sec_platform_data
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.h | 121 u32 device_type, u16 *phy_data); 123 u32 device_type, u16 phy_data); 125 u32 device_type, u16 *phy_data); 127 u32 device_type, u16 phy_data);
|
H A D | ixgbe_phy.c | 430 s32 ixgbe_read_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, ixgbe_read_phy_reg_mdi() argument 437 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) | ixgbe_read_phy_reg_mdi() 465 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) | ixgbe_read_phy_reg_mdi() 506 u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_generic() 512 status = ixgbe_read_phy_reg_mdi(hw, reg_addr, device_type, ixgbe_read_phy_reg_generic() 527 * @device_type: 5 bit device type 531 u32 device_type, u16 phy_data) ixgbe_write_phy_reg_mdi() 540 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) | ixgbe_write_phy_reg_mdi() 569 (device_type << IXGBE_MSCA_DEV_TYPE_SHIFT) | ixgbe_write_phy_reg_mdi() 600 * @device_type: 5 bit device type 604 u32 device_type, u16 phy_data) ixgbe_write_phy_reg_generic() 615 status = ixgbe_write_phy_reg_mdi(hw, reg_addr, device_type, ixgbe_write_phy_reg_generic() 505 ixgbe_read_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_generic() argument 530 ixgbe_write_phy_reg_mdi(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_mdi() argument 603 ixgbe_write_phy_reg_generic(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_generic() argument
|
H A D | ixgbe_x550.c | 66 u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_x550em() 72 u32 device_type, u16 phy_data) ixgbe_write_phy_reg_x550em() 110 * @device_type: 3 bit device type 114 u32 device_type, u32 *data) ixgbe_read_iosf_sb_reg_x550() 119 (device_type << IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT)); ixgbe_read_iosf_sb_reg_x550() 786 * @device_type: 3 bit device type 790 u32 device_type, u32 data) ixgbe_write_iosf_sb_reg_x550() 795 (device_type << IXGBE_SB_IOSF_CTRL_TARGET_SELECT_SHIFT)); ixgbe_write_iosf_sb_reg_x550() 65 ixgbe_read_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 *phy_data) ixgbe_read_phy_reg_x550em() argument 71 ixgbe_write_phy_reg_x550em(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u16 phy_data) ixgbe_write_phy_reg_x550em() argument 113 ixgbe_read_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 *data) ixgbe_read_iosf_sb_reg_x550() argument 789 ixgbe_write_iosf_sb_reg_x550(struct ixgbe_hw *hw, u32 reg_addr, u32 device_type, u32 data) ixgbe_write_iosf_sb_reg_x550() argument
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-s5m.c | 95 enum sec_device_type device_type; member in struct:s5m_rtc_info 185 switch (info->device_type) { s5m_check_peding_alarm_interrupt() 223 if (info->device_type == S5M8763X || info->device_type == S5M8767X) s5m8767_rtc_set_time_reg() 250 switch (info->device_type) { s5m8767_rtc_set_alarm_reg() 275 if (info->device_type == S2MPS13X) s5m8767_rtc_set_alarm_reg() 320 if (info->device_type == S2MPS14X || info->device_type == S2MPS13X) { s5m_rtc_read_time() 336 switch (info->device_type) { s5m_rtc_read_time() 364 switch (info->device_type) { s5m_rtc_set_time() 406 switch (info->device_type) { s5m_rtc_read_alarm() 460 switch (info->device_type) { s5m_rtc_stop_alarm() 504 switch (info->device_type) { s5m_rtc_start_alarm() 545 switch (info->device_type) { s5m_rtc_set_alarm() 617 switch (info->device_type) { s5m8767_rtc_init_reg() 721 info->device_type = platform_get_device_id(pdev)->driver_data; s5m_rtc_probe()
|
/linux-4.1.27/drivers/s390/crypto/ |
H A D | zcrypt_cex4.c | 76 switch (ap_dev->device_type) { zcrypt_cex4_probe() 83 if (ap_dev->device_type == AP_DEVICE_TYPE_CEX4) { zcrypt_cex4_probe() 111 if (ap_dev->device_type == AP_DEVICE_TYPE_CEX4) { zcrypt_cex4_probe() 129 if (ap_dev->device_type == AP_DEVICE_TYPE_CEX4) { zcrypt_cex4_probe()
|
H A D | ap_bus.c | 186 * @device_type: Pointer to device type value 191 ap_test_queue(ap_qid_t qid, int *queue_depth, int *device_type) ap_test_queue() argument 199 *device_type = (int) (reg2 >> 24); ap_test_queue() 517 * @device_type: Pointer to device type value 521 static int ap_query_queue(ap_qid_t qid, int *queue_depth, int *device_type) ap_query_queue() argument 532 *device_type = t_device_type; ap_query_queue() 666 return snprintf(buf, PAGE_SIZE, "%d\n", ap_dev->device_type); ap_hwtype_show() 735 return sprintf(buf, "ap:t%02X", to_ap_dev(dev)->device_type); ap_modalias_show() 783 (id->dev_type != ap_dev->device_type)) ap_bus_match() 807 retval = add_uevent_var(env, "DEV_TYPE=%04X", ap_dev->device_type); ap_uevent() 812 retval = add_uevent_var(env, "MODALIAS=ap:t%02X", ap_dev->device_type); ap_uevent() 1244 int queue_depth, device_type, count, max_count, best_domain; ap_select_domain() local 1270 rc = ap_query_queue(qid, &queue_depth, &device_type); ap_select_domain() 1371 ap_dev->device_type = AP_DEVICE_TYPE_PCICC; ap_probe_device_type() 1373 ap_dev->device_type = AP_DEVICE_TYPE_PCICA; ap_probe_device_type() 1414 int queue_depth, device_type; ap_scan_bus() local 1428 rc = ap_query_queue(qid, &queue_depth, &device_type); ap_scan_bus() 1436 &device_type); ap_scan_bus() 1469 switch (device_type) { ap_scan_bus() 1478 ap_dev->device_type = device_type; ap_scan_bus() 1480 ap_dev->raw_hwtype = device_type; ap_scan_bus()
|
H A D | zcrypt_cex2a.c | 92 switch (ap_dev->device_type) { zcrypt_cex2a_probe()
|
H A D | ap_bus.h | 164 int device_type; /* AP device type. */ member in struct:ap_device
|
H A D | zcrypt_msgtype50.c | 404 if (ap_dev->device_type == AP_DEVICE_TYPE_CEX2A) zcrypt_cex2a_receive()
|
H A D | zcrypt_pcixcc.c | 277 switch (ap_dev->device_type) { zcrypt_pcixcc_probe()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | usb.h | 114 extern struct device_type usb_device_type; 115 extern struct device_type usb_if_device_type; 116 extern struct device_type usb_ep_device_type; 117 extern struct device_type usb_port_device_type;
|
H A D | endpoint.c | 170 struct device_type usb_ep_device_type = {
|
H A D | port.c | 180 struct device_type usb_port_device_type = {
|
H A D | usb.c | 385 struct device_type usb_device_type = {
|
H A D | message.c | 1592 struct device_type usb_if_device_type = {
|
/linux-4.1.27/drivers/mfd/ |
H A D | sec-core.c | 312 unsigned long device_type; sec_pmic_probe() local 324 device_type = sec_i2c_get_driver_data(i2c, id); sec_pmic_probe() 332 pdata->device_type = device_type; sec_pmic_probe() 335 sec_pmic->device_type = pdata->device_type; sec_pmic_probe() 341 switch (sec_pmic->device_type) { sec_pmic_probe() 383 switch (sec_pmic->device_type) { sec_pmic_probe()
|
H A D | sec-irq.c | 443 int type = sec_pmic->device_type; sec_irq_init() 474 sec_pmic->device_type); sec_irq_init()
|
H A D | mfd-core.c | 25 static struct device_type mfd_dev_type = {
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | simpleboot.c | 51 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", platform_init() 72 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", platform_init()
|
H A D | treeboot-currituck.c | 107 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", platform_init()
|
H A D | virtex.c | 94 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) platform_specific_init()
|
H A D | serial.c | 100 if ((getprop(devp, "device_type", devtype, sizeof(devtype)) > 0) serial_get_stdout_devp()
|
H A D | treeboot-akebono.c | 151 node = fdt_node_offset_by_prop_value(_dtb_start, -1, "device_type", platform_init()
|
H A D | devtree.c | 49 setprop_str(memory, "device_type", "memory"); dt_fixup_memory()
|
H A D | ops.h | 168 return find_node_by_prop_value_str(prev, "device_type", type); find_node_by_devtype()
|
H A D | prpmc2800.c | 432 devp = find_node_by_prop_value_str(NULL, "device_type", "cpu"); prpmc2800_fixups()
|
/linux-4.1.27/include/scsi/ |
H A D | scsi_transport_sas.h | 41 enum sas_device_type device_type; member in struct:sas_identify 225 return rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE || scsi_is_sas_expander_device() 226 rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE; scsi_is_sas_expander_device()
|
/linux-4.1.27/arch/m68k/sun3/prom/ |
H A D | console.c | 93 prom_getproperty(st_p, "device_type", propb, sizeof(propb)); 139 propl = prom_getproperty(st_p, "device_type", propb, sizeof(propb));
|
/linux-4.1.27/sound/pci/ |
H A D | intel8x0.c | 386 unsigned int device_type; member in struct:intel8x0 1002 switch (chip->device_type) { snd_intel8x0_setup_pcm_out() 1030 if (chip->device_type == DEVICE_NFORCE) { snd_intel8x0_setup_pcm_out() 1040 } else if (chip->device_type == DEVICE_INTEL_ICH4) { snd_intel8x0_setup_pcm_out() 1061 if (chip->device_type == DEVICE_INTEL_ICH4) snd_intel8x0_pcm_prepare() 1183 if (chip->device_type == DEVICE_SIS) { snd_intel8x0_pcm_open() 1298 int idx = chip->device_type == DEVICE_NFORCE ? NVD_SPBAR : ICHD_SPBAR; snd_intel8x0_spdif_open() 1306 int idx = chip->device_type == DEVICE_NFORCE ? NVD_SPBAR : ICHD_SPBAR; snd_intel8x0_spdif_close() 1670 switch (chip->device_type) { snd_intel8x0_pcm() 2225 switch (chip->device_type) { snd_intel8x0_mixer() 2246 if (chip->device_type != DEVICE_ALI) { snd_intel8x0_mixer() 2254 if (chip->device_type == DEVICE_INTEL_ICH4) { snd_intel8x0_mixer() 2287 if (chip->device_type == DEVICE_ALI) snd_intel8x0_mixer() 2308 if (chip->device_type == DEVICE_INTEL_ICH4) snd_intel8x0_mixer() 2312 if (chip->device_type != DEVICE_INTEL_ICH4) snd_intel8x0_mixer() 2324 if (chip->device_type == DEVICE_INTEL_ICH4) { snd_intel8x0_mixer() 2329 if (chip->device_type == DEVICE_INTEL_ICH4) { snd_intel8x0_mixer() 2358 if (chip->device_type == DEVICE_INTEL_ICH4) { snd_intel8x0_mixer() 2362 if (chip->device_type == DEVICE_NFORCE && !spdif_aclink) { snd_intel8x0_mixer() 2366 if (chip->device_type == DEVICE_INTEL_ICH4 && !spdif_aclink) { snd_intel8x0_mixer() 2379 if (chip->device_type != DEVICE_ALI) snd_intel8x0_mixer() 2467 if (chip->device_type == DEVICE_NFORCE) snd_intel8x0_ich_chip_init() 2527 if (chip->device_type == DEVICE_SIS) { snd_intel8x0_ich_chip_init() 2531 if (chip->device_type == DEVICE_NFORCE && !spdif_aclink) { snd_intel8x0_ich_chip_init() 2581 if (chip->device_type != DEVICE_ALI) { snd_intel8x0_chip_init() 2624 if (chip->device_type == DEVICE_NFORCE && !spdif_aclink) { snd_intel8x0_free() 2677 if (chip->device_type == DEVICE_INTEL_ICH4) intel8x0_suspend() 2706 if (chip->device_type == DEVICE_INTEL_ICH4 && !spdif_aclink) { intel8x0_resume() 2795 if (chip->device_type != DEVICE_ALI) intel8x0_measure_ac97_clock() 2827 if (chip->device_type == DEVICE_ALI) { intel8x0_measure_ac97_clock() 2912 if (chip->device_type == DEVICE_ALI) snd_intel8x0_proc_read() 2917 if (chip->device_type == DEVICE_INTEL_ICH4) snd_intel8x0_proc_read() 2931 if (chip->device_type == DEVICE_INTEL_ICH4 || snd_intel8x0_proc_read() 2932 chip->device_type == DEVICE_SIS) snd_intel8x0_proc_read() 3009 unsigned long device_type, snd_intel8x0_create() 3063 chip->device_type = device_type; snd_intel8x0_create() 3086 if (device_type == DEVICE_ALI) { snd_intel8x0_create() 3112 chip->bdbars_count = bdbars[device_type]; snd_intel8x0_create() 3115 switch (device_type) { snd_intel8x0_create() 3131 if (device_type == DEVICE_SIS) { snd_intel8x0_create() 3139 if (device_type == DEVICE_ALI) snd_intel8x0_create() 3142 ichdev->pos_shift = (device_type == DEVICE_SIS) ? 0 : 1; snd_intel8x0_create() 3168 chip->int_sta_reg = device_type == DEVICE_ALI ? snd_intel8x0_create() 3174 switch(chip->device_type) { snd_intel8x0_create() 3007 snd_intel8x0_create(struct snd_card *card, struct pci_dev *pci, unsigned long device_type, struct intel8x0 **r_intel8x0) snd_intel8x0_create() argument
|
H A D | intel8x0m.c | 194 unsigned int device_type; member in struct:intel8x0m 778 switch (chip->device_type) { snd_intel8x0m_pcm() 877 if (chip->device_type != DEVICE_ALI) snd_intel8x0m_mixer() 964 if (chip->device_type == DEVICE_SIS) { snd_intel8x0m_ich_chip_init() 1076 if (chip->device_type == DEVICE_ALI) snd_intel8x0m_proc_read() 1114 unsigned long device_type, snd_intel8x0m_create() 1142 chip->device_type = device_type; snd_intel8x0m_create() 1153 if (device_type == DEVICE_ALI) { snd_intel8x0m_create() 1198 if (device_type == DEVICE_SIS) { snd_intel8x0m_create() 1206 if (device_type == DEVICE_ALI) snd_intel8x0m_create() 1210 chip->pcm_pos_shift = (device_type == DEVICE_SIS) ? 0 : 1; snd_intel8x0m_create() 1112 snd_intel8x0m_create(struct snd_card *card, struct pci_dev *pci, unsigned long device_type, struct intel8x0m **r_intel8x0m) snd_intel8x0m_create() argument
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 2096 ha->device_type = DT_EXTENDED_IDS; qla2x00_set_isp_flags() 2099 ha->device_type |= DT_ISP2100; qla2x00_set_isp_flags() 2100 ha->device_type &= ~DT_EXTENDED_IDS; qla2x00_set_isp_flags() 2104 ha->device_type |= DT_ISP2200; qla2x00_set_isp_flags() 2105 ha->device_type &= ~DT_EXTENDED_IDS; qla2x00_set_isp_flags() 2109 ha->device_type |= DT_ISP2300; qla2x00_set_isp_flags() 2110 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2114 ha->device_type |= DT_ISP2312; qla2x00_set_isp_flags() 2115 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2119 ha->device_type |= DT_ISP2322; qla2x00_set_isp_flags() 2120 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2123 ha->device_type |= DT_OEM_001; qla2x00_set_isp_flags() 2127 ha->device_type |= DT_ISP6312; qla2x00_set_isp_flags() 2131 ha->device_type |= DT_ISP6322; qla2x00_set_isp_flags() 2135 ha->device_type |= DT_ISP2422; qla2x00_set_isp_flags() 2136 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2137 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2138 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2142 ha->device_type |= DT_ISP2432; qla2x00_set_isp_flags() 2143 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2144 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2145 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2149 ha->device_type |= DT_ISP8432; qla2x00_set_isp_flags() 2150 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2151 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2152 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2156 ha->device_type |= DT_ISP5422; qla2x00_set_isp_flags() 2157 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2161 ha->device_type |= DT_ISP5432; qla2x00_set_isp_flags() 2162 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2166 ha->device_type |= DT_ISP2532; qla2x00_set_isp_flags() 2167 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2168 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2169 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2173 ha->device_type |= DT_ISP8001; qla2x00_set_isp_flags() 2174 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2175 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2176 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2180 ha->device_type |= DT_ISP8021; qla2x00_set_isp_flags() 2181 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2182 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2188 ha->device_type |= DT_ISP8044; qla2x00_set_isp_flags() 2189 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2190 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2196 ha->device_type |= DT_ISP2031; qla2x00_set_isp_flags() 2197 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2198 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2199 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2200 ha->device_type |= DT_T10_PI; qla2x00_set_isp_flags() 2204 ha->device_type |= DT_ISP8031; qla2x00_set_isp_flags() 2205 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2206 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2207 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2208 ha->device_type |= DT_T10_PI; qla2x00_set_isp_flags() 2212 ha->device_type |= DT_ISPFX00; qla2x00_set_isp_flags() 2215 ha->device_type |= DT_ISP2071; qla2x00_set_isp_flags() 2216 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2217 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2218 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2222 ha->device_type |= DT_ISP2271; qla2x00_set_isp_flags() 2223 ha->device_type |= DT_ZIO_SUPPORTED; qla2x00_set_isp_flags() 2224 ha->device_type |= DT_FWI2; qla2x00_set_isp_flags() 2225 ha->device_type |= DT_IIDMA; qla2x00_set_isp_flags() 2242 "device_type=0x%x port=%d fw_srisc_address=0x%x.\n", qla2x00_set_isp_flags() 2243 ha->device_type, ha->port_no, ha->fw_srisc_address); qla2x00_set_isp_flags()
|
H A D | qla_def.h | 3065 uint32_t device_type; member in struct:qla_hw_data 3096 #define DT_MASK(ha) ((ha)->device_type & (DT_ISP_LAST - 1)) 3146 #define IS_T10_PI_CAPABLE(ha) ((ha)->device_type & DT_T10_PI) 3147 #define IS_IIDMA_CAPABLE(ha) ((ha)->device_type & DT_IIDMA) 3148 #define IS_FWI2_CAPABLE(ha) ((ha)->device_type & DT_FWI2) 3149 #define IS_ZIO_SUPPORTED(ha) ((ha)->device_type & DT_ZIO_SUPPORTED) 3150 #define IS_OEM_001(ha) ((ha)->device_type & DT_OEM_001) 3151 #define HAS_EXTENDED_IDS(ha) ((ha)->device_type & DT_EXTENDED_IDS) 3152 #define IS_CT6_SUPPORTED(ha) ((ha)->device_type & DT_CT6_SUPPORTED)
|
/linux-4.1.27/drivers/iio/ |
H A D | iio_core.h | 21 extern struct device_type iio_device_type;
|
H A D | industrialio-trigger.c | 393 static struct device_type iio_trig_type = {
|
H A D | industrialio-core.c | 956 struct device_type iio_device_type = {
|
/linux-4.1.27/drivers/media/pci/mantis/ |
H A D | mantis_core.h | 43 u8 device_type; member in struct:devicetype
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | prom_32.c | 58 * we walk up the tree until we discover a "device_type" property 281 type = of_get_property(dp, "device_type", NULL); 285 "device_type property.\n"); 290 prom_printf("Console device_type is neither display "
|
H A D | prom_64.c | 66 * we walk up the tree until we discover a "device_type" property 620 type = of_get_property(dp, "device_type", NULL); of_console_init() 622 prom_printf("Console stdout lacks device_type property.\n"); of_console_init() 627 prom_printf("Console device_type is neither display " of_console_init()
|
H A D | pci.c | 277 type = of_get_property(node, "device_type", NULL); of_create_pci_dev()
|
H A D | btext.c | 316 if (prom_getproperty(node, "device_type", type, 32) < 0) btext_find_display()
|
/linux-4.1.27/drivers/hid/ |
H A D | wacom_sys.c | 201 features->device_type = BTN_TOOL_FINGER; wacom_usage_mapping() 208 features->device_type = BTN_TOOL_PEN; wacom_usage_mapping() 398 if (features->device_type == BTN_TOOL_FINGER) { wacom_query_tablet_data() 412 } else if (features->device_type == BTN_TOOL_PEN) { wacom_query_tablet_data() 428 features->device_type = BTN_TOOL_PEN; wacom_retrieve_hid_descriptor() 442 features->device_type = 0; wacom_retrieve_hid_descriptor() 444 features->device_type = BTN_TOOL_FINGER; wacom_retrieve_hid_descriptor() 530 if (wacom_wac->features.device_type == BTN_TOOL_FINGER) wacom_add_shared_data() 532 else if (wacom_wac->features.device_type == BTN_TOOL_PEN) wacom_add_shared_data() 884 if (wacom->wacom_wac.features.device_type == BTN_TOOL_PEN) { wacom_initialize_leds() 940 if (wacom->wacom_wac.features.device_type == BTN_TOOL_PEN) wacom_destroy_leds() 1288 wacom_wac1->features.device_type = BTN_TOOL_PEN; wacom_wireless_work() 1307 wacom_wac2->features.device_type = BTN_TOOL_FINGER; wacom_wireless_work() 1485 features->device_type = BTN_TOOL_FINGER; wacom_probe() 1490 features->device_type = BTN_TOOL_PEN; wacom_probe() 1499 (features->device_type == BTN_TOOL_PEN)) { wacom_probe() 1500 features->device_type = BTN_TOOL_FINGER; wacom_probe() 1510 features->device_type = BTN_TOOL_FINGER; wacom_probe() 1529 if (features->device_type != BTN_TOOL_FINGER) wacom_probe() 1578 if (wacom_wac->features.device_type == BTN_TOOL_FINGER) wacom_probe()
|
H A D | wacom_wac.h | 150 int device_type; member in struct:wacom_features
|
H A D | wacom_wac.c | 2174 if (features->device_type == BTN_TOOL_FINGER && !features->x_max) { wacom_setup_device_quirks() 2194 /* must be monitor interface if no device_type set */ wacom_setup_device_quirks() 2195 if (!features->device_type) { wacom_setup_device_quirks() 2207 if (features->device_type == BTN_TOOL_PEN) { wacom_abs_set_axis() 2326 if (features->device_type == BTN_TOOL_PEN) { wacom_setup_pentouch_input_capabilities() 2335 } else if (features->device_type == BTN_TOOL_FINGER) { wacom_setup_pentouch_input_capabilities() 2347 if (features->device_type == BTN_TOOL_FINGER) { wacom_setup_pentouch_input_capabilities() 2360 if (features->device_type == BTN_TOOL_FINGER && features->touch_max > 1) wacom_setup_pentouch_input_capabilities() 2370 if (features->device_type != BTN_TOOL_PEN) wacom_setup_pentouch_input_capabilities() 2401 features->device_type == BTN_TOOL_FINGER) { wacom_setup_pentouch_input_capabilities() 2410 if (features->device_type == BTN_TOOL_FINGER) { wacom_setup_pentouch_input_capabilities() 2431 } else if (features->device_type == BTN_TOOL_PEN) { wacom_setup_pentouch_input_capabilities() 2596 if (features->device_type != BTN_TOOL_PEN) wacom_setup_pad_input_capabilities() 2641 if ((features->device_type != BTN_TOOL_FINGER) || wacom_setup_pad_input_capabilities()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_transport_sas.c | 129 sas_bitfield_name_search(device_type, sas_device_type_names) 164 BUG_ON(rphy->identify.device_type != SAS_END_DEVICE); sas_sdev_to_rdev() 554 if (!phy->identify.device_type) show_sas_device_type() 556 return get_sas_device_type_names(phy->identify.device_type, buf); show_sas_device_type() 558 static DEVICE_ATTR(device_type, S_IRUGO, show_sas_device_type, NULL); 1205 if (!rphy->identify.device_type) show_sas_rphy_device_type() 1208 rphy->identify.device_type, buf); show_sas_rphy_device_type() 1211 static SAS_DEVICE_ATTR(rphy, device_type, S_IRUGO, 1408 rphy->identify.device_type == SAS_END_DEVICE; sas_end_dev_match() 1431 (rphy->identify.device_type == SAS_EDGE_EXPANDER_DEVICE || sas_expander_match() 1432 rphy->identify.device_type == SAS_FANOUT_EXPANDER_DEVICE); sas_expander_match() 1501 rdev->rphy.identify.device_type = SAS_END_DEVICE; sas_end_device_alloc() 1542 rdev->rphy.identify.device_type = type; sas_expander_alloc() 1579 if (identify->device_type == SAS_END_DEVICE && sas_rphy_add() 1583 else if (identify->device_type == SAS_END_DEVICE) sas_rphy_add() 1587 if (identify->device_type == SAS_END_DEVICE && sas_rphy_add() 1669 switch (rphy->identify.device_type) { sas_rphy_remove() 1715 if (rphy->identify.device_type != SAS_END_DEVICE || sas_user_scan() 1840 SETUP_PHY_ATTRIBUTE(device_type); sas_attach_transport()
|
H A D | hpsa_cmd.h | 248 u8 device_type; member in struct:ext_report_lun_entry 737 u8 device_type; /* type of drive */ member in struct:bmic_identify_physical_device
|
H A D | hosts.c | 351 static struct device_type scsi_host_type = {
|
H A D | scsi_sysfs.c | 26 static struct device_type scsi_dev_type; 1218 static struct device_type scsi_dev_type = {
|
H A D | osst.h | 14 unsigned device_type :5; /* Peripheral Device Type */ member in struct:__anon9407
|
H A D | scsi_scan.c | 335 static struct device_type scsi_target_type = {
|
H A D | scsi_transport_iscsi.c | 1010 struct device_type iscsi_flashnode_sess_dev_type = { 1196 struct device_type iscsi_flashnode_conn_dev_type = {
|
/linux-4.1.27/net/bluetooth/ |
H A D | hci_sysfs.c | 60 static struct device_type bt_link = { 187 static struct device_type bt_host = {
|
H A D | 6lowpan.c | 693 static struct device_type bt_type = {
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | sunxvr500.c | 245 const char *device_type; e3d_pci_register() local 258 device_type = of_get_property(of_node, "device_type", NULL); e3d_pci_register() 259 if (!device_type) { e3d_pci_register()
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
H A D | cpia2_core.c | 145 unsigned int device = cam->params.pnp_id.device_type; cpia2_do_command() 440 cam->params.pnp_id.device_type = DEVICE_STV_672; cpia2_do_command() 443 cam->params.pnp_id.device_type = DEVICE_STV_676; cpia2_do_command() 645 if (cam->params.pnp_id.device_type == DEVICE_STV_672) { cpia2_reset_camera() 657 if (cam->params.pnp_id.device_type == DEVICE_STV_672) cpia2_reset_camera() 666 if (cam->params.pnp_id.device_type == DEVICE_STV_676) { cpia2_reset_camera() 752 if (cam->params.pnp_id.device_type == DEVICE_STV_672) cpia2_reset_camera() 764 if (cam->params.pnp_id.device_type == DEVICE_STV_676) cpia2_reset_camera() 974 if (cam->params.pnp_id.device_type == DEVICE_STV_672) set_default_user_mode() 995 // if (cam->params.pnp_id.device_type == DEVICE_STV_676) set_default_user_mode() 1206 if (cam->params.pnp_id.device_type == DEVICE_STV_672) { config_sensor_410() 1219 if (cam->params.pnp_id.device_type == DEVICE_STV_672) { config_sensor_410() 1338 unsigned int device = cam->params.pnp_id.device_type; config_sensor_500() 1586 if(cam->params.pnp_id.device_type != DEVICE_STV_672) cpia2_set_flicker_mode() 1744 if(cam->params.pnp_id.device_type == DEVICE_STV_672 && cpia2_set_fps() 1759 if (cam->params.pnp_id.device_type == DEVICE_STV_672 && cpia2_set_fps() 1785 if (cam->params.pnp_id.device_type == DEVICE_STV_672 && value == 0) cpia2_set_brightness() 1833 if (cam->params.pnp_id.device_type != DEVICE_STV_672 || set_lowlight_boost() 2036 if (cam->params.pnp_id.device_type == DEVICE_STV_672) { cpia2_dbg_dump_registers() 2132 if(cam->params.pnp_id.device_type == DEVICE_STV_672) { reset_camera_struct()
|
H A D | cpia2_v4l.c | 232 switch (cam->params.pnp_id.device_type) { cpia2_querycap() 554 if (cam->params.pnp_id.device_type == DEVICE_STV_672 && cpia2_s_parm() 614 if (cam->params.pnp_id.device_type == DEVICE_STV_672 && cpia2_enum_frameintervals() 1126 cam->params.pnp_id.device_type == DEVICE_STV_672 ? 1 : 0, cpia2_register_camera() 1144 if (cam->params.pnp_id.device_type != DEVICE_STV_672) cpia2_register_camera() 1148 if (cam->params.pnp_id.device_type == DEVICE_STV_672) cpia2_register_camera()
|
H A D | cpia2.h | 273 u32 device_type; /* enumerated from vendor/product ids. member in struct:camera_params::__anon5782
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-atapi.c | 39 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; ide_check_atapi_device() local 44 device_type = gcw[1] & 0x1F; ide_check_atapi_device() 51 if (drive->media == ide_floppy && device_type == 5 && ide_check_atapi_device() 54 device_type = 0; ide_check_atapi_device() 60 else if ((drive->media == ide_floppy && device_type != 0) || ide_check_atapi_device() 61 (drive->media == ide_tape && device_type != 1)) ide_check_atapi_device() 63 s, drive->name, device_type); ide_check_atapi_device()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_hw.c | 66 u32 device_type); 742 u32 device_type) ixgb_read_phy_reg() 750 ASSERT(device_type <= IXGB_MAX_PHY_DEV_TYPE); ixgb_read_phy_reg() 754 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) | ixgb_read_phy_reg() 781 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) | ixgb_read_phy_reg() 821 * device_type - Also known as the Device ID or DID. 835 u32 device_type, ixgb_write_phy_reg() 843 ASSERT(device_type <= IXGB_MAX_PHY_DEV_TYPE); ixgb_write_phy_reg() 850 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) | ixgb_write_phy_reg() 877 (device_type << IXGB_MSCA_DEV_TYPE_SHIFT) | ixgb_write_phy_reg() 739 ixgb_read_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type) ixgb_read_phy_reg() argument 832 ixgb_write_phy_reg(struct ixgb_hw *hw, u32 reg_address, u32 phy_address, u32 device_type, u16 data) ixgb_write_phy_reg() argument
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | intel_bios.c | 487 if (!p_child->old.device_type) { parse_sdvo_device_mapping() 988 is_dvi = child->common.device_type & DEVICE_TYPE_TMDS_DVI_SIGNALING; parse_ddi_port() 989 is_dp = child->common.device_type & DEVICE_TYPE_DISPLAYPORT_OUTPUT; parse_ddi_port() 990 is_crt = child->common.device_type & DEVICE_TYPE_ANALOG_OUTPUT; parse_ddi_port() 991 is_hdmi = is_dvi && (child->common.device_type & DEVICE_TYPE_NOT_HDMI_OUTPUT) == 0; parse_ddi_port() 992 is_edp = is_dp && (child->common.device_type & DEVICE_TYPE_INTERNAL_CONNECTOR); parse_ddi_port() 1099 if (!p_child->common.device_type) { parse_device_mapping() 1119 if (!p_child->common.device_type) { parse_device_mapping() 1126 &&p_child->common.device_type & DEVICE_TYPE_MIPI_OUTPUT) { parse_device_mapping()
|
H A D | intel_bios.h | 211 u16 device_type; member in struct:old_child_dev_config 236 u16 device_type; member in struct:common_child_dev_config
|
H A D | intel_lvds.c | 780 if (child->device_type != DEVICE_TYPE_INT_LFP && lvds_is_present_in_vbt() 781 child->device_type != DEVICE_TYPE_LFP) lvds_is_present_in_vbt()
|
H A D | intel_tv.c | 1554 switch (p_child->old.device_type) { tv_is_present_in_vbt()
|
/linux-4.1.27/drivers/gpu/drm/ttm/ |
H A D | ttm_module.c | 40 static struct device_type ttm_drm_class_type = {
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
H A D | mpt2sas_transport.c | 176 /* device_type */ _transport_set_identify() 179 identify->device_type = SAS_PHY_UNUSED; _transport_set_identify() 182 identify->device_type = SAS_END_DEVICE; _transport_set_identify() 185 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; _transport_set_identify() 188 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; _transport_set_identify() 482 enum sas_device_type device_type = _transport_delete_port() local 483 mpt2sas_port->remote_identify.device_type; _transport_delete_port() 490 if (device_type == SAS_END_DEVICE) _transport_delete_port() 492 else if (device_type == SAS_EDGE_EXPANDER_DEVICE || _transport_delete_port() 493 device_type == SAS_FANOUT_EXPANDER_DEVICE) _transport_delete_port() 689 if (mpt2sas_port->remote_identify.device_type == SAS_PHY_UNUSED) { mpt2sas_transport_port_add() 733 if (mpt2sas_port->remote_identify.device_type == SAS_END_DEVICE) mpt2sas_transport_port_add() 737 mpt2sas_port->remote_identify.device_type); mpt2sas_transport_port_add() 755 if (mpt2sas_port->remote_identify.device_type == mpt2sas_transport_port_add() 757 mpt2sas_port->remote_identify.device_type == mpt2sas_transport_port_add()
|
H A D | mpt2sas_scsih.c | 3005 if (mpt2sas_port->remote_identify.device_type == _scsih_block_io_to_children_attached_to_ex() 3021 if (mpt2sas_port->remote_identify.device_type == _scsih_block_io_to_children_attached_to_ex() 3023 mpt2sas_port->remote_identify.device_type == _scsih_block_io_to_children_attached_to_ex() 7678 if (mpt2sas_port->remote_identify.device_type == _scsih_expander_node_remove() 7682 else if (mpt2sas_port->remote_identify.device_type == _scsih_expander_node_remove() 7684 mpt2sas_port->remote_identify.device_type == _scsih_expander_node_remove() 7848 if (mpt2sas_port->remote_identify.device_type == _scsih_remove() 7852 else if (mpt2sas_port->remote_identify.device_type == _scsih_remove() 7854 mpt2sas_port->remote_identify.device_type == _scsih_remove()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_transport.c | 180 /* device_type */ _transport_set_identify() 183 identify->device_type = SAS_PHY_UNUSED; _transport_set_identify() 186 identify->device_type = SAS_END_DEVICE; _transport_set_identify() 189 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; _transport_set_identify() 192 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; _transport_set_identify() 474 enum sas_device_type device_type = _transport_delete_port() local 475 mpt3sas_port->remote_identify.device_type; _transport_delete_port() 482 if (device_type == SAS_END_DEVICE) _transport_delete_port() 484 else if (device_type == SAS_EDGE_EXPANDER_DEVICE || _transport_delete_port() 485 device_type == SAS_FANOUT_EXPANDER_DEVICE) _transport_delete_port() 683 if (mpt3sas_port->remote_identify.device_type == SAS_PHY_UNUSED) { mpt3sas_transport_port_add() 727 if (mpt3sas_port->remote_identify.device_type == SAS_END_DEVICE) mpt3sas_transport_port_add() 731 mpt3sas_port->remote_identify.device_type); mpt3sas_transport_port_add() 749 if (mpt3sas_port->remote_identify.device_type == mpt3sas_transport_port_add() 751 mpt3sas_port->remote_identify.device_type == mpt3sas_transport_port_add()
|
H A D | mpt3sas_scsih.c | 2686 if (mpt3sas_port->remote_identify.device_type == _scsih_block_io_to_children_attached_to_ex() 2702 if (mpt3sas_port->remote_identify.device_type == _scsih_block_io_to_children_attached_to_ex() 2704 mpt3sas_port->remote_identify.device_type == _scsih_block_io_to_children_attached_to_ex() 7310 if (mpt3sas_port->remote_identify.device_type == _scsih_expander_node_remove() 7314 else if (mpt3sas_port->remote_identify.device_type == _scsih_expander_node_remove() 7316 mpt3sas_port->remote_identify.device_type == _scsih_expander_node_remove() 7453 if (mpt3sas_port->remote_identify.device_type == _scsih_remove() 7457 else if (mpt3sas_port->remote_identify.device_type == _scsih_remove() 7459 mpt3sas_port->remote_identify.device_type == _scsih_remove()
|
/linux-4.1.27/drivers/media/mmc/siano/ |
H A D | smssdio.c | 270 params.device_type = sms_get_board(board_id)->type; smssdio_probe() 272 if (params.device_type != SMS_STELLAR) smssdio_probe()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-host-generic.c | 228 type = of_get_property(np, "device_type", NULL); gen_pci_probe() 230 dev_err(dev, "invalid \"device_type\" %s\n", type); gen_pci_probe()
|
H A D | pcie-xilinx.c | 761 type = of_get_property(node, "device_type", NULL); xilinx_pcie_parse_dt() 763 dev_err(dev, "invalid \"device_type\" %s\n", type); xilinx_pcie_parse_dt()
|
/linux-4.1.27/include/linux/iio/common/ |
H A D | st_sensors.h | 44 #define ST_SENSORS_LSM_CHANNELS(device_type, mask, index, mod, \ 47 .type = device_type, \
|
/linux-4.1.27/drivers/block/xen-blkback/ |
H A D | xenbus.c | 629 char *device_type; backend_changed() local 663 device_type = xenbus_read(XBT_NIL, dev->otherend, "device-type", NULL); backend_changed() 664 if (!IS_ERR(device_type)) { backend_changed() 665 cdrom = strcmp(device_type, "cdrom") == 0; backend_changed() 666 kfree(device_type); backend_changed()
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 1131 if (nic->device_type == XFRAME_II_DEVICE) { init_tti() 1217 if (nic->device_type & XFRAME_II_DEVICE) { init_nic() 1233 if (nic->device_type == XFRAME_II_DEVICE) { init_nic() 1262 if (nic->device_type & XFRAME_II_DEVICE) { init_nic() 1328 if ((nic->device_type == XFRAME_I_DEVICE) && (nic->pdev->revision < 4)) init_nic() 1360 if (nic->device_type & XFRAME_II_DEVICE) init_nic() 1652 if (nic->device_type == XFRAME_II_DEVICE) { init_nic() 1675 if (nic->device_type == XFRAME_II_DEVICE) { init_nic() 1751 if (nic->device_type == XFRAME_II_DEVICE) init_nic() 1809 if (nic->device_type == XFRAME_II_DEVICE) { init_nic() 1829 if (nic->device_type == XFRAME_II_DEVICE) s2io_link_fault_indication() 2085 herc = (sp->device_type == XFRAME_II_DEVICE); verify_pcc_quiescent() 2165 sp->device_type == XFRAME_II_DEVICE && verify_xena_quiescence() 2232 if (nic->device_type == XFRAME_II_DEVICE) start_nic() 2305 (nic->device_type == XFRAME_I_DEVICE)) { start_nic() 3456 if (sp->device_type == XFRAME_II_DEVICE) { s2io_reset() 3498 (sp->device_type == XFRAME_I_DEVICE)) { s2io_reset() 3510 if (sp->device_type == XFRAME_II_DEVICE) { s2io_reset() 3687 if (nic->device_type == XFRAME_I_DEVICE) restore_xmsi_data() 3710 if (nic->device_type == XFRAME_I_DEVICE) store_xmsi_data() 4458 if (sp->device_type == XFRAME_II_DEVICE) { s2io_handle_errors() 4677 if (sp->device_type != XFRAME_II_DEVICE) { s2io_handle_errors() 5435 if ((sp->device_type == XFRAME_II_DEVICE) || s2io_set_led() 5475 if ((sp->device_type == XFRAME_I_DEVICE) && ((subid & 0xFF) < 0x07)) { s2io_ethtool_set_led() 5497 if (CARDS_WITH_FAULTY_LINK_INDICATORS(sp->device_type, subid)) s2io_ethtool_set_led() 5612 if (sp->device_type == XFRAME_I_DEVICE) { read_eeprom() 5632 if (sp->device_type == XFRAME_II_DEVICE) { read_eeprom() 5678 if (sp->device_type == XFRAME_I_DEVICE) { write_eeprom() 5698 if (sp->device_type == XFRAME_II_DEVICE) { write_eeprom() 5731 if (nic->device_type == XFRAME_II_DEVICE) { s2io_vpd_read() 5913 if (sp->device_type == XFRAME_II_DEVICE) s2io_register_test() 5972 if (sp->device_type == XFRAME_I_DEVICE) s2io_eeprom_test() 6000 if (sp->device_type == XFRAME_I_DEVICE) s2io_eeprom_test() 6021 if (sp->device_type == XFRAME_I_DEVICE) { s2io_eeprom_test() 6450 if (sp->device_type == XFRAME_II_DEVICE) { s2io_get_ethtool_stats() 6574 switch (sp->device_type) { s2io_get_sset_count() 6600 if (sp->device_type == XFRAME_II_DEVICE) { s2io_ethtool_get_strings() 6756 nic->device_type, subid)) { s2io_set_link() 6778 if (CARDS_WITH_FAULTY_LINK_INDICATORS(nic->device_type, s2io_set_link() 7785 sp->device_type = XFRAME_II_DEVICE; s2io_init_nic() 7787 sp->device_type = XFRAME_I_DEVICE; s2io_init_nic() 7923 if (sp->device_type & XFRAME_II_DEVICE) { s2io_init_nic() 7945 if (sp->device_type & XFRAME_II_DEVICE) { s2io_init_nic() 7983 if (sp->device_type & XFRAME_I_DEVICE) { s2io_init_nic() 8019 if (sp->device_type == XFRAME_I_DEVICE) { s2io_init_nic() 8023 } else if (sp->device_type == XFRAME_II_DEVICE) { s2io_init_nic() 8033 if ((sp->device_type == XFRAME_II_DEVICE) && s2io_init_nic() 8084 if (sp->device_type & XFRAME_II_DEVICE) { s2io_init_nic()
|
H A D | s2io.h | 957 u8 device_type; member in struct:s2io_nic
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | intel_bios.c | 368 if (!p_child->device_type) { parse_sdvo_device_mapping() 479 if (!p_child->device_type) { parse_device_mapping() 499 if (!p_child->device_type) { parse_device_mapping()
|
H A D | cdv_intel_lvds.c | 574 if (child->device_type != DEVICE_TYPE_INT_LFP && lvds_is_present_in_vbt() 575 child->device_type != DEVICE_TYPE_LFP) lvds_is_present_in_vbt()
|
H A D | intel_bios.h | 198 u16 device_type; member in struct:child_device_config
|
H A D | cdv_intel_dp.c | 1968 p_child->device_type == DEVICE_TYPE_eDP) cdv_intel_dpc_is_edp()
|
/linux-4.1.27/drivers/uio/ |
H A D | uio_fsl_elbc_gpcm.c | 22 device_type = "netx5152"; 29 values) are required. The entries interrupt*, device_type, and uio_name 282 if (of_property_read_string(node, "device_type", &type) == 0) get_of_data()
|
/linux-4.1.27/drivers/memstick/core/ |
H A D | ms_block.h | 104 unsigned char device_type; member in struct:ms_boot_attr_info
|
H A D | mspro_block.c | 99 unsigned char device_type; member in struct:mspro_sys_info 388 x_sys->device_type); mspro_block_attr_show_sysinfo()
|
H A D | ms_block.c | 1759 if (boot_block->attr.device_type & 0x03) msb_init_card()
|
/linux-4.1.27/drivers/of/ |
H A D | pdt.c | 183 dp->type = of_pdt_get_one_property(node, "device_type"); of_pdt_create_node()
|
H A D | fdt.c | 329 np->type = of_get_property(np, "device_type", NULL); unflatten_dt_node() 878 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); early_init_dt_scan_memory() 885 * The longtrail doesn't have a device_type on the early_init_dt_scan_memory()
|
H A D | dynamic.c | 223 np->type = __of_get_property(np, "device_type", NULL) ? : "<NULL>"; __of_attach_node()
|
H A D | base.c | 418 * @type: required device_type value, NULL or "" for any match 856 * of_find_node_by_type - Find a node by its "device_type" property 891 * @type: The type string to match "device_type" or NULL to ignore
|
/linux-4.1.27/drivers/video/fbdev/via/ |
H A D | ioctl.h | 192 unsigned int device_type; member in struct:_panel_size_pos_info
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
H A D | setup-rcar-gen2.c | 144 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); rcar_gen2_scan_mem()
|
/linux-4.1.27/sound/soc/intel/atom/ |
H A D | sst-mfld-platform.h | 89 u8 device_type; member in struct:sst_stream_params
|
H A D | sst-mfld-platform-pcm.c | 209 str_params->device_type = map[index].device_id; sst_fill_stream_params() 222 str_params->device_type = map[index].device_id; sst_fill_stream_params()
|
H A D | sst-mfld-dsp.h | 401 u8 device_type; member in struct:snd_sst_params
|
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/ |
H A D | lcommon_cl.c | 278 int ccc_global_init(struct lu_device_type *device_type) ccc_global_init() argument 286 result = lu_device_type_init(device_type); ccc_global_init() 300 lu_device_type_fini(device_type); ccc_global_init() 306 void ccc_global_fini(struct lu_device_type *device_type) ccc_global_fini() argument 312 lu_device_type_fini(device_type); ccc_global_fini()
|
/linux-4.1.27/include/linux/ |
H A D | device.h | 143 const struct device_type *type; 148 const struct device_type *type); 380 const struct device_type *type; 408 const struct device_type *type); 502 struct device_type { struct 730 const struct device_type *type;
|
H A D | extcon.h | 132 struct device_type extcon_dev_type;
|
H A D | genhd.h | 24 extern struct device_type part_type;
|
H A D | i2c.h | 38 extern struct device_type i2c_adapter_type;
|
/linux-4.1.27/drivers/spmi/ |
H A D | spmi.c | 34 static const struct device_type spmi_dev_type = { 45 static const struct device_type spmi_ctrl_type = {
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
H A D | lclient.h | 282 int ccc_global_init(struct lu_device_type *device_type); 283 void ccc_global_fini(struct lu_device_type *device_type);
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 29 static struct device_type drm_sysfs_device_minor = { 593 * of the class member. In particular, the device_type member must
|
H A D | drm_mipi_dsi.c | 101 static const struct device_type mipi_dsi_device_type = {
|
/linux-4.1.27/drivers/acpi/ |
H A D | scan.c | 1157 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON) acpi_device_install_notify_handler() 1162 else if (device->device_type == ACPI_BUS_TYPE_SLEEP_BUTTON) acpi_device_install_notify_handler() 1180 if (device->device_type == ACPI_BUS_TYPE_POWER_BUTTON) acpi_device_remove_notify_handler() 1183 else if (device->device_type == ACPI_BUS_TYPE_SLEEP_BUTTON) acpi_device_remove_notify_handler() 1866 switch (device->device_type) { acpi_device_get_busid() 2022 int device_type) acpi_set_pnp_ids() 2029 switch (device_type) { acpi_set_pnp_ids() 2116 device->device_type = type; acpi_init_device_object() 2021 acpi_set_pnp_ids(acpi_handle handle, struct acpi_device_pnp *pnp, int device_type) acpi_set_pnp_ids() argument
|
H A D | video.c | 1108 int status, device_type; acpi_video_bus_get_one_device() local 1156 device_type = acpi_video_get_device_type(video, device_id); acpi_video_bus_get_one_device() 1158 switch (device_type & 0xffe2ffff) { acpi_video_bus_get_one_device()
|
/linux-4.1.27/drivers/base/ |
H A D | class.c | 287 * @type: device_type of the devices to iterate over, NULL for all 295 struct device *start, const struct device_type *type) class_dev_iter_init()
|
H A D | bus.c | 1055 * @type: device_type of the devices to iterate over, NULL for all 1063 struct device *start, const struct device_type *type) subsys_dev_iter_init()
|
H A D | core.c | 472 const struct device_type *type = dev->type; device_add_attrs() 514 const struct device_type *type = dev->type; device_remove_attrs()
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 282 property = of_get_property(node, "device_type", NULL); chrp_init_early() 578 "device_type", NULL); chrp_probe()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | hotplug-memory.c | 174 type = of_get_property(np, "device_type", NULL); pseries_remove_mem_node() 634 type = of_get_property(np, "device_type", NULL); pseries_add_mem_node()
|
H A D | setup.c | 783 const char *dtype = of_get_flat_dt_prop(root, "device_type", NULL); pSeries_probe()
|
/linux-4.1.27/include/linux/mtd/ |
H A D | cfi.h | 284 int device_type; member in struct:cfi_private 307 unsigned type = cfi->device_type; cfi_build_cmd_addr()
|
/linux-4.1.27/drivers/nfc/ |
H A D | pn533.c | 348 u32 device_type; member in struct:pn533 1180 if (dev->device_type == PN533_DEVICE_ACR122U) pn533_abort_cmd() 2648 switch (dev->device_type) { pn533_transceive() 2773 switch (dev->device_type) { pn533_wq_mi_recv() 2827 switch (dev->device_type) { pn533_wq_mi_send() 3049 switch (dev->device_type) { pn533_setup() 3066 dev->device_type); pn533_setup() 3086 switch (dev->device_type) { pn533_setup() 3188 dev->device_type = id->driver_info; pn533_probe() 3189 switch (dev->device_type) { pn533_probe() 3213 dev->device_type); pn533_probe()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | prom_init.c | 828 prom_getprop(node, "device_type", type, sizeof(type)); prom_count_smt_threads() 1155 prom_getprop(node, "device_type", type, sizeof(type)); prom_init_mem() 1159 * CHRP Longtrail machines have no device_type prom_init_mem() 1503 prom_getprop(node, "device_type", type, sizeof(type)); prom_initialize_tce_table() 1674 prom_getprop(node, "device_type", type, sizeof(type)); prom_hold_cpus() 1802 prom_getprop(stdout_node, "device_type", type, sizeof(type)); prom_init_stdout() 1849 * - /device_type is "chrp" (please, do NOT use that for future prom_find_machine_type() 1853 len = prom_getprop(prom.root, "device_type", prom_find_machine_type() 1918 prom_getprop(node, "device_type", type, sizeof(type)); prom_check_displays() 2573 rv = prom_getprop(node, "device_type", prop, sizeof(prop)); fixup_device_tree_efika() 2575 prom_setprop(node, "/", "device_type", "efika", sizeof("efika")); fixup_device_tree_efika()
|
H A D | pci_of_scan.c | 134 type = of_get_property(node, "device_type", NULL); of_create_pci_dev()
|
H A D | vio.c | 1328 * NULL device_type or compatible fields. 1378 /* we need the 'device_type' property, in order to match with drivers */ vio_register_device_node() 1386 pr_warn("%s: node %s is missing the 'device_type' " vio_register_device_node() 1657 dev_type = of_get_property(vnode_parent, "device_type", NULL); vio_find_node()
|
H A D | prom.c | 306 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); early_init_dt_scan_cpus()
|
H A D | setup-common.c | 637 /* Pegasos has no device_type on its 8042 node, look for the check_legacy_ioport()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | windfarm_smu_sat.c | 234 type = of_get_property(child, "device_type", NULL); wf_sat_probe()
|
H A D | windfarm_smu_sensors.c | 206 c = of_get_property(node, "device_type", NULL); smu_ads_create()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_83xx.c | 433 int device_type; member in struct:device_info 463 device_map[i].device_type = func_nibble & 0x3; qla4_83xx_can_perform_reset() 466 if (device_map[i].device_type == NIC_CLASS) { qla4_83xx_can_perform_reset() 471 } else if (device_map[i].device_type == ISCSI_CLASS) { qla4_83xx_can_perform_reset()
|
/linux-4.1.27/drivers/edac/ |
H A D | edac_mc_sysfs.c | 300 static struct device_type csrow_attr_type = { 582 static struct device_type dimm_attr_type = { 899 static struct device_type mci_attr_type = { 1119 static struct device_type mc_attr_type = {
|
H A D | i7core_edac.c | 1107 static struct device_type addrmatch_type = { 1138 static struct device_type all_channel_counts_type = {
|
/linux-4.1.27/include/xen/ |
H A D | xenbus.h | 87 /* .../device/<device_type>/<identifier> */
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
H A D | board-v7.c | 75 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); mvebu_scan_mem()
|
/linux-4.1.27/net/bridge/ |
H A D | br_device.c | 360 static struct device_type br_type = {
|
/linux-4.1.27/drivers/staging/rts5208/ |
H A D | ms.c | 999 u8 val, *buf, class_code, device_type, sub_class, data[16]; ms_read_attribute_info() local 1208 device_type = buf[sys_info_addr + 56]; ms_read_attribute_info() 1237 dev_dbg(rtsx_dev(chip), "class_code = 0x%x, device_type = 0x%x, sub_class = 0x%x\n", ms_read_attribute_info() 1238 class_code, device_type, sub_class); ms_read_attribute_info() local 1266 if (device_type != 0x00) { ms_read_attribute_info() 1267 if ((device_type == 0x01) || (device_type == 0x02) || ms_read_attribute_info() 1268 (device_type == 0x03)) { ms_read_attribute_info() 1281 dev_dbg(rtsx_dev(chip), "class_code: 0x%x, device_type: 0x%x, sub_class: 0x%x\n", ms_read_attribute_info() 1282 class_code, device_type, sub_class); ms_read_attribute_info() local
|
/linux-4.1.27/drivers/media/usb/siano/ |
H A D | smsusb.c | 397 params.device_type = sms_get_board(board_id)->type; smsusb_init_device() 399 switch (params.device_type) { smsusb_init_device()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | fcoe_sysfs.c | 544 static struct device_type fcoe_ctlr_device_type = { 550 static struct device_type fcoe_fcf_device_type = {
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | nettel.c | 150 cfi->device_type, NULL); nettel_reboot_notifier()
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | dst.c | 1092 static u8 device_type[8] = {0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff}; dst_get_device_id() local 1095 device_type[7] = dst_check_sum(device_type, 7); dst_get_device_id() 1097 if (write_dst(state, device_type, FIXED_COMM)) dst_get_device_id()
|
/linux-4.1.27/drivers/misc/mei/ |
H A D | bus.c | 139 static struct device_type mei_cl_device_type = {
|
/linux-4.1.27/drivers/pci/ |
H A D | pci.h | 162 extern struct device_type pci_dev_type;
|
H A D | pci-sysfs.c | 1582 struct device_type pci_dev_type = {
|
/linux-4.1.27/drivers/firmware/efi/libstub/ |
H A D | fdt.c | 69 type = fdt_getprop(fdt, node, "device_type", &len); update_fdt()
|
/linux-4.1.27/drivers/ata/ |
H A D | libata.h | 61 extern struct device_type ata_port_type;
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | hash_utils_64.c | 275 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); htab_dt_scan_seg_sizes() 330 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); htab_dt_scan_page_sizes() 411 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); htab_dt_scan_hugepage_blocks() 574 const char *type = of_get_flat_dt_prop(node, "device_type", NULL); htab_dt_scan_pftsize()
|
/linux-4.1.27/net/hsr/ |
H A D | hsr_device.c | 383 static struct device_type hsr_type = {
|
/linux-4.1.27/sound/soc/intel/atom/sst/ |
H A D | sst_stream.c | 85 pipe_id = str_params->device_type; sst_alloc_stream_mrfld()
|
/linux-4.1.27/drivers/message/fusion/ |
H A D | mptsas.c | 3023 identify->device_type = SAS_PHY_UNUSED; mptsas_parse_device_info() 3026 identify->device_type = SAS_END_DEVICE; mptsas_parse_device_info() 3029 identify->device_type = SAS_EDGE_EXPANDER_DEVICE; mptsas_parse_device_info() 3032 identify->device_type = SAS_FANOUT_EXPANDER_DEVICE; mptsas_parse_device_info() 3234 switch (identify.device_type) { mptsas_probe_one_phy() 3240 rphy = sas_expander_alloc(port, identify.device_type); mptsas_probe_one_phy() 3263 if (identify.device_type == SAS_EDGE_EXPANDER_DEVICE || mptsas_probe_one_phy() 3264 identify.device_type == SAS_FANOUT_EXPANDER_DEVICE) mptsas_probe_one_phy() 3476 if (rphy->identify.device_type == SAS_END_DEVICE) mptsas_delete_expander_siblings() 3485 if (rphy->identify.device_type == mptsas_delete_expander_siblings() 3487 rphy->identify.device_type == mptsas_delete_expander_siblings()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | falcon.c | 2137 unsigned int device_id, u32 device_type) falcon_spi_device_init() 2139 if (device_type != 0) { falcon_spi_device_init() 2142 1 << SPI_DEV_TYPE_FIELD(device_type, SPI_DEV_TYPE_SIZE); falcon_spi_device_init() 2144 SPI_DEV_TYPE_FIELD(device_type, SPI_DEV_TYPE_ADDR_LEN); falcon_spi_device_init() 2148 SPI_DEV_TYPE_FIELD(device_type, SPI_DEV_TYPE_ERASE_CMD); falcon_spi_device_init() 2150 1 << SPI_DEV_TYPE_FIELD(device_type, falcon_spi_device_init() 2153 1 << SPI_DEV_TYPE_FIELD(device_type, falcon_spi_device_init() 2135 falcon_spi_device_init(struct efx_nic *efx, struct falcon_spi_device *spi_device, unsigned int device_id, u32 device_type) falcon_spi_device_init() argument
|
/linux-4.1.27/drivers/net/wireless/ |
H A D | rndis_wlan.c | 447 int device_type; member in struct:rndis_wlan_private 1971 if (priv->device_type == RNDIS_BCM4320A) rndis_scan() 2605 if (priv->device_type != RNDIS_BCM4320B) rndis_set_power_mgmt() 3211 if (priv->device_type == RNDIS_BCM4320A && priv->radio_on && rndis_device_poller() 3284 static void rndis_copy_module_params(struct usbnet *usbdev, int device_type) rndis_copy_module_params() argument 3288 priv->device_type = device_type; rndis_copy_module_params()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_device.c | 1439 int i, device_type; scsi_dump_inquiry() local 1467 device_type = dev->transport->get_device_type(dev); scsi_dump_inquiry() 1468 pr_debug(" Type: %s ", scsi_device_type(device_type)); scsi_dump_inquiry()
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | srmmu.c | 890 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); srmmu_paging_init() 1024 prom_getstring(nd, "device_type", node_str, sizeof(node_str)); init_vac_layout() 1587 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); get_srmmu_type()
|
/linux-4.1.27/net/atm/ |
H A D | mpc.c | 85 uint8_t device_type); 466 uint8_t device_type) copy_macs() 482 tlvs += 20; if (device_type == MPS_AND_MPC) tlvs += 20; copy_macs() 463 copy_macs(struct mpoa_client *mpc, const uint8_t *router_mac, const uint8_t *tlvs, uint8_t mps_macs, uint8_t device_type) copy_macs() argument
|
/linux-4.1.27/drivers/hwtracing/coresight/ |
H A D | coresight.c | 454 static struct device_type coresight_dev_type[] = {
|
/linux-4.1.27/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 265 id->dev_type = phy->identify.device_type; mvs_bytes_dmaed() 1058 phy->identify.device_type = mvs_update_phyinfo() 1061 if (phy->identify.device_type == SAS_END_DEVICE) mvs_update_phyinfo() 1064 else if (phy->identify.device_type != SAS_PHY_UNUSED) mvs_update_phyinfo()
|
/linux-4.1.27/drivers/staging/rtl8712/ |
H A D | usb_intf.c | 351 static const struct device_type wlan_type = {
|
/linux-4.1.27/block/ |
H A D | partition-generic.c | 220 struct device_type part_type = {
|
H A D | genhd.c | 37 static struct device_type disk_type; 1132 static struct device_type disk_type = {
|
/linux-4.1.27/include/acpi/ |
H A D | acpi_bus.h | 354 int device_type; member in struct:acpi_device
|
/linux-4.1.27/net/bluetooth/bnep/ |
H A D | core.c | 555 static struct device_type bnep_type = {
|
/linux-4.1.27/drivers/firewire/ |
H A D | core-device.c | 692 static struct device_type fw_unit_type = { 852 static struct device_type fw_device_type = {
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | ppc4xx_pci.c | 2135 /* Check if device_type property is set to "pci" or "pci-endpoint". ppc4xx_probe_pciex_bridge() 2139 val = of_get_property(port->node, "device_type", NULL); ppc4xx_probe_pciex_bridge() 2145 printk(KERN_ERR "PCIE: missing or incorrect device_type for %s\n", ppc4xx_probe_pciex_bridge()
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
H A D | mt9t031.c | 580 static struct device_type mt9t031_dev_type = {
|
/linux-4.1.27/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 55 static struct device_type wwan_type = {
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
H A D | os_intfs.c | 351 static const struct device_type wlan_type = {
|
/linux-4.1.27/net/8021q/ |
H A D | vlan_dev.c | 526 static struct device_type vlan_type = {
|
/linux-4.1.27/scripts/dtc/ |
H A D | checks.c | 512 WARNING_IF_NOT_STRING(device_type_is_string, "device_type");
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | ucc_uart.c | 1118 * device_type = "cpu"; 1124 * device_type = "cpu";
|
/linux-4.1.27/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 3248 id->dev_type = phy->identify.device_type; pm8001_bytes_dmaed() 3406 phy->identify.device_type = deviceType; hw_event_sas_phy_up() 3408 if (phy->identify.device_type == SAS_END_DEVICE) hw_event_sas_phy_up() 3410 else if (phy->identify.device_type != SAS_PHY_UNUSED) hw_event_sas_phy_up() 3464 phy->identify.device_type = SAS_SATA_DEV; hw_event_sata_phy_up() 3491 phy->identify.device_type = 0; hw_event_phy_down()
|
H A D | pm80xx_hwi.c | 2895 phy->identify.device_type = deviceType; hw_event_sas_phy_up() 2897 if (phy->identify.device_type == SAS_END_DEVICE) hw_event_sas_phy_up() 2899 else if (phy->identify.device_type != SAS_PHY_UNUSED) hw_event_sas_phy_up() 2956 phy->identify.device_type = SAS_SATA_DEV; hw_event_sata_phy_up() 2985 phy->identify.device_type = 0; hw_event_phy_down()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-core.c | 66 static struct device_type i2c_client_type; 745 static struct device_type i2c_client_type = { 1211 struct device_type i2c_adapter_type = {
|
/linux-4.1.27/drivers/net/usb/ |
H A D | usbnet.c | 1569 static struct device_type wlan_type = { 1573 static struct device_type wwan_type = {
|
/linux-4.1.27/drivers/mtd/ |
H A D | mtdcore.c | 338 static struct device_type mtd_devtype = {
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
H A D | usb.c | 441 static struct device_type i2400mu_type = {
|
/linux-4.1.27/drivers/net/wireless/prism54/ |
H A D | islpci_dev.c | 813 static struct device_type wlan_type = {
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
H A D | os_intfs.c | 703 static const struct device_type wlan_type = {
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | u_ether.c | 745 static struct device_type gadget_type = {
|
/linux-4.1.27/drivers/media/common/siano/ |
H A D | smscoreapi.h | 151 enum sms_device_type_st device_type; member in struct:smsdevice_params_t
|
H A D | smscoreapi.c | 738 smscore_registry_settype(dev->devpath, params->device_type); smscore_register_device()
|
/linux-4.1.27/net/wireless/ |
H A D | core.c | 867 static const struct device_type wiphy_type = {
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_fcoe.c | 1475 static struct device_type fcoe_netdev_type = {
|
/linux-4.1.27/drivers/media/rc/ |
H A D | rc-main.c | 1256 static struct device_type rc_dev_type = {
|
/linux-4.1.27/drivers/remoteproc/ |
H A D | remoteproc_core.c | 1220 static struct device_type rproc_type = {
|
/linux-4.1.27/drivers/s390/net/ |
H A D | ctcm_main.c | 1299 static const struct device_type ctcm_devtype = {
|
H A D | lcs.c | 2055 static const struct device_type lcs_devtype = {
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | soc_camera.c | 2144 const struct device_type *type = icd->vdev->dev.type; soc_camera_video_start()
|
/linux-4.1.27/drivers/input/ |
H A D | input.c | 1753 static struct device_type input_dev_type = {
|