Home
last modified time | relevance | path

Searched refs:hats (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/security/apparmor/
Dprocattr.c118 const char *hats[16]; /* current hard limit on # of names */ in aa_setprocattr_changehat() local
140 hats[count] = hat; in aa_setprocattr_changehat()
148 return aa_change_hat(hats, count, token, test); in aa_setprocattr_changehat()
Ddomain.c608 int aa_change_hat(const char *hats[], int count, u64 token, bool permtest) in aa_change_hat() argument
650 hat = aa_find_child(root, hats[i]); in aa_change_hat()
671 name = new_compound_name(root->base.hname, hats[0]); in aa_change_hat()
/linux-4.1.27/drivers/input/joystick/
Dadi.c118 char hats; member
241 for (i = 0; i < adi->hats; i++) { in adi_decode()
344 if ((t = adi_get_bits(adi, 4)) & ADI_FLAG_HAT) adi->hats++; in adi_id_decode()
357 if (adi_get_bits(adi, 6) != 8 && adi->hats) { in adi_id_decode()
364 adi->hats += adi_get_bits(adi, 4); in adi_id_decode()
379 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
435 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
451 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
Dtmdc.c96 char hats; member
339 for (i = 0; i < model->hats && i < TMDC_ABS_HAT; i++) in tmdc_setup_port()
DKconfig24 with rudders, additional hats and buttons compatible with CH
/linux-4.1.27/security/apparmor/include/
Ddomain.h32 int aa_change_hat(const char *hats[], int count, u64 token, bool permtest);
/linux-4.1.27/Documentation/input/
Djoystick.txt169 It also supports extensions like additional hats and buttons compatible
181 For other joystick types (more/less axes, hats, and buttons) support
201 fullchf | CH Flightstick compatible with two hats and 6 buttons