Home
last modified time | relevance | path

Searched refs:dev_type (Results 1 – 25 of 273) sorted by relevance

1234567891011

/OK3568_Linux_fs/u-boot/cmd/
H A Drksfc.c16 u32 dev_type = IF_TYPE_UNKNOWN; in do_rksfc() local
19 dev_type = IF_TYPE_SPINAND; in do_rksfc()
21 dev_type = IF_TYPE_SPINOR; in do_rksfc()
36 dev_type = IF_TYPE_SPINAND; in do_rksfc()
38 dev_type = IF_TYPE_SPINOR; in do_rksfc()
42 return blk_common_cmd(argc, argv, dev_type, &rksfc_curr_dev); in do_rksfc()
H A Djffs2.c203 static int mtd_id_parse(const char *id, const char **ret_id, u8 *dev_type, u8 *dev_num) in mtd_id_parse() argument
207 *dev_type = 0; in mtd_id_parse()
209 *dev_type = MTD_DEV_TYPE_NAND; in mtd_id_parse()
212 *dev_type = MTD_DEV_TYPE_NOR; in mtd_id_parse()
215 *dev_type = MTD_DEV_TYPE_ONENAND; in mtd_id_parse()
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpegd/
H A Dhal_jpegd_common.c438 ctx->have_pp = ((ctx->dev_type == VPU_CLIENT_VDPU1) && in jpegd_check_have_pp()
440 ((ctx->dev_type == VPU_CLIENT_VDPU2) && in jpegd_check_have_pp()
450 MppClientType dev_type = ctx->dev_type; in jpegd_setup_output_fmt() local
518 if (ctx->dev_type == VPU_CLIENT_VDPU1) in jpegd_setup_output_fmt()
519 dev_type = VPU_CLIENT_VDPU1_PP; in jpegd_setup_output_fmt()
520 else if (ctx->dev_type == VPU_CLIENT_VDPU2) in jpegd_setup_output_fmt()
521 dev_type = VPU_CLIENT_VDPU2_PP; in jpegd_setup_output_fmt()
528 if (ctx->dev_type == VPU_CLIENT_VDPU1_PP) in jpegd_setup_output_fmt()
529 dev_type = VPU_CLIENT_VDPU1; in jpegd_setup_output_fmt()
530 else if (ctx->dev_type == VPU_CLIENT_VDPU2_PP) in jpegd_setup_output_fmt()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_dw_hdmi.c206 enum dw_hdmi_devtype dev_type, in drm_rk_select_color() argument
289 switch (dev_type) { in drm_rk_select_color()
316 if (dev_type == RK3288_HDMI) in drm_rk_select_color()
329 if (dev_type == RK3288_HDMI) in drm_rk_select_color()
348 enum dw_hdmi_devtype dev_type, in drm_rk_selete_output() argument
374 if (dev_type == RK3288_HDMI || output_bus_format_rgb) in drm_rk_selete_output()
497 dev_type, output_bus_format_rgb); in drm_rk_selete_output()
509 int dev_type) in dw_hdmi_set_iomux() argument
517 switch (dev_type) { in dw_hdmi_set_iomux()
602 .dev_type = RK3288_HDMI,
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/gpio/
H A Dgpio-mockup.sh16 dev_type=
85 if [ X$dev_type = Xsysfs ]; then
111 dev_type=
137 dev_type=$2
155 if [ X$dev_type != Xsysfs ]; then
156 dev_type="chardev"
/OK3568_Linux_fs/kernel/drivers/scsi/aic94xx/
H A Daic94xx_dev.c70 if (dev->dev_type == SAS_SATA_PM_PORT) in asd_set_ddb_type()
102 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM_PORT) { in asd_set_dmamode()
126 if (dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in asd_init_sata()
127 dev->dev_type == SAS_SATA_PM_PORT) { in asd_init_sata()
160 if ((dev->dev_type == SAS_SATA_DEV) || in asd_init_target_ddb()
173 if (!dev->parent && dev_is_expander(dev->dev_type)) in asd_init_target_ddb()
182 if (dev->dev_type == SAS_SATA_PM) in asd_init_target_ddb()
195 if (dev->dev_type == SAS_SATA_DEV || (dev->tproto & SAS_PROTOCOL_STP)) { in asd_init_target_ddb()
203 if (dev->dev_type == SAS_END_DEVICE) { in asd_init_target_ddb()
311 switch (dev->dev_type) { in asd_dev_found()
/OK3568_Linux_fs/kernel/drivers/scsi/libsas/
H A Dsas_discover.c25 switch (dev->dev_type) { in sas_init_dev()
80 dev->dev_type = SAS_SATA_PM; in sas_get_port_device()
82 dev->dev_type = SAS_SATA_DEV; in sas_get_port_device()
87 dev->dev_type = id->dev_type; in sas_get_port_device()
104 switch (dev->dev_type) { in sas_get_port_device()
124 pr_warn("ERROR: Unidentified device type %d\n", dev->dev_type); in sas_get_port_device()
152 if (dev_is_sata(dev) || dev->dev_type == SAS_END_DEVICE) in sas_get_port_device()
300 if (dev_is_expander(dev->dev_type)) in sas_free_device()
331 if (dev->dev_type == SAS_END_DEVICE && in sas_unregister_common_dev()
449 switch (dev->dev_type) { in sas_discover_domain()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Ddevice-init.c38 dev->dev_type = PS3_DEVICE_TYPE_LPM; in ps3_register_lpm_devices()
126 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_GELIC); in ps3_setup_gelic_device()
136 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_gelic_device()
197 BUG_ON(repo->dev_type != PS3_DEV_TYPE_SB_USB); in ps3_setup_uhc_device()
207 p->dev.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_uhc_device()
302 p->dev.dev_type = PS3_DEVICE_TYPE_VUART; in ps3_setup_vuart_device()
343 repo->dev_index, repo->dev_type, port, blk_size, num_blocks, in ps3_setup_storage_dev()
353 p->sbd.dev_type = PS3_DEVICE_TYPE_SB; in ps3_setup_storage_dev()
454 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_sound_devices()
490 p->dev.dev_type = PS3_DEVICE_TYPE_IOC0; in ps3_register_graphics_devices()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/tm6000/
H A Dtm6000-core.c192 if (dev->dev_type == TM6010) { in tm6000_set_fourcc_format()
218 if (dev->dev_type == TM6010) { in tm6000_set_vbi()
274 if (dev->dev_type == TM6010) { in tm6000_init_analog_mode()
345 if (dev->dev_type == TM6010) { in tm6000_init_digital_mode()
565 if (dev->dev_type != TM6000) in tm6000_init()
566 dev->dev_type = TM6000; in tm6000_init()
570 if (dev->dev_type != TM6010) in tm6000_init()
571 dev->dev_type = TM6010; in tm6000_init()
579 if (dev->dev_type == TM6010) { in tm6000_init()
629 if (dev->dev_type == TM6010) { in tm6000_set_audio_bitrate()
[all …]
/OK3568_Linux_fs/kernel/include/scsi/
H A Dsas_ata.h20 return dev->dev_type == SAS_SATA_DEV || dev->dev_type == SAS_SATA_PM || in dev_is_sata()
21 dev->dev_type == SAS_SATA_PM_PORT || dev->dev_type == SAS_SATA_PENDING; in dev_is_sata()
/OK3568_Linux_fs/kernel/drivers/hv/
H A Dchannel_mgmt.c31 { .dev_type = HV_IDE,
37 { .dev_type = HV_SCSI,
43 { .dev_type = HV_FC,
49 { .dev_type = HV_NIC,
55 { .dev_type = HV_ND,
61 { .dev_type = HV_PCIE,
67 { .dev_type = HV_FB,
73 { .dev_type = HV_KBD,
79 { .dev_type = HV_MOUSE,
85 { .dev_type = HV_KVP,
[all …]
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmax14577-regulator.c42 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_get_current_limit()
64 &maxim_charger_currents[max14577->dev_type]; in max14577_reg_set_current_limit()
167 switch (max14577->dev_type) { in max14577_get_regmap()
191 enum maxim_device_type dev_type = max14577->dev_type; in max14577_regulator_probe() local
193 switch (dev_type) { in max14577_regulator_probe()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dmax77693-haptic.c48 enum max77693_types dev_type; member
88 if (haptic->dev_type != TYPE_MAX77843) in max77843_haptic_bias()
110 switch (haptic->dev_type) { in max77693_haptic_configure()
143 if (haptic->dev_type != TYPE_MAX77693) in max77693_haptic_lowsys()
310 haptic->dev_type = platform_get_device_id(pdev)->driver_data; in max77693_haptic_probe()
311 switch (haptic->dev_type) { in max77693_haptic_probe()
320 haptic->dev_type); in max77693_haptic_probe()
/OK3568_Linux_fs/kernel/drivers/s390/crypto/
H A Dvfio_ap_drv.c33 { .dev_type = AP_DEVICE_TYPE_CEX4,
35 { .dev_type = AP_DEVICE_TYPE_CEX5,
37 { .dev_type = AP_DEVICE_TYPE_CEX6,
39 { .dev_type = AP_DEVICE_TYPE_CEX7,
H A Dzcrypt_cex2a.c49 { .dev_type = AP_DEVICE_TYPE_CEX2A,
51 { .dev_type = AP_DEVICE_TYPE_CEX3A,
59 { .dev_type = AP_DEVICE_TYPE_CEX2A,
61 { .dev_type = AP_DEVICE_TYPE_CEX3A,
H A Dzcrypt_cex4.c47 { .dev_type = AP_DEVICE_TYPE_CEX4,
49 { .dev_type = AP_DEVICE_TYPE_CEX5,
51 { .dev_type = AP_DEVICE_TYPE_CEX6,
53 { .dev_type = AP_DEVICE_TYPE_CEX7,
61 { .dev_type = AP_DEVICE_TYPE_CEX4,
63 { .dev_type = AP_DEVICE_TYPE_CEX5,
65 { .dev_type = AP_DEVICE_TYPE_CEX6,
67 { .dev_type = AP_DEVICE_TYPE_CEX7,
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Dhci_vhci.c80 __u8 dev_type; in __vhci_create_device() local
86 dev_type = opcode & 0x03; in __vhci_create_device()
88 if (dev_type != HCI_PRIMARY && dev_type != HCI_AMP) in __vhci_create_device()
108 hdev->dev_type = dev_type; in __vhci_create_device()
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dmax14577.c283 max14577->dev_type, device_id, vendor_id); in max14577_print_dev_type()
408 max14577->dev_type = in max14577_i2c_probe()
411 max14577->dev_type = id->driver_data; in max14577_i2c_probe()
416 switch (max14577->dev_type) { in max14577_i2c_probe()
442 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) { in max14577_i2c_probe()
458 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_probe()
472 if (max14577->dev_type == MAXIM_DEVICE_TYPE_MAX77836) in max14577_i2c_remove()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dmax14577_charger.c27 enum maxim_device_type dev_type, u8 val) { in maxim_get_charger_type() argument
38 if (dev_type == MAXIM_DEVICE_TYPE_MAX77836) in maxim_get_charger_type()
133 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_online()
172 chg_type = maxim_get_charger_type(chg->max14577->dev_type, reg_data); in max14577_get_battery_health()
267 switch (chg->max14577->dev_type) { in max14577_init_eoc()
307 &maxim_charger_currents[chg->max14577->dev_type]; in max14577_init_fast_charge()
435 val->strval = model_names[chg->max14577->dev_type]; in max14577_charger_get_property()
H A Dpower_supply.h18 extern void power_supply_init_attrs(struct device_type *dev_type);
23 static inline void power_supply_init_attrs(struct device_type *dev_type) {} in power_supply_init_attrs() argument
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/camera/CameraUI/src/
H A Dabout.cpp38 dev_type=0; in About()
55 dev_type=1; in About()
99 if(dev_type==0){ in on_formatButton_clicked()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmwpa.c1639 if (info->dev_type == DEV_STA && *p_count != 1u) { in bcmwpa_decode_cipher_suite()
1648 if (info->dev_type == DEV_STA) { in bcmwpa_decode_cipher_suite()
1732 bcmwpa_parse_rsnie(const bcm_tlv_t *ie, rsn_ie_info_t *info, device_type_t dev_type) in bcmwpa_parse_rsnie() argument
1762 if (dev_type == DEV_AP) { in bcmwpa_parse_rsnie()
1764 if (info->dev_type != DEV_NONE) { in bcmwpa_parse_rsnie()
1765 if (info->dev_type != DEV_AP) { in bcmwpa_parse_rsnie()
1771 info->dev_type = dev_type; in bcmwpa_parse_rsnie()
1806 if (dev_type == DEV_STA && akm_count != 1) { in bcmwpa_parse_rsnie()
1816 if (dev_type == DEV_STA) { in bcmwpa_parse_rsnie()
1828 if (dev_type == DEV_AP) { in bcmwpa_parse_rsnie()
[all …]
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-mxs.c70 #define MXS_I2C_DATA(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x60 : 0xa0)
72 #define MXS_I2C_DEBUG0_CLR(i2c) ((i2c->dev_type == MXS_I2C_V1) ? 0x78 : 0xb8)
115 enum mxs_i2c_devtype dev_type; member
362 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_trigger_write_cmd()
551 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_pio_setup_xfer()
624 if (i2c->dev_type == MXS_I2C_V1) in mxs_i2c_xfer_msg()
817 i2c->dev_type = device_id->driver_data; in mxs_i2c_probe()
/OK3568_Linux_fs/kernel/usr/
H A Dgen_init_cpio.c241 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() argument
246 if (dev_type == 'b') in cpio_mknod()
280 char dev_type; in cpio_mknod_line() local
286 name, &mode, &uid, &gid, &dev_type, &maj, &min)) { in cpio_mknod_line()
290 rc = cpio_mknod(name, mode, uid, gid, dev_type, maj, min); in cpio_mknod_line()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_reg.c24 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_write()
34 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_read()
85 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_init_analog_param()
87 if (dp->plat_data->dev_type == RK3288_DP) in analogix_dp_init_analog_param()
137 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_reset()
240 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) { in analogix_dp_set_pll_power_down()
261 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
266 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
326 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
338 if (dp->plat_data && is_rockchip(dp->plat_data->dev_type)) in analogix_dp_set_analog_power_down()
[all …]

1234567891011