Home
last modified time | relevance | path

Searched refs:rsn (Results 1 – 14 of 14) sorted by relevance

/drivers/infiniband/hw/mlx5/
Dqpc.c16 mlx5_get_rsc(struct mlx5_qp_table *table, u32 rsn) in mlx5_get_rsc() argument
23 common = radix_tree_lookup(&table->tree, rsn); in mlx5_get_rsc()
100 u32 rsn; in rsc_event_notifier() local
105 rsn = be32_to_cpu(eqe->data.dct.dctn) & 0xffffff; in rsc_event_notifier()
106 rsn |= (MLX5_RES_DCT << MLX5_USER_INDEX_LEN); in rsc_event_notifier()
117 rsn = be32_to_cpu(eqe->data.qp_srq.qp_srq_n) & 0xffffff; in rsc_event_notifier()
118 rsn |= (eqe->data.qp_srq.type << MLX5_USER_INDEX_LEN); in rsc_event_notifier()
125 common = mlx5_get_rsc(table, rsn); in rsc_event_notifier()
129 if (!is_event_type_allowed((rsn >> MLX5_USER_INDEX_LEN), event_type)) in rsc_event_notifier()
637 u32 rsn = res_num | (res_type << MLX5_USER_INDEX_LEN); in mlx5_core_res_hold() local
[all …]
Dcq.c1056 static int is_equal_rsn(struct mlx5_cqe64 *cqe64, u32 rsn) in is_equal_rsn() argument
1058 return rsn == (ntohl(cqe64->sop_drop_qpn) & 0xffffff); in is_equal_rsn()
1061 void __mlx5_ib_cq_clean(struct mlx5_ib_cq *cq, u32 rsn, struct mlx5_ib_srq *srq) in __mlx5_ib_cq_clean() argument
1088 if (is_equal_rsn(cqe64, rsn)) { in __mlx5_ib_cq_clean()
/drivers/md/
Ddm-verity-fec.c38 mod = do_div(offset, v->fec->rsn); in fec_interleave()
54 return decode_rs8(fio->rs, data, par, v->fec->rsn, NULL, neras, in fec_decode_rs8()
109 return &fio->bufs[i][j * v->fec->rsn]; in fec_buffer_rs_block()
227 for (i = 0; i < v->fec->rsn; i++) { in fec_read_bufs()
228 ileaved = fec_interleave(v, rsb * v->fec->rsn + i); in fec_read_bufs()
354 memset(fio->bufs[n], 0, v->fec->rsn << DM_VERITY_FEC_BUF_RS_BITS); in fec_init_bufs()
718 f->rsn = DM_VERITY_FEC_RSM - f->roots; in verity_fec_ctr()
726 if (sector_div(f->rounds, f->rsn)) in verity_fec_ctr()
792 f->rsn << DM_VERITY_FEC_BUF_RS_BITS, in verity_fec_ctr()
Ddm-verity-fec.h45 unsigned char rsn; /* N of RS(M, N) */ member
/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c399 int rsn; in gelic_wl_synthesize_ie() local
405 rsn = 0; in gelic_wl_synthesize_ie()
408 rsn = 1; in gelic_wl_synthesize_ie()
423 if (rsn) { in gelic_wl_synthesize_ie()
434 if (rsn) in gelic_wl_synthesize_ie()
440 if (rsn) in gelic_wl_synthesize_ie()
449 if (!rsn) { in gelic_wl_synthesize_ie()
507 struct ie_item rsn; member
540 ie_info->rsn.data = pos - 2; in gelic_wl_parse_ie()
542 ie_info->rsn.len = item_len + 2; in gelic_wl_parse_ie()
[all …]
/drivers/tty/
Dmoxa.c734 char rsn[64]; in moxa_load_fw() local
751 strcpy(rsn, "too short (even header won't fit)"); in moxa_load_fw()
755 sprintf(rsn, "bad magic: %.8x", le32_to_cpu(hdr->magic)); in moxa_load_fw()
759 sprintf(rsn, "not for linux, type is %u", hdr->type); in moxa_load_fw()
763 sprintf(rsn, "not for this card, model is %u", hdr->model); in moxa_load_fw()
776 sprintf(rsn, "too few entries in fw file"); in moxa_load_fw()
783 sprintf(rsn, "bad length: %u (should be %u)", (u32)fw->size, in moxa_load_fw()
791 strcpy(rsn, "read above"); in moxa_load_fw()
816 printk(KERN_ERR "firmware failed to load, reason: %s\n", rsn); in moxa_load_fw()
/drivers/net/ethernet/mellanox/mlx5/core/
Ddebugfs.c405 int rsn, char **field, int nfile, void *data) in add_res_tree() argument
418 sprintf(resn, "0x%x", rsn); in add_res_tree()
/drivers/net/wireless/intersil/hostap/
Dhostap_80211_rx.c398 u8 *ssid = NULL, *wpa = NULL, *rsn = NULL; in hostap_rx_sta_beacon() local
426 rsn = pos; in hostap_rx_sta_beacon()
458 if (rsn) { in hostap_rx_sta_beacon()
459 memcpy(bss->rsn_ie, rsn, rsn_len); in hostap_rx_sta_beacon()
/drivers/nvme/target/
Dfc.c138 atomic_t rsn; member
821 atomic_set(&queue->rsn, 1); in nvmet_fc_alloc_target_queue()
2142 u32 rsn, rspcnt, xfr_length; in nvmet_fc_prep_fcp_rsp() local
2186 rsn = atomic_inc_return(&fod->queue->rsn); in nvmet_fc_prep_fcp_rsp()
2187 ersp->rsn = cpu_to_be32(rsn); in nvmet_fc_prep_fcp_rsp()
/drivers/staging/ks7010/
Dks_wlan_net.c1149 char *current_ev, struct rsn_ie *rsn, in ks_wlan_add_leader_event() argument
1163 pbuf += sprintf(pbuf, "%02x", rsn->id); in ks_wlan_add_leader_event()
1164 pbuf += sprintf(pbuf, "%02x", rsn->size); in ks_wlan_add_leader_event()
1167 for (i = 0; i < rsn->size; i++) in ks_wlan_add_leader_event()
1168 pbuf += sprintf(pbuf, "%02x", rsn->body[i]); in ks_wlan_add_leader_event()
1170 iwe->u.data.length += rsn->size * 2; in ks_wlan_add_leader_event()
Dks_hostif.c134 size = (ap_info->rsn.size <= RSN_IE_BODY_MAX) ? in get_current_ap()
135 ap_info->rsn.size : RSN_IE_BODY_MAX; in get_current_ap()
140 memcpy(ap->rsn_ie.body, ap_info->rsn.body, size); in get_current_ap()
145 memcpy(ap->wpa_ie.body, ap_info->rsn.body, size); in get_current_ap()
182 ap_info->rsn_mode, ap_info->rsn.size, in get_current_ap()
Dks_hostif.h341 } __packed rsn; member
/drivers/infiniband/hw/hfi1/
Dhfi.h75 #define HFI1_ODR_MASK(rsn) ((rsn) & OPA_PI_MASK_OFFLINE_REASON) argument
/drivers/scsi/lpfc/
Dlpfc_nvme.c1015 ep->rsn = wcqe->parameter; in lpfc_nvme_io_cmd_wqe_cmpl()