/drivers/gpu/drm/amd/amdgpu/ |
D | vi.c | 792 .major = 2, 799 .major = 7, 806 .major = 2, 813 .major = 7, 820 .major = 8, 827 .major = 2, 839 .major = 2, 846 .major = 7, 853 .major = 2, 860 .major = 7, [all …]
|
D | cik.c | 1649 .major = 1, 1656 .major = 7, 1663 .major = 2, 1670 .major = 7, 1677 .major = 8, 1684 .major = 7, 1691 .major = 2, 1698 .major = 4, 1705 .major = 2, 1717 .major = 1, [all …]
|
/drivers/char/ |
D | scx200_gpio.c | 32 static int major = 0; /* default to dynamic major */ variable 33 module_param(major, int, 0); 34 MODULE_PARM_DESC(major, "Major device number"); 97 if (major) { in scx200_gpio_init() 98 devid = MKDEV(major, 0); in scx200_gpio_init() 102 major = MAJOR(devid); in scx200_gpio_init() 127 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS); in scx200_gpio_cleanup()
|
D | pc8736x_gpio.c | 31 static int major; /* default to dynamic major */ variable 32 module_param(major, int, 0); 33 MODULE_PARM_DESC(major, "Major device number"); 305 if (major) { in pc8736x_gpio_init() 306 devid = MKDEV(major, 0); in pc8736x_gpio_init() 310 major = MAJOR(devid); in pc8736x_gpio_init() 317 if (!major) { in pc8736x_gpio_init() 318 major = rc; in pc8736x_gpio_init() 319 dev_dbg(&pdev->dev, "got dynamic major %d\n", major); in pc8736x_gpio_init() 345 unregister_chrdev_region(MKDEV(major,0), PC8736X_GPIO_CT); in pc8736x_gpio_cleanup()
|
D | tb0219.c | 35 static int major; /* default is dynamic major device number */ variable 36 module_param(major, int, 0); 37 MODULE_PARM_DESC(major, "Major device number"); 301 retval = register_chrdev(major, "TB0219", &tb0219_fops); in tb0219_probe() 314 if (major == 0) { in tb0219_probe() 315 major = retval; in tb0219_probe() 316 printk(KERN_INFO "TB0219: major number %d\n", major); in tb0219_probe()
|
/drivers/soc/fsl/qbman/ |
D | bman_ccsr.c | 89 static void bm_get_version(u16 *id, u8 *major, u8 *minor) in bm_get_version() argument 93 *major = (v >> 8) & 0xff; in bm_get_version() 176 u8 major, minor; in fsl_bman_probe() local 189 bm_get_version(&id, &major, &minor); in fsl_bman_probe() 190 if (major == 1 && minor == 0) { in fsl_bman_probe() 193 } else if (major == 2 && minor == 0) { in fsl_bman_probe() 196 } else if (major == 2 && minor == 1) { in fsl_bman_probe() 201 id, major, minor); in fsl_bman_probe()
|
D | qman_ccsr.c | 331 static void qm_get_version(u16 *id, u8 *major, u8 *minor) in qm_get_version() argument 335 *major = (v >> 8) & 0xff; in qm_get_version() 689 u8 major, minor; in fsl_qman_probe() local 701 qm_get_version(&id, &major, &minor); in fsl_qman_probe() 702 if (major == 1 && minor == 0) { in fsl_qman_probe() 705 } else if (major == 1 && minor == 1) in fsl_qman_probe() 707 else if (major == 1 && minor == 2) in fsl_qman_probe() 709 else if (major == 2 && minor == 0) in fsl_qman_probe() 711 else if (major == 3 && minor == 0) in fsl_qman_probe() 713 else if (major == 3 && minor == 1) in fsl_qman_probe()
|
/drivers/platform/x86/ |
D | intel_scu_ipcutil.c | 27 static int major; variable 104 major = register_chrdev(0, "intel_mid_scu", &scu_ipc_fops); in ipc_module_init() 105 if (major < 0) in ipc_module_init() 106 return major; in ipc_module_init() 113 unregister_chrdev(major, "intel_mid_scu"); in ipc_module_exit()
|
/drivers/net/ethernet/freescale/fman/ |
D | fman_port.c | 78 #define DFLT_PORT_RX_FIFO_THRESHOLD(major, bmi_max_fifo_size) \ argument 79 (major == 6 ? \ 802 if (port->rev_info.major >= 6) in verify_size_of_fifo() 973 switch (port->rev_info.major) { in fill_soc_specific_params() 993 static int get_dflt_fifo_deq_pipeline_depth(u8 major, enum fman_port_type type, in get_dflt_fifo_deq_pipeline_depth() argument 1003 if (major >= 6) in get_dflt_fifo_deq_pipeline_depth() 1015 static int get_dflt_num_of_tasks(u8 major, enum fman_port_type type, in get_dflt_num_of_tasks() argument 1025 if (major >= 6) in get_dflt_num_of_tasks() 1037 static int get_dflt_extra_num_of_tasks(u8 major, enum fman_port_type type, in get_dflt_extra_num_of_tasks() argument 1043 if (major >= 6) in get_dflt_extra_num_of_tasks() [all …]
|
D | fman.c | 260 #define DFLT_DMA_COMM_Q_LOW(major, dma_thresh_max_commq) \ argument 261 ((major == 6) ? DMA_COMM_Q_LOW_FMAN_V3 : \ 267 #define DFLT_DMA_COMM_Q_HIGH(major, dma_thresh_max_commq) \ argument 268 ((major == 6) ? DMA_COMM_Q_HIGH_FMAN_V3 : \ 273 #define DFLT_TOTAL_NUM_OF_TASKS(major, minor, bmi_max_num_of_tasks) \ argument 274 ((major == 6) ? ((minor == 1 || minor == 4) ? \ 280 #define DFLT_DMA_CAM_NUM_OF_ENTRIES(major) \ argument 281 (major == 6 ? DMA_CAM_NUM_OF_ENTRIES_FMAN_V3 : \ 661 static inline u8 hw_port_id_to_sw_port_id(u8 major, u8 hw_port_id) in hw_port_id_to_sw_port_id() argument 833 if (fman->state->rev_info.major == 2) { in dma_init() [all …]
|
/drivers/mfd/ |
D | qcom-spmi-pmic.c | 63 unsigned int rev2, minor, major, type, subtype; in pmic_spmi_show_revid() local 94 ret = regmap_read(map, PMIC_REV4, &major); in pmic_spmi_show_revid() 105 major < 0x02) in pmic_spmi_show_revid() 106 major++; in pmic_spmi_show_revid() 111 dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); in pmic_spmi_show_revid()
|
D | timberdale.c | 57 u32 major; member 644 return sprintf(buf, "%d.%d.%d\n", priv->fw.major, priv->fw.minor, in show_fw_ver() 691 priv->fw.major = ioread32(priv->ctl_membase + TIMB_REV_MAJOR); in timb_probe() 695 if (priv->fw.major > TIMB_SUPPORTED_MAJOR) { in timb_probe() 698 "support %d.%d\n", priv->fw.major, priv->fw.minor); in timb_probe() 701 if (priv->fw.major < TIMB_SUPPORTED_MAJOR || in timb_probe() 705 priv->fw.major, priv->fw.minor, in timb_probe() 781 priv->fw.major, priv->fw.minor, ip_setup); in timb_probe() 815 priv->fw.major, priv->fw.minor, priv->fw.config); in timb_probe()
|
/drivers/cpufreq/ |
D | sti-cpufreq.c | 160 int pcode, substrate, major, minor; in sti_cpufreq_set_opp_info() local 198 major = sti_cpufreq_fetch_major(); in sti_cpufreq_set_opp_info() 199 if (major < 0) { in sti_cpufreq_set_opp_info() 202 major = DEFAULT_VERSION; in sti_cpufreq_set_opp_info() 220 version[0] = BIT(major); in sti_cpufreq_set_opp_info() 231 pcode, major, minor, substrate); in sti_cpufreq_set_opp_info()
|
/drivers/block/rsxx/ |
D | dev.c | 263 card->major = register_blkdev(0, DRIVER_NAME); in rsxx_setup_dev() 264 if (card->major < 0) { in rsxx_setup_dev() 272 unregister_blkdev(card->major, DRIVER_NAME); in rsxx_setup_dev() 280 unregister_blkdev(card->major, DRIVER_NAME); in rsxx_setup_dev() 310 card->gendisk->major = card->major; in rsxx_setup_dev() 329 unregister_blkdev(card->major, DRIVER_NAME); in rsxx_destroy_dev()
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-devtrace-iwlwifi.h | 127 u32 major, u32 minor, u32 hw_ver, u32 brd_ver), 130 rev_type, major, minor, hw_ver, brd_ver), 145 __field(u32, major) 164 __entry->major = major; 177 __entry->rev_type, __entry->major, __entry->minor,
|
/drivers/staging/greybus/ |
D | greybus_firmware.h | 87 __u16 major; member 93 __u16 major; member 102 __u16 major; member
|
D | control.c | 27 request.major = GB_CONTROL_VERSION_MAJOR; in gb_control_get_version() 41 if (response.major > request.major) { in gb_control_get_version() 44 response.major, request.major); in gb_control_get_version() 48 control->protocol_major = response.major; in gb_control_get_version() 51 dev_dbg(&intf->dev, "%s - %u.%u\n", __func__, response.major, in gb_control_get_version() 78 bundle->class_major = response.major; in gb_control_get_bundle_version() 82 response.major, response.minor); in gb_control_get_bundle_version()
|
D | bootrom.c | 379 request.major = GB_BOOTROM_VERSION_MAJOR; in gb_bootrom_get_version() 393 if (response.major > request.major) { in gb_bootrom_get_version() 396 response.major, request.major); in gb_bootrom_get_version() 400 bootrom->protocol_major = response.major; in gb_bootrom_get_version() 403 dev_dbg(&bundle->dev, "%s - %u.%u\n", __func__, response.major, in gb_bootrom_get_version()
|
/drivers/block/paride/ |
D | pg.c | 141 static int major = PG_MAJOR; variable 172 module_param(major, int, 0); 483 printk("%s: %s version %s, major %d\n", name, name, PG_VERSION, major); in pg_detect() 682 err = register_chrdev(major, name, &pg_fops); in pg_init() 684 printk("pg_init: unable to get major number %d\n", major); in pg_init() 692 major = err; /* In case the user specified `major=0' (dynamic) */ in pg_init() 701 device_create(pg_class, NULL, MKDEV(major, unit), NULL, in pg_init() 708 unregister_chrdev(major, "pg"); in pg_init() 720 device_destroy(pg_class, MKDEV(major, unit)); in pg_exit() 723 unregister_chrdev(major, name); in pg_exit()
|
D | pt.c | 121 static int major = PT_MAJOR; variable 156 module_param(major, int, 0); 607 printk("%s: %s version %s, major %d\n", name, name, PT_VERSION, major); in pt_detect() 977 err = register_chrdev(major, name, &pt_fops); in pt_init() 979 printk("pt_init: unable to get major number %d\n", major); in pt_init() 985 major = err; in pt_init() 994 device_create(pt_class, NULL, MKDEV(major, unit), NULL, in pt_init() 996 device_create(pt_class, NULL, MKDEV(major, unit + 128), in pt_init() 1002 unregister_chrdev(major, "pt"); in pt_init() 1012 device_destroy(pt_class, MKDEV(major, unit)); in pt_exit() [all …]
|
/drivers/staging/greybus/Documentation/firmware/ |
D | firmware.c | 99 intf_fw_info.firmware_tag, intf_fw_info.major, in update_intf_firmware() 107 intf_load.major = 0; in update_intf_firmware() 128 firmware_tag, intf_load.major, intf_load.minor, in update_intf_firmware() 160 backend_fw_info.firmware_tag, backend_fw_info.major, in update_backend_firmware()
|
/drivers/block/xen-blkback/ |
D | xenbus.c | 33 unsigned major; member 403 VBD_SHOW(physical_device, "%x:%x\n", be->major, be->minor); 446 unsigned major, unsigned minor, int readonly, in xen_vbd_create() argument 458 vbd->pdevice = MKDEV(major, minor); in xen_vbd_create() 500 if (be->major || be->minor) in xen_blkbk_remove() 671 unsigned major; in backend_changed() local 683 &major, &minor); in backend_changed() 697 if (be->major | be->minor) { in backend_changed() 698 if (be->major != major || be->minor != minor) in backend_changed() 700 be->major, be->minor, major, minor); in backend_changed() [all …]
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_cfg.c | 111 const struct msm_dsi_cfg_handler *msm_dsi_cfg_get(u32 major, u32 minor) in msm_dsi_cfg_get() argument 117 if ((dsi_cfg_handlers[i].major == major) && in msm_dsi_cfg_get()
|
/drivers/isdn/hardware/eicon/ |
D | divamnt.c | 28 static int major; variable 167 unregister_chrdev(major, DEVNAME); in divas_maint_unregister_chrdev() 172 if ((major = register_chrdev(0, DEVNAME, &divas_maint_fops)) < 0) in divas_maint_register_chrdev() 221 (diva_dbg_mem == 0) ? "internal" : "external", major); in maint_init()
|
/drivers/scsi/ufs/ |
D | ufs-qcom.h | 153 u8 *major, u16 *minor, u16 *step) in ufs_qcom_get_controller_revision() argument 157 *major = (ver & UFS_HW_VER_MAJOR_MASK) >> UFS_HW_VER_MAJOR_SHFT; in ufs_qcom_get_controller_revision() 200 u8 major; member 248 if (host->hw_ver.major <= 0x02) in ufs_qcom_get_debug_reg_offset()
|