Searched defs:key (Results 276 - 300 of 422) sorted by relevance

<<11121314151617

/drivers/infiniband/hw/ipath/
H A Dipath_file_ops.c591 * ipath_set_part_key - set a partition key
593 * @key: the key
597 * the same key, so we reference count them, and clean up at exit. All 4
606 static int ipath_set_part_key(struct ipath_portdata *pd, u16 key) argument
610 u16 lkey = key & 0x7FFF;
614 /* nothing to do; this key always valid */
621 pd->port_port, key, dd->ipath_pkeys[0],
628 ipath_cdbg(PROC, "p%u tries to set key 0, not allowed\n",
640 key |
[all...]
/drivers/infiniband/hw/ocrdma/
H A Docrdma.h400 } key; member in struct:ocrdma_mm
/drivers/infiniband/hw/qib/
H A Dqib_file_ops.c546 * qib_set_part_key - set a partition key
548 * @key: the key
552 * the same key, so we reference count them, and clean up at exit. All 4
561 static int qib_set_part_key(struct qib_ctxtdata *rcd, u16 key) argument
565 u16 lkey = key & 0x7FFF;
569 /* nothing to do; this key always valid */
585 key |= 0x8000;
590 if (rcd->pkeys[i] == key) {
604 if (ppd->pkeys[i] == key) {
[all...]
H A Dqib_mad.h113 __be32 key; member in struct:ib_mad_notice_attr::__anon1651::__anon1657
/drivers/infiniband/ulp/isert/
H A Dib_isert.c2551 u8 key; local
2587 /* Bump the key */
2588 key = (u8)(mr->rkey & 0x000000FF);
2589 ib_update_fast_reg_key(mr, ++key);
2694 u32 key; local
2709 /* Bump the key */
2710 key = (u8)(pi_ctx->sig_mr->rkey & 0x000000FF);
2711 ib_update_fast_reg_key(pi_ctx->sig_mr, ++key);
/drivers/input/keyboard/
H A Dadp5589-keys.c584 int key, int key_val)
592 key & KEY_EV_PRESSED);
603 int key = adp5589_read(kpad->client, ADP5589_5_FIFO_1 + i); local
604 int key_val = key & KEY_EV_MASK;
608 adp5589_report_switches(kpad, key, key_val);
612 key & KEY_EV_PRESSED);
641 static int adp5589_get_evcode(struct adp5589_kpad *kpad, unsigned short key) argument
646 if (key == kpad->keycode[i])
649 dev_err(&kpad->client->dev, "RESET/UNLOCK key not in keycode map\n");
583 adp5589_report_switches(struct adp5589_kpad *kpad, int key, int key_val) argument
/drivers/input/misc/
H A Dadxl34x.c271 static void adxl34x_report_key_single(struct input_dev *input, int key) argument
273 input_report_key(input, key, true);
275 input_report_key(input, key, false);
/drivers/isdn/hardware/eicon/
H A Ddebug.c2048 static int diva_dbg_cmp_key(const char *ref, const char *key) { argument
2049 while (*key && (*ref++ == *key++));
2050 return (!*key && !*ref);
/drivers/md/bcache/
H A Dbcache.h68 * At a high level, the btree is just an index of key -> ptr tuples.
74 * The key itself is an inode:offset pair. The inode number corresponds to a
93 * BTREE_REPLACE is really cmpxchg(); it inserts a key into the btree iff it is
94 * overwriting a key that matches another given key. This is used for inserting
100 * gen) or by inserting a key with 0 pointers - which will overwrite anything
224 BKEY_PADDED(key);
687 struct bkey key; member in union:bbio::__anon1966
702 ((unsigned) (KEY_SIZE(&b->key) >> (b)->c->block_bits))
771 /* Btree key macro
[all...]
/drivers/md/
H A Ddm-cache-policy-mq.c1138 const char *key, const char *value)
1146 if (!strcasecmp(key, "random_threshold")) {
1149 } else if (!strcasecmp(key, "sequential_threshold")) {
1152 } else if (!strcasecmp(key, "discard_promote_adjustment"))
1155 else if (!strcasecmp(key, "read_promote_adjustment"))
1158 else if (!strcasecmp(key, "write_promote_adjustment"))
1137 mq_set_config_value(struct dm_cache_policy *p, const char *key, const char *value) argument
H A Ddm-crypt.c169 unsigned int key_parts; /* independent parts in key buffer */
171 u8 key[0]; member in struct:crypt_config
201 * encrypted with the bulk cipher using a salt as key. The salt
202 * should be derived from the bulk cipher's key via hashing.
222 * (it uses 65 keys, last key is used as IV seed)
228 * with an IV derived from initial key and the sector number.
230 * is calculated from initial key, sector number and mixed using CRC32.
265 sg_init_one(&sg, cc->key, cc->key_size);
283 /* Wipe salt and reset key derived from volume key */
1361 crypt_decode_key(u8 *key, char *hex, unsigned int size) argument
1440 crypt_set_key(struct crypt_config *cc, char *key) argument
1514 crypt_ctr_cipher(struct dm_target *ti, char *cipher_in, char *key) argument
[all...]
H A Ddm-era-target.c668 uint64_t key = d->era; local
671 &key, &md->writeset_tree_root);
721 uint64_t key; local
725 md->writeset_tree_root, &key);
729 d->era = key;
732 md->writeset_tree_root, &key, &disk);
744 d->value = cpu_to_le32(key);
H A Ddm-thin-metadata.c741 uint64_t key; local
747 key = td->id;
756 &key, &details, &pmd->details_root);
908 uint64_t key = dev; local
931 &key, &details_le);
975 uint64_t key = dev; local
981 &key, &details_le);
997 r = dm_btree_insert(&pmd->tl_info, pmd->root, &key, &value, &pmd->root);
1005 dm_btree_remove(&pmd->tl_info, pmd->root, &key, &pmd->root);
1052 uint64_t key local
1120 uint64_t key = dev; local
[all...]
/drivers/media/pci/bt8xx/
H A Dbttv-cards.c4735 int key = input % 4; local
4739 btv->c.nr, input, matrix, key);
4743 ((matrix == 3) ? (key | key << 2) : 0x00), 1);
4745 ((matrix == 0) ? (key | key << 2) : 0x00), 1);
4747 ((matrix == 1) ? (key | key << 2) : 0x00), 1);
4749 ((matrix == 2) ? (key | key <<
[all...]
/drivers/media/usb/dvb-usb/
H A Ddib0700_devices.c523 u8 key[4]; local
538 i = dib0700_ctrl_rd(d, rc_request, 2, key, 4);
545 if (key[0] == 0 && key[1] == 0 && key[2] == 0 && key[3] == 0)
548 /* info("%d: %2X %2X %2X %2X",dvb_usb_dib0700_ir_proto,(int)key[3-2],(int)key[3-3],(int)key[3-1],(int)key[
[all...]
H A Ddw2102.c1481 u8 key[2]; local
1485 .buf = key,
1492 __func__, key[0], key[1]);
1493 rc_keydown(d->rc_dev, RC_TYPE_UNKNOWN, key[0], 0);
1502 u8 key[2]; local
1506 .buf = key,
1513 __func__, key[0], key[1]);
1514 rc_keydown(d->rc_dev, RC_TYPE_UNKNOWN, key[
1523 u8 key[2]; local
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c1709 struct lock_class_key *key, const char *name)
1713 lockdep_set_class_and_name(hdl->lock, key, name);
1707 v4l2_ctrl_handler_init_class(struct v4l2_ctrl_handler *hdl, unsigned nr_of_controls_hint, struct lock_class_key *key, const char *name) argument
/drivers/misc/altera-stapl/
H A Daltera.c144 static void altera_export_int(char *key, s32 value) argument
146 dprintk("Export: key = \"%s\", value = %d\n", key, value);
152 static void altera_export_bool_array(char *key, u8 *data, s32 count) argument
159 dprintk("Export: key = \"%s\", %d bits, value = HEX\n",
160 key, count);
213 dprintk("Export: key = \"%s\", %d bits, value = HEX %s\n",
214 key, count, string);
2130 s32 *offset, char *key, char *value, int length)
2132 * Gets key an
2129 altera_get_note(u8 *p, s32 program_size, s32 *offset, char *key, char *value, int length) argument
2422 char *key = NULL; local
[all...]
/drivers/misc/sgi-xp/
H A Dxpc_sn2.c1740 notify->key);
2169 void *key)
2211 notify->key = key;
2167 xpc_send_payload_sn2(struct xpc_channel *ch, u32 flags, void *payload, u16 payload_size, u8 notify_type, xpc_notify_func func, void *key) argument
/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2845 static int igb_get_rxfh(struct net_device *netdev, u32 *indir, u8 *key) argument
2892 const u8 *key)
2891 igb_set_rxfh(struct net_device *netdev, const u32 *indir, const u8 *key) argument
/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_hw.c867 static const u64 key[] = { local
895 for (i = 0; i < ARRAY_SIZE(key); i++)
896 req.words[i+1] = cpu_to_le64(key[i]);
/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_83xx_init.c1305 void qlcnic_83xx_idc_request_reset(struct qlcnic_adapter *adapter, u32 key) argument
1327 if (key == QLCNIC_FORCE_FW_RESET) {
1331 } else if (key == QLCNIC_FORCE_FW_DUMP_KEY) {
/drivers/net/ethernet/toshiba/
H A Dps3_gelic_wireless.h75 u16 auth_method; /* shared key or open */
90 u8 key[4][16]; member in struct:gelic_eurus_wep_cfg
112 GELIC_EURUS_WPA_PSK_BIN = 1, /* 32 bytes binary key */
121 u16 psk_type; /* psk key encoding type */
122 u8 psk[GELIC_WL_EURUS_PSK_MAX_LEN]; /* psk key; hex or passphrase */
277 u8 key[GELIC_WEP_KEYS][IW_ENCODING_TOKEN_MAX]; member in struct:gelic_wl_info
/drivers/net/wireless/
H A Dat76c50x-usb.c984 "encr_level %u key %d", wiphy_name(priv->hw->wiphy),
995 at76_dbg(DBG_MIB, "%s: MIB MAC_WEP: key %d: %*phD",
1360 "%s param: ssid %.*s (%*phD) mode %s ch %d wep %s key %d "
2136 struct ieee80211_key_conf *key)
2142 at76_dbg(DBG_MAC80211, "%s(): cmd %d key->cipher %d key->keyidx %d "
2143 "key->keylen %d",
2144 __func__, cmd, key->cipher, key->keyidx, key
2134 at76_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dmain.c714 * Reset key cache to sane defaults (all entries cleared) instead of
1511 int key; local
1519 key = ath_key_config(common, vif, sta, &ps_key);
1520 if (key > 0) {
1521 an->ps_key = key;
1522 an->key_idx[0] = key;
1636 struct ieee80211_key_conf *key)
1648 (key->cipher == WLAN_CIPHER_SUITE_TKIP ||
1649 key->cipher == WLAN_CIPHER_SUITE_CCMP) &&
1650 !(key
1632 ath9k_set_key(struct ieee80211_hw *hw, enum set_key_cmd cmd, struct ieee80211_vif *vif, struct ieee80211_sta *sta, struct ieee80211_key_conf *key) argument
[all...]

Completed in 1871 milliseconds

<<11121314151617