Searched defs:minor (Results 126 - 150 of 216) sorted by relevance

123456789

/drivers/gpu/drm/tegra/
H A Ddc.c1224 static int tegra_dc_debugfs_init(struct tegra_dc *dc, struct drm_minor *minor) argument
1231 dc->debugfs = debugfs_create_dir(name, minor->debugfs_root);
1249 dc->debugfs, minor);
1253 dc->minor = minor;
1270 dc->minor);
1271 dc->minor = NULL;
H A Dhdmi.c64 struct drm_minor *minor; member in struct:tegra_hdmi
1294 struct drm_minor *minor)
1299 hdmi->debugfs = debugfs_create_dir("hdmi", minor->debugfs_root);
1315 hdmi->debugfs, minor);
1319 hdmi->minor = minor;
1336 hdmi->minor);
1337 hdmi->minor = NULL;
1293 tegra_hdmi_debugfs_init(struct tegra_hdmi *hdmi, struct drm_minor *minor) argument
/drivers/hid/
H A Dhid-multitouch.c571 int minor = min(s->w, s->h) >> 1; local
582 input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor);
/drivers/hid/usbhid/
H A Dhid-core.c1613 struct usb_interface *usbhid_find_interface(int minor) argument
1615 return usb_find_interface(&hid_driver, minor);
/drivers/input/
H A Devdev.c1166 int minor; local
1170 minor = input_get_new_minor(EVDEV_MINOR_BASE, EVDEV_MINORS, true);
1171 if (minor < 0) {
1172 error = minor;
1173 pr_err("failed to reserve new minor: %d\n", error);
1189 dev_no = minor;
1200 evdev->dev.devt = MKDEV(INPUT_MAJOR, minor);
1229 input_free_minor(minor);
1257 .minor = EVDEV_MINOR_BASE,
H A Dmousedev.c824 int minor; local
827 minor = input_get_new_minor(MOUSEDEV_MIX, 1, false);
828 if (minor < 0)
829 pr_err("failed to reserve mixdev minor: %d\n", minor);
831 minor = input_get_new_minor(MOUSEDEV_MINOR_BASE,
833 if (minor < 0)
834 pr_err("failed to reserve new minor: %d\n", minor);
837 return minor;
845 int minor; local
[all...]
/drivers/isdn/capi/
H A Dcapi.c80 unsigned int minor; member in struct:capiminor
210 unsigned int minor; local
230 /* Allocate the least unused minor number. */
232 for (minor = 0; minor < capi_ttyminors; minor++)
233 if (!capiminors[minor]) {
234 capiminors[minor] = mp;
239 if (minor == capi_ttyminors) {
244 mp->minor
263 capiminor_get(unsigned int minor) argument
[all...]
/drivers/isdn/gigaset/
H A Dbas-gigaset.c93 unsigned char minor; /* starting minor number */ member in struct:bas_cardstate
/drivers/isdn/i4l/
H A Disdn_common.c761 * takes care that this is not called for the same minor device number while
764 * of the mapping (di,ch)<->minor, happen during the sleep? --he
874 * takes care that this is not called for the same minor device number while
877 * of the mapping (di,ch)<->minor, happen during the sleep? --he
982 isdn_minor2drv(int minor) argument
984 return (dev->drvmap[minor]);
988 isdn_minor2chan(int minor) argument
990 return (dev->chanmap[minor]);
1062 uint minor = iminor(file_inode(file)); local
1070 if (minor
1171 uint minor = iminor(file_inode(file)); local
1234 unsigned int minor = iminor(file_inode(file)); local
1275 uint minor = iminor(file_inode(file)); local
1735 uint minor = iminor(ino); local
1798 uint minor = iminor(ino); local
[all...]
/drivers/md/bcache/
H A Dsuper.c780 int minor; local
808 minor = ida_simple_get(&bcache_minor, 0, MINORMASK + 1, GFP_KERNEL);
809 if (minor < 0)
810 return minor;
815 ida_simple_remove(&bcache_minor, minor);
820 snprintf(d->disk->disk_name, DISK_NAME_LEN, "bcache%i", minor);
823 d->disk->first_minor = minor;
/drivers/media/platform/coda/
H A Dcoda-bit.c612 u16 product, major, minor, release; local
645 minor = CODA_FIRMWARE_MINOR(data);
655 coda_product_name(product), major, minor, release);
664 major, minor, release);
668 major, minor, release);
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_init.c1014 u32 major, minor, sub; local
1032 &major, &minor, &sub);
1036 return major + (minor << 8) + (sub << 16);
/drivers/net/
H A Dmacvtap.c352 vlan->minor = retval;
364 if (vlan->minor) {
365 idr_remove(&minor_idr, vlan->minor);
366 vlan->minor = 0;
371 static struct net_device *dev_get_by_macvtap_minor(int minor) argument
377 vlan = idr_find(&minor_idr, minor);
1175 devt = MKDEV(MAJOR(macvtap_major), vlan->minor);
1184 devt = MKDEV(MAJOR(macvtap_major), vlan->minor);
/drivers/net/wireless/ath/ath9k/
H A Dar9003_mci.c1452 void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor) argument
1457 mci->bt_ver_minor = minor;
/drivers/net/wireless/rsi/
H A Drsi_main.h87 u16 minor; member in struct:version_info
/drivers/net/wireless/ti/wl12xx/
H A Dmain.c1492 u8 major, minor; local
1496 minor = WL128X_PG_GET_MINOR(wl->hw_pg_ver);
1499 if (major > 2 || (major == 2 && minor >= 1))
1503 minor = WL127X_PG_GET_MINOR(wl->hw_pg_ver);
1506 if (major == 3 && minor >= 1)
1511 "PG Ver major = %d minor = %d, MAC %s present",
1512 major, minor, supported ? "is" : "is not");
/drivers/parisc/
H A Dlba_pci.c1464 int major, minor; local
1467 major = func_class >> 4, minor = func_class & 0xf;
1474 minor, func_class, (long)dev->hpa.start);
/drivers/s390/char/
H A Draw3270.c37 int minor; member in struct:raw3270
733 int minor; local
758 * Add device to list and find the smallest unused minor
759 * number for it. Note: there is no device with minor 0,
764 minor = RAW3270_FIRSTMINOR;
765 rp->minor = -1;
768 if (tmp->minor > minor) {
769 rp->minor = minor;
959 raw3270_add_view(struct raw3270_view *view, struct raw3270_fn *fn, int minor) argument
994 raw3270_find_view(struct raw3270_fn *fn, int minor) argument
[all...]
/drivers/staging/comedi/
H A Dcomedi_fops.c53 "number of comedi minor devices to reserve for non-auto-configured devices (default 0)"
74 /* Note: indexed by minor - COMEDI_NUM_BOARD_MINORS. */
87 dev->minor = -1;
132 unsigned int i = dev->minor;
144 static struct comedi_device *comedi_clear_board_minor(unsigned minor) argument
149 dev = comedi_board_minor_table[minor];
150 comedi_board_minor_table[minor] = NULL;
161 MKDEV(COMEDI_MAJOR, dev->minor));
168 *comedi_subdevice_from_minor(const struct comedi_device *dev, unsigned minor) argument
171 unsigned int i = minor
182 comedi_dev_get_from_board_minor(unsigned minor) argument
193 comedi_dev_get_from_subdevice_minor(unsigned minor) argument
207 comedi_dev_get_from_minor(unsigned minor) argument
217 comedi_read_subdevice(const struct comedi_device *dev, unsigned int minor) argument
230 comedi_write_subdevice(const struct comedi_device *dev, unsigned int minor) argument
286 unsigned int minor = MINOR(csdev->devt); local
309 unsigned int minor = MINOR(csdev->devt); local
342 unsigned int minor = MINOR(csdev->devt); local
365 unsigned int minor = MINOR(csdev->devt); local
399 unsigned int minor = MINOR(csdev->devt); local
422 unsigned int minor = MINOR(csdev->devt); local
455 unsigned int minor = MINOR(csdev->devt); local
478 unsigned int minor = MINOR(csdev->devt); local
779 const unsigned minor = iminor(file_inode(file)); local
1780 const unsigned minor = iminor(file_inode(file)); local
1903 const unsigned minor = iminor(file_inode(file)); local
1995 const unsigned minor = iminor(file_inode(file)); local
2037 const unsigned minor = iminor(file_inode(file)); local
2173 const unsigned minor = iminor(file_inode(file)); local
2296 const unsigned minor = iminor(inode); local
2464 comedi_free_board_minor(unsigned minor) argument
2472 int minor; local
[all...]
H A Dcomedidev.h90 int minor; member in struct:comedi_subdevice
238 int minor; member in struct:comedi_device
279 the minor number soon, after more distros support > 8 bit minor numbers
289 struct comedi_device *comedi_dev_get_from_minor(unsigned minor);
/drivers/staging/dgnc/
H A Ddgnc_tty.c1159 uint minor = 0; local
1166 minor = MINOR(tty_devnum(tty));
1189 if (PORT_NUM(minor) > brd->nasync) {
1194 ch = brd->channels[PORT_NUM(minor)];
1207 if (!IS_PRINT(minor)) {
1208 un = &brd->channels[PORT_NUM(minor)]->ch_tun;
1210 } else if (IS_PRINT(minor)) {
1211 un = &brd->channels[PORT_NUM(minor)]->ch_pun;
/drivers/staging/media/lirc/
H A Dlirc_zilog.c163 static int minor = -1; /* minor number */ variable
198 if (ir->l.minor >= 0 && ir->l.minor < MAX_IRCTL_DEVICES) {
199 lirc_unregister_driver(ir->l.minor);
200 ir->l.minor = MAX_IRCTL_DEVICES;
1292 static struct IR *get_ir_device_by_minor(unsigned int minor) argument
1301 if (ir->l.minor == minor) {
1319 unsigned int minor local
[all...]
/drivers/target/
H A Dtarget_core_user.c763 static int tcmu_netlink_event(enum tcmu_genl_cmd cmd, const char *name, int minor) argument
781 ret = nla_put_u32(skb, TCMU_ATTR_MINOR, minor);
872 udev->uio_info.uio_dev->minor);
916 udev->uio_info.uio_dev->minor);
/drivers/tty/serial/
H A Dmax3100.c34 * The initial minor number is 209 in the low-density serial port:
120 int minor; /* minor number */ member in struct:max3100_port
605 sprintf(b, "max3100-%d", s->minor);
739 .minor = MAX3100_MINOR,
789 max3100s[i]->minor = i;
/drivers/usb/class/
H A Dcdc-acm.c95 * Try to find an available minor number and if found, associate it with 'acm'.
99 int minor; local
102 for (minor = 0; minor < ACM_TTY_MINORS; minor++) {
103 if (!acm_table[minor]) {
104 acm_table[minor] = acm;
110 return minor;
113 /* Release the minor number associated with 'acm'. */
117 acm_table[acm->minor]
1084 int minor; local
[all...]

Completed in 3571 milliseconds

123456789