Searched refs:keymask (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flower.c | 80 m_entry.keymask.u64.key = port->hw_id | ((u64)port->dev_id << 32); in prestera_flower_parse_meta() 81 m_entry.keymask.u64.mask = ~(u64)0; in prestera_flower_parse_meta() 143 m_entry.keymask.u16.key = n_proto_key; in prestera_flower_parse() 144 m_entry.keymask.u16.mask = n_proto_mask; in prestera_flower_parse() 152 m_entry.keymask.u8.key = match.key->ip_proto; in prestera_flower_parse() 153 m_entry.keymask.u8.mask = match.mask->ip_proto; in prestera_flower_parse() 169 memcpy(&m_entry.keymask.mac.key, in prestera_flower_parse() 171 memcpy(&m_entry.keymask.mac.mask, in prestera_flower_parse() 180 memcpy(&m_entry.keymask.mac.key, in prestera_flower_parse() 182 memcpy(&m_entry.keymask.mac.mask, in prestera_flower_parse() [all …]
|
D | prestera_hw.c | 345 } __packed keymask; member 927 match[i].keymask.u16.key = m_entry->keymask.u16.key; in prestera_hw_acl_matches_put() 928 match[i].keymask.u16.mask = m_entry->keymask.u16.mask; in prestera_hw_acl_matches_put() 933 match[i].keymask.u8.key = m_entry->keymask.u8.key; in prestera_hw_acl_matches_put() 934 match[i].keymask.u8.mask = m_entry->keymask.u8.mask; in prestera_hw_acl_matches_put() 938 memcpy(match[i].keymask.mac.key, in prestera_hw_acl_matches_put() 939 m_entry->keymask.mac.key, in prestera_hw_acl_matches_put() 940 sizeof(match[i].keymask.mac.key)); in prestera_hw_acl_matches_put() 941 memcpy(match[i].keymask.mac.mask, in prestera_hw_acl_matches_put() 942 m_entry->keymask.mac.mask, in prestera_hw_acl_matches_put() [all …]
|
D | prestera_acl.h | 79 } keymask; member
|
/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()
|
/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()
|