Searched refs:keymask (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/drivers/input/keyboard/ ! |
D | adp5520-keys.c | 24 unsigned short keymask, int value) in adp5520_keys_report_event() argument 29 if (keymask & (1 << i)) in adp5520_keys_report_event() 40 unsigned short keymask; in adp5520_keys_notifier() local 48 keymask = (reg_val_hi << 8) | reg_val_lo; in adp5520_keys_notifier() 52 keymask |= (reg_val_hi << 8) | reg_val_lo; in adp5520_keys_notifier() 53 adp5520_keys_report_event(dev, keymask, 1); in adp5520_keys_notifier() 60 keymask = (reg_val_hi << 8) | reg_val_lo; in adp5520_keys_notifier() 64 keymask |= (reg_val_hi << 8) | reg_val_lo; in adp5520_keys_notifier() 65 adp5520_keys_report_event(dev, keymask, 0); in adp5520_keys_notifier()
|
/linux-6.6.21/drivers/net/ethernet/marvell/prestera/ ! |
D | prestera_acl.c | 63 void *keymask; member 73 __be32 keymask[__PRESTERA_ACL_RULE_MATCH_TYPE_MAX]; member 189 void *keymask) in prestera_acl_ruleset_keymask_set() argument 191 ruleset->keymask = kmemdup(keymask, ACL_KEYMASK_SIZE, GFP_KERNEL); in prestera_acl_ruleset_keymask_set() 192 if (!ruleset->keymask) in prestera_acl_ruleset_keymask_set() 214 ruleset->keymask, &vtcam_id); in prestera_acl_ruleset_offload() 264 kfree(ruleset->keymask); in prestera_acl_ruleset_destroy() 748 void *keymask, u32 *vtcam_id) in __prestera_acl_vtcam_id_try_fit() argument 757 if (!keymask && !vtcam->is_keymask_set) in __prestera_acl_vtcam_id_try_fit() 760 if (!(keymask && vtcam->is_keymask_set)) in __prestera_acl_vtcam_id_try_fit() [all …]
|
D | prestera_acl.h | 189 void *keymask); 205 void *keymask, u32 *vtcam_id);
|
D | prestera_hw.c | 411 __le32 keymask[__PRESTERA_ACL_RULE_MATCH_TYPE_MAX]; member 425 __le32 keymask[__PRESTERA_ACL_RULE_MATCH_TYPE_MAX]; member 1307 u8 lookup, const u32 *keymask, u32 *vtcam_id, in prestera_hw_vtcam_create() argument 1317 if (keymask) in prestera_hw_vtcam_create() 1318 memcpy(req.keymask, keymask, sizeof(req.keymask)); in prestera_hw_vtcam_create() 1320 memset(req.keymask, 0, sizeof(req.keymask)); in prestera_hw_vtcam_create() 1370 u32 vtcam_id, u32 prio, void *key, void *keymask, in prestera_hw_vtcam_rule_add() argument 1394 memcpy(req->keymask, keymask, sizeof(req->keymask)); in prestera_hw_vtcam_rule_add()
|
D | prestera_hw.h | 217 u8 lookup, const u32 *keymask, u32 *vtcam_id, 220 u32 prio, void *key, void *keymask,
|
/linux-6.6.21/net/sched/ ! |
D | cls_flow.c | 48 u32 keymask; member 302 u32 keymask; in flow_classify() local 314 keymask = f->keymask; in flow_classify() 315 if (keymask & FLOW_KEYS_NEEDED) in flow_classify() 319 key = ffs(keymask) - 1; in flow_classify() 320 keymask &= ~(1 << key); in flow_classify() 402 u32 keymask = 0; in flow_change() local 421 keymask = nla_get_u32(tb[TCA_FLOW_KEYS]); in flow_change() 423 nkeys = hweight32(keymask); in flow_change() 427 if (fls(keymask) - 1 > FLOW_KEY_MAX) in flow_change() [all …]
|
/linux-6.6.21/drivers/platform/x86/ ! |
D | fujitsu-tablet.c | 272 unsigned long keymask, changed; in fujitsu_interrupt() local 282 keymask = fujitsu_read_register(0xde); in fujitsu_interrupt() 283 keymask |= fujitsu_read_register(0xdf) << 8; in fujitsu_interrupt() 284 keymask ^= 0xffff; in fujitsu_interrupt() 286 changed = keymask ^ fujitsu.prev_keymask; in fujitsu_interrupt() 288 fujitsu.prev_keymask = keymask; in fujitsu_interrupt() 292 pressed = keymask & changed & BIT(i); in fujitsu_interrupt()
|
/linux-6.6.21/fs/unicode/ ! |
D | mkutf8data.c | 374 unsigned int keymask; member 443 node->keymask, node->keybits); in tree_walk() 503 node->keymask = 0; in alloc_node() 588 parent->keymask = 0; in insert() 591 parent->keymask |= (1 << node->bitnum); in insert() 597 parent->keymask = 0; in insert() 600 parent->keymask |= (1 << node->bitnum); in insert() 617 if (node->keymask == 0) { in insert() 618 parent->keymask = 0; in insert() 621 parent->keymask = 0; in insert() [all …]
|