Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 137) sorted by relevance

123456

/linux-2.4.37.9/drivers/usb/
Dhid-input.c95 struct hid_usage *usage) in hidinput_configure_usage() argument
102 switch (usage->hid & HID_USAGE_PAGE) { in hidinput_configure_usage()
107 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
109 if ((usage->hid & HID_USAGE) < 256) { in hidinput_configure_usage()
110 if (!(usage->code = hid_keyboard[usage->hid & HID_USAGE])) in hidinput_configure_usage()
112 clear_bit(usage->code, bit); in hidinput_configure_usage()
114 usage->code = KEY_UNKNOWN; in hidinput_configure_usage()
120 usage->code = ((usage->hid - 1) & 0xf) + 0x100; in hidinput_configure_usage()
121 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
124 case HID_GD_GAMEPAD: usage->code += 0x10; in hidinput_configure_usage()
[all …]
Dhid-debug.h34 unsigned usage; member
129 static void resolv_usage(unsigned usage) { in resolv_usage() argument
132 resolv_usage_page(usage >> 16); in resolv_usage()
135 if (p->page == (usage >> 16)) { in resolv_usage()
137 if (p->usage == (usage & 0xffff)) { in resolv_usage()
143 printk("%04x", usage & 0xffff); in resolv_usage()
165 tab(n+2);resolv_usage(field->usage[j].hid); printk("\n"); in hid_dump_field()
233 static void hid_dump_input(struct hid_usage *usage, __s32 value) { in hid_dump_input() argument
235 resolv_usage(usage->hid); in hid_dump_input()
Dhid-core.c112 field->usage = (struct hid_usage *)(field + 1); in hid_register_field()
113 field->value = (unsigned *)(field->usage + usages); in hid_register_field()
127 unsigned usage; in open_collection() local
129 usage = parser->local.usage[0]; in open_collection()
162 collection->usage = usage; in open_collection()
195 return parser->device->collection[parser->collection_stack[n]].usage; in hid_lookup_collection()
204 static int hid_add_usage(struct hid_parser *parser, unsigned usage) in hid_add_usage() argument
210 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()
264 field->usage[i].hid = parser->local.usage[j]; in hid_add_field()
265 field->usage[i].collection_index = in hid_add_field()
[all …]
Dhid.h222 unsigned usage[HID_MAX_USAGES]; /* usage array */ member
237 unsigned usage; member
254 struct hid_usage *usage; /* usage table for this function */ member
393 …id_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) { } in hidinput_hid_event() argument
Dhiddev.c135 if (field->usage[j].hid == uref->usage_code) { in hiddev_lookup_usage()
175 struct hid_usage *usage, __s32 value) in hiddev_hid_event() argument
186 uref.usage_index = (usage - field->usage); in hiddev_hid_event()
187 uref.usage_code = usage->hid; in hiddev_hid_event()
426 return hid->collection[i].usage; in hiddev_ioctl()
580 uref->usage_code = field->usage[uref->usage_index].hid; in hiddev_ioctl()
640 return field->usage[uref->usage_index].collection_index; in hiddev_ioctl()
665 cinfo.usage = hid->collection[cinfo.index].usage; in hiddev_ioctl()
715 !IS_INPUT_APPLICATION(hid->collection[i].usage)) in hiddev_connect()
/linux-2.4.37.9/drivers/atm/
Dfore200e_mkfirm.c26 void usage(void) in usage() function
53 usage(); in main()
58 usage(); in main()
63 usage(); in main()
73 usage(); in main()
77 usage(); in main()
/linux-2.4.37.9/drivers/sound/emu10k1/
Defxmgr.h86 u8 usage; member
221 mgr->gpr[(g) - GPR_BASE].usage++; \
229 mgr->gpr[(g) - GPR_BASE].usage++; \
238 mgr->gpr[(g) - GPR_BASE].usage++; \
246 mgr->gpr[(g) - GPR_BASE].usage++; \
Dvoicemgr.c126 voicetable[i] = voice->usage; in emu10k1_voice_alloc()
127 voicetable[i + 1] = voice->usage; in emu10k1_voice_alloc()
133 voicetable[i] = voice->usage; in emu10k1_voice_alloc()
167 if (voice->usage == VOICE_USAGE_FREE) in emu10k1_voice_free()
183 voice->usage = VOICE_USAGE_FREE; in emu10k1_voice_free()
/linux-2.4.37.9/Documentation/BK-usage/
Dbksend9 usage() {
23 [ -z "$REV" ] && usage
D00-INDEX5 Typical usage:
23 Typical usage:
31 Typical usage:
/linux-2.4.37.9/Documentation/usb/
Dhiddev.txt78 containing the HID usage identifier for the status that changed, and
91 This ioctl call returns the HID application usage associated with the
109 from the device. At this point, all the usage structures will contain
118 in order to selectively update the usage structures (in contrast to
124 individual usage values in the report beforesending the report in full
152 Returns the value of a usage in a hiddev_usage_ref structure. The
153 usage to be retrieved can be specified as above, or the user can
157 usage if it is found.
160 Sets the value of a usage in an output report.
/linux-2.4.37.9/Documentation/arm/
DNetwinder8 Port usage
44 Interrupt usage
66 DMA usage
/linux-2.4.37.9/drivers/net/wan/
Dcosa.c118 int usage; /* Usage count; >0 for chrdev, -1 for netdev */ member
164 int usage; /* usage count */ member
540 cosa->usage = 0; in cosa_probe()
623 if (chan->usage != 0) { in cosa_sppp_open()
625 chan->name, chan->usage); in cosa_sppp_open()
632 chan->usage=-1; in cosa_sppp_open()
633 chan->cosa->usage++; in cosa_sppp_open()
640 chan->usage=0; in cosa_sppp_open()
641 chan->cosa->usage--; in cosa_sppp_open()
700 chan->usage=0; in cosa_sppp_close()
[all …]
/linux-2.4.37.9/include/linux/
Dhiddev.h55 __u32 usage; member
219 struct hid_usage *usage, __s32 value);
228 struct hid_usage *usage, in hiddev_hid_event() argument
/linux-2.4.37.9/drivers/scsi/aic7xxx/aicasm/
Daicasm.c76 static void usage(void);
159 usage(); in main()
182 usage(); in main()
249 usage(); in main()
258 usage(); in main()
267 usage(); in main()
308 usage() in usage() function
/linux-2.4.37.9/arch/alpha/mm/
Dnuma.c52 i, cluster->usage, cluster->start_pfn, in show_mem_layout()
87 if (cluster->usage & 3) in setup_memory_node()
101 i, cluster->usage, cluster->start_pfn, in setup_memory_node()
170 if (cluster->usage & 3) in setup_memory_node()
210 if (cluster->usage & 3) in setup_memory_node()
/linux-2.4.37.9/scripts/
Dmkconfigs.c61 void usage (const char *progname) in usage() function
147 usage (progname); in main()
/linux-2.4.37.9/arch/alpha/boot/tools/
Dobjstrip.c40 usage (void) in usage() function
84 usage(); in main()
112 usage(); in main()
/linux-2.4.37.9/Documentation/sound/
DMultiSound775 static void usage(void)
861 X usage();
873 X usage();
884 X usage();
895 X usage();
908 X usage();
921 X usage();
932 X usage();
945 X usage();
975 X usage();
/linux-2.4.37.9/drivers/isdn/
Disdn_common.c692 dev->usage[i] &= ~ISDN_USAGE_DISABLED; in isdn_status_callback()
694 if (USG_NONE(dev->usage[i])) { in isdn_status_callback()
695 dev->usage[i] |= ISDN_USAGE_DISABLED; in isdn_status_callback()
720 dev->usage[i] &= ~ISDN_USAGE_DISABLED; in isdn_status_callback()
931 sprintf(p, "%d ", dev->usage[i]); in isdn_statstr()
1790 isdn_get_free_channel(int usage, int l2_proto, int l3_proto, int pre_dev in isdn_get_free_channel() argument
1808 if (USG_NONE(dev->usage[i]) && in isdn_get_free_channel()
1811 if ((dev->usage[i] & ISDN_USAGE_EXCLUSIVE) && in isdn_get_free_channel()
1816 if (dev->usage[i] & ISDN_USAGE_DISABLED) in isdn_get_free_channel()
1823 dev->usage[i] &= ISDN_USAGE_EXCLUSIVE; in isdn_get_free_channel()
[all …]
/linux-2.4.37.9/drivers/s390/block/
Dxpram.c608 dev->size,dev->device_name, atomic_read(&(dev->usage))); in xpram_open()
610 atomic_inc(&(dev->usage)); in xpram_open()
618 …or device %d (size %dkB, usage: %d)\n",MINOR(inode->i_rdev) ,dev->size,atomic_read(&(dev->usage))); in xpram_release()
625 if (!atomic_dec_return(&(dev->usage))) { in xpram_release()
1125 atomic_set(&(xpram_devices[i].usage),0); in xpram_init()
1142 … xpram_devices[i].size,xpram_devices[i].device_name, atomic_read(&(xpram_devices[i].usage))); in xpram_init()
/linux-2.4.37.9/arch/sparc/boot/
Dpiggyback.c56 void usage(void) in usage() function
79 if (argc != 4) usage(); in main()
/linux-2.4.37.9/arch/x86_64/boot/tools/
Dbuild.c67 void usage(void) in usage() function
85 usage(); in main()
/linux-2.4.37.9/arch/i386/boot/tools/
Dbuild.c67 void usage(void) in usage() function
85 usage(); in main()
/linux-2.4.37.9/Documentation/parisc/
D00-INDEX10 - current/planned usage of registers

123456