| /drivers/mtd/ |
| A D | mtdoops.c | 123 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_erase() 133 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_erase() 151 cxt->nextpage, cxt->nextcount); in mtdoops_erase() 176 if (cxt->nextpage >= cxt->oops_pages) in mtdoops_inc_counter() 182 if (page_is_used(cxt, cxt->nextpage)) { in mtdoops_inc_counter() 184 cxt->nextpage, cxt->nextcount, in mtdoops_inc_counter() 195 cxt->nextpage, cxt->nextcount); in mtdoops_inc_counter() 229 mark_page_used(cxt, cxt->nextpage); in mtdoops_write() 289 cxt->nextpage = cxt->oops_pages - 1; in find_next_position() 338 if (mtd->index != cxt->mtd_index || cxt->mtd_index < 0) in mtdoops_notify_add() [all …]
|
| A D | mtdpstore.c | 43 set_bit(blknum, cxt->badmap); in mtdpstore_block_isbad() 242 u32 zonecnt = (u32)div_u64(cxt->mtd->size, cxt->info.kmsg_size); in mtdpstore_security() 243 u32 blkcnt = (u32)div_u64(cxt->mtd->size, cxt->mtd->erasesize); in mtdpstore_security() 389 cxt->index = mtd->index; in mtdpstore_notify_add() 391 if (mtd->index != cxt->index || cxt->index < 0) in mtdpstore_notify_add() 426 if (!cxt->rmmap || !cxt->usedmap || !cxt->badmap) in mtdpstore_notify_add() 443 cxt->mtd = mtd; in mtdpstore_notify_add() 527 if (mtd->index != cxt->index || cxt->index < 0) in mtdpstore_notify_remove() 533 cxt->mtd = NULL; in mtdpstore_notify_remove() 534 cxt->index = -1; in mtdpstore_notify_remove() [all …]
|
| /drivers/scsi/qedi/ |
| A D | qedi_fw_api.c | 490 struct iscsi_task_context *cxt; in init_rw_iscsi_task() local 501 cxt = task_params->context; in init_rw_iscsi_task() 618 struct iscsi_task_context *cxt; in init_initiator_login_request_task() local 620 cxt = task_params->context; in init_initiator_login_request_task() 627 &cxt->ustorm_ag_context, in init_initiator_login_request_task() 662 cxt = task_params->context; in init_initiator_nop_out_task() 682 &cxt->ustorm_ag_context, in init_initiator_nop_out_task() 708 cxt = task_params->context; in init_initiator_logout_request_task() 725 &cxt->ustorm_ag_context, in init_initiator_logout_request_task() 763 cxt = task_params->context; in init_initiator_text_request_task() [all …]
|
| /drivers/net/ethernet/qlogic/qed/ |
| A D | qed_ll2.h | 131 int qed_ll2_acquire_connection(void *cxt, struct qed_ll2_acquire_data *data); 142 int qed_ll2_establish_connection(void *cxt, u8 connection_handle); 157 int qed_ll2_post_rx_buffer(void *cxt, 173 int qed_ll2_prepare_tx_packet(void *cxt, 188 void qed_ll2_release_connection(void *cxt, u8 connection_handle); 203 int qed_ll2_set_fragment_of_tx_packet(void *cxt, 216 int qed_ll2_terminate_connection(void *cxt, u8 connection_handle); 228 int qed_ll2_get_stats(void *cxt,
|
| A D | qed_ll2.c | 98 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_tx_packet() 167 struct qed_hwfn *p_hwfn = cxt; in qed_ll2b_complete_rx_packet() 1380 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_acquire_connection() 1566 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_establish_connection() 1779 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_post_rx_buffer() 2001 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_prepare_tx_packet() 2054 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_set_fragment_of_tx_packet() 2091 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_terminate_connection() 2174 struct qed_hwfn *p_hwfn = cxt; in qed_ll2_release_connection() 2321 struct qed_hwfn *p_hwfn = cxt; in __qed_ll2_get_stats() [all …]
|
| A D | qed_iwarp.c | 2309 qed_iwarp_ll2_comp_mpa_pkt(void *cxt, struct qed_ll2_comp_rx_data *data) in qed_iwarp_ll2_comp_mpa_pkt() argument 2313 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_comp_mpa_pkt() 2361 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_comp_syn_pkt() 2467 static void qed_iwarp_ll2_rel_rx_pkt(void *cxt, u8 connection_handle, in qed_iwarp_ll2_rel_rx_pkt() argument 2472 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_rel_rx_pkt() 2479 static void qed_iwarp_ll2_comp_tx_pkt(void *cxt, u8 connection_handle, in qed_iwarp_ll2_comp_tx_pkt() argument 2485 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_comp_tx_pkt() 2505 static void qed_iwarp_ll2_rel_tx_pkt(void *cxt, u8 connection_handle, in qed_iwarp_ll2_rel_tx_pkt() argument 2510 struct qed_hwfn *p_hwfn = cxt; in qed_iwarp_ll2_rel_tx_pkt() 2534 qed_iwarp_ll2_slowpath(void *cxt, in qed_iwarp_ll2_slowpath() argument [all …]
|
| /drivers/net/ethernet/broadcom/bnx2x/ |
| A D | bnx2x_sriov.c | 189 init_p->cxts[0] = q->cxt; in bnx2x_vfop_qctor_prep() 307 if (bnx2x_vfq(vf, qid, cxt)) { in bnx2x_vf_queue_destroy() 1338 struct hw_dma *cxt = &bp->vfdb->context[i]; in bnx2x_iov_free_mem() local 1339 BNX2X_PCI_FREE(cxt->addr, cxt->mapping, cxt->size); in bnx2x_iov_free_mem() 1371 if (cxt->size) { in bnx2x_iov_alloc_mem() 1372 cxt->addr = BNX2X_PCI_ALLOC(&cxt->mapping, cxt->size); in bnx2x_iov_alloc_mem() 1373 if (!cxt->addr) in bnx2x_iov_alloc_mem() 1376 cxt->addr = NULL; in bnx2x_iov_alloc_mem() 1377 cxt->mapping = 0; in bnx2x_iov_alloc_mem() 1379 tot_size -= cxt->size; in bnx2x_iov_alloc_mem() [all …]
|
| A D | bnx2x_sriov.h | 73 struct eth_context *cxt; member
|
| A D | bnx2x_cmn.c | 5072 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt, in bnx2x_set_ctx_validation() argument 5075 if (!cxt) { in bnx2x_set_ctx_validation() 5076 BNX2X_ERR("bad context pointer %p\n", cxt); in bnx2x_set_ctx_validation() 5081 cxt->ustorm_ag_context.cdu_usage = in bnx2x_set_ctx_validation() 5085 cxt->xstorm_ag_context.cdu_reserved = in bnx2x_set_ctx_validation()
|
| A D | bnx2x_cmn.h | 1270 void bnx2x_set_ctx_validation(struct bnx2x *bp, struct eth_context *cxt,
|
| /drivers/infiniband/hw/qedr/ |
| A D | qedr_roce_cm.c | 67 static void qedr_ll2_complete_tx_packet(void *cxt, u8 connection_handle, in qedr_ll2_complete_tx_packet() argument 73 struct qedr_dev *dev = (struct qedr_dev *)cxt; in qedr_ll2_complete_tx_packet() 96 static void qedr_ll2_complete_rx_packet(void *cxt, in qedr_ll2_complete_rx_packet() argument 99 struct qedr_dev *dev = (struct qedr_dev *)cxt; in qedr_ll2_complete_rx_packet() 125 static void qedr_ll2_release_rx_packet(void *cxt, u8 connection_handle, in qedr_ll2_release_rx_packet() argument
|
| /drivers/staging/media/meson/vdec/ |
| A D | codec_vp9.c | 1492 int cxt; in adapt_coef_probs_cxt() local 1494 for (cxt = 0; cxt < cxt_num; cxt++) { in adapt_coef_probs_cxt()
|