Home
last modified time | relevance | path

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

/linux/security/apparmor/
H A Dprocattr.c105 const char *hats[16]; /* current hard limit on # of names */ in aa_setprocattr_changehat() local
127 hats[count] = hat; in aa_setprocattr_changehat()
136 return aa_change_hat(hats, count, token, flags); in aa_setprocattr_changehat()
H A Ddomain.c1051 struct aa_label *label, const char *hats[], in build_change_hat()
1062 AA_BUG(!hats); in change_hat() argument
1070 name = hats[i]; in change_hat()
1100 /* no hats that match, find appropriate error in change_hat()
1114 info = "no hats defined"; in change_hat()
1123 * related to missing hats in change_hat()
1151 * @hats: vector of hat names to try changing into (MAYBE NULL if @count == 0) in change_hat()
1152 * @count: number of hat names in @hats in change_hat()
1158 * Change to the first profile specified in @hats that exists, and store in change_hat()
1166 int aa_change_hat(const char *hats[], in
1177 aa_change_hat(const char * hats[],int count,u64 token,int flags) aa_change_hat() argument
[all...]
/linux/drivers/input/joystick/
H A Dadi.c99 char hats; member
222 for (i = 0; i < adi->hats; i++) { in adi_decode()
325 if ((t = adi_get_bits(adi, 4)) & ADI_FLAG_HAT) adi->hats++; in adi_id_decode()
338 if (adi_get_bits(adi, 6) != 8 && adi->hats) { in adi_id_decode()
345 adi->hats += adi_get_bits(adi, 4); in adi_id_decode()
360 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
416 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
432 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
H A Dtmdc.c77 char hats; member
320 for (i = 0; i < model->hats && i < TMDC_ABS_HAT; i++) in tmdc_setup_port()
H A DKconfig26 with rudders, additional hats and buttons compatible with CH
/linux/security/apparmor/include/
H A Ddomain.h30 int aa_change_hat(const char *hats[], int count, u64 token, int flags);
/linux/Documentation/input/joydev/
H A Djoystick.rst149 It also supports extensions like additional hats and buttons compatible
161 For other joystick types (more/less axes, hats, and buttons) support
182 fullchf CH Flightstick compatible with two hats and 6 buttons