/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 260 static inline unsigned int fl_cap(const struct sge_fl *fl) in fl_cap() argument 262 return fl->size - FL_PER_EQ_UNIT; in fl_cap() 273 static inline bool fl_starving(const struct sge_fl *fl) in fl_starving() argument 275 return fl->avail - fl->pend_cred <= FL_STARVE_THRES; in fl_starving() 479 static void free_rx_bufs(struct adapter *adapter, struct sge_fl *fl, int n) in free_rx_bufs() argument 482 struct rx_sw_desc *sdesc = &fl->sdesc[fl->cidx]; in free_rx_bufs() 489 if (++fl->cidx == fl->size) in free_rx_bufs() 490 fl->cidx = 0; in free_rx_bufs() 491 fl->avail--; in free_rx_bufs() 508 static void unmap_rx_buf(struct adapter *adapter, struct sge_fl *fl) in unmap_rx_buf() argument [all …]
|
D | cxgb4vf_main.c | 543 &rxq->fl, t4vf_ethrx_handler); in setup_sge_queues() 584 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base; in setup_sge_queues() 585 EQ_MAP(s, rxq->fl.abs_id) = &rxq->fl; in setup_sge_queues() 1272 rp->rx_pending = s->ethrxq[pi->first_qset].fl.size - MIN_FL_RESID; in cxgb4vf_get_ringparam() 1305 s->ethrxq[qs].fl.size = rp->rx_pending + MIN_FL_RESID; in cxgb4vf_set_ringparam() 1660 R("FL ID:", fl.abs_id); in sge_qinfo_show() 1661 R("FL size:", fl.size - MIN_FL_RESID); in sge_qinfo_show() 1662 R("FL avail:", fl.avail); in sge_qinfo_show() 1663 R("FL PIdx:", fl.pidx); in sge_qinfo_show() 1664 R("FL CIdx:", fl.cidx); in sge_qinfo_show() [all …]
|
D | adapter.h | 205 struct sge_fl fl; /* Free List */ member
|
/drivers/mtd/ |
D | redboot.c | 66 struct fis_list *fl = NULL, *tmp_fl; in parse_redboot_partitions() local 207 prev = &fl; in parse_redboot_partitions() 216 if (fl->img->flash_base) { in parse_redboot_partitions() 221 for (tmp_fl = fl; tmp_fl->next; tmp_fl = tmp_fl->next) { in parse_redboot_partitions() 246 if (fl->img->flash_base) { in parse_redboot_partitions() 248 parts[0].size = fl->img->flash_base; in parse_redboot_partitions() 254 parts[i].size = fl->img->size; in parse_redboot_partitions() 255 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions() 258 strcpy(names, fl->img->name); in parse_redboot_partitions() 269 …if(fl->next && fl->img->flash_base + fl->img->size + master->erasesize <= fl->next->img->flash_bas… in parse_redboot_partitions() [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 169 return container_of(q, struct sge_qset, fl[qidx]); in fl_to_qset() 558 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl() argument 560 refill_fl(adap, fl, min(MAX_RX_REFILL, fl->size - fl->credits), in __refill_fl() 653 memset(q->fl, 0, sizeof(struct sge_fl) * SGE_RXQ_PER_SET); in t3_reset_qset() 678 if (q->fl[i].desc) { in t3_free_qset() 680 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id); in t3_free_qset() 682 free_rx_bufs(pdev, &q->fl[i]); in t3_free_qset() 683 kfree(q->fl[i].sdesc); in t3_free_qset() 685 q->fl[i].size * in t3_free_qset() 686 sizeof(struct rx_desc), q->fl[i].desc, in t3_free_qset() [all …]
|
D | adapter.h | 204 struct sge_fl fl[SGE_RXQ_PER_SET]; member
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sge.c | 226 static inline unsigned int fl_cap(const struct sge_fl *fl) in fl_cap() argument 228 return fl->size - 8; /* 1 descriptor = 8 buffers */ in fl_cap() 231 static inline bool fl_starving(const struct sge_fl *fl) in fl_starving() argument 233 return fl->avail - fl->pend_cred <= FL_STARVE_THRES; in fl_starving() 629 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) in __refill_fl() argument 631 refill_fl(adap, fl, min(MAX_RX_REFILL, fl_cap(fl) - fl->avail), in __refill_fl() 1814 free_rx_bufs(q->adap, &rxq->fl, 1); in process_responses() 1823 rsd = &rxq->fl.sdesc[rxq->fl.cidx]; in process_responses() 1831 unmap_rx_buf(q->adap, &rxq->fl); in process_responses() 1851 restore_rx_bufs(&si, &rxq->fl, frags); in process_responses() [all …]
|
D | cxgb4.h | 404 struct sge_fl fl; member 417 struct sge_fl fl; member 807 struct sge_fl *fl, rspq_handler_t hnd);
|
D | cxgb4_main.c | 998 msi_idx, &q->fl, in setup_sge_queues() 1022 &q->fl, uldrx_handler); in setup_sge_queues() 1039 msi_idx, &q->fl, uldrx_handler); in setup_sge_queues() 2419 e->rx_pending = s->ethrxq[pi->first_qset].fl.size - 8; in get_sge_param() 2444 s->ethrxq[pi->first_qset + i].fl.size = e->rx_pending + 8; in set_sge_param() 5327 r->fl.size = 72; in cfg_queues() 5344 r->fl.size = 72; in cfg_queues() 5352 r->fl.size = 72; in cfg_queues()
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1005 static void recycle_fl_buf(struct freelQ *fl, int idx) in recycle_fl_buf() argument 1007 struct freelQ_e *from = &fl->entries[idx]; in recycle_fl_buf() 1008 struct freelQ_e *to = &fl->entries[fl->pidx]; in recycle_fl_buf() 1010 fl->centries[fl->pidx] = fl->centries[idx]; in recycle_fl_buf() 1013 to->len_gen = G_CMD_LEN(from->len_gen) | V_CMD_GEN1(fl->genbit); in recycle_fl_buf() 1015 to->gen2 = V_CMD_GEN2(fl->genbit); in recycle_fl_buf() 1016 fl->credits++; in recycle_fl_buf() 1018 if (++fl->pidx == fl->size) { in recycle_fl_buf() 1019 fl->pidx = 0; in recycle_fl_buf() 1020 fl->genbit ^= 1; in recycle_fl_buf() [all …]
|
/drivers/scsi/csiostor/ |
D | csio_wr.c | 87 csio_wr_reg32(hw, DBPRIO(1) | QID(flq->un.fl.flid) | in csio_wr_ring_fldb() 119 struct csio_dma_buf *buf = &flq->un.fl.bufs[0]; in csio_wr_fill_fl() 121 int sreg = flq->un.fl.sreg; in csio_wr_fill_fl() 285 flq->un.fl.bufs = kzalloc(flq->credits * in csio_wr_alloc_q() 288 if (!flq->un.fl.bufs) { in csio_wr_alloc_q() 295 flq->un.fl.packen = 0; in csio_wr_alloc_q() 296 flq->un.fl.offset = 0; in csio_wr_alloc_q() 297 flq->un.fl.sreg = sreg; in csio_wr_alloc_q() 492 iqp.fl0packen = flq->un.fl.packen ? 1 : 0; in csio_wr_iq_create() 1062 if (flq->un.fl.offset > 0) { in csio_wr_process_fl() [all …]
|
D | csio_wr.h | 412 struct csio_fl fl; member 469 #define csio_q_flid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.fl.flid)
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.c | 1214 struct bnx2x_vfop_filters *fl = NULL; in bnx2x_vf_mbx_macvlan_list() local 1220 fl = kzalloc(fsz, GFP_KERNEL); in bnx2x_vf_mbx_macvlan_list() 1221 if (!fl) in bnx2x_vf_mbx_macvlan_list() 1224 INIT_LIST_HEAD(&fl->head); in bnx2x_vf_mbx_macvlan_list() 1232 fl->filters[j].mac = msg_filter->mac; in bnx2x_vf_mbx_macvlan_list() 1233 fl->filters[j].type = BNX2X_VFOP_FILTER_MAC; in bnx2x_vf_mbx_macvlan_list() 1235 fl->filters[j].vid = msg_filter->vlan_tag; in bnx2x_vf_mbx_macvlan_list() 1236 fl->filters[j].type = BNX2X_VFOP_FILTER_VLAN; in bnx2x_vf_mbx_macvlan_list() 1238 fl->filters[j].add = in bnx2x_vf_mbx_macvlan_list() 1241 list_add_tail(&fl->filters[j++].link, &fl->head); in bnx2x_vf_mbx_macvlan_list() [all …]
|
/drivers/message/fusion/lsi/ |
D | mpi.h | 584 #define MPI_SGE_GET_FLAGS(fl) (((fl) & ~MPI_SGE_LENGTH_MASK) >> MPI_SGE_FLAGS_SHIFT) argument 585 #define MPI_SGE_LENGTH(fl) ((fl) & MPI_SGE_LENGTH_MASK) argument 586 #define MPI_SGE_CHAIN_LENGTH(fl) ((fl) & MPI_SGE_CHAIN_LENGTH_MASK) argument
|
/drivers/infiniband/hw/ehca/ |
D | ehca_sqp.c | 132 u32 fl:20; member 139 u32 fl:20; member 195 tcslfl->fl = vertcfl->fl; in ehca_process_perf()
|
/drivers/media/i2c/smiapp/ |
D | smiapp.h | 98 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \ argument 102 .flags = fl, \
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-ioread.c | 243 int pvr2_ioread_set_enabled(struct pvr2_ioread *cp,int fl) in pvr2_ioread_set_enabled() argument 246 if ((!fl) == (!(cp->enabled))) return ret; in pvr2_ioread_set_enabled() 249 if (fl) { in pvr2_ioread_set_enabled()
|
D | pvrusb2-ioread.h | 34 int pvr2_ioread_set_enabled(struct pvr2_ioread *,int fl);
|
D | pvrusb2-context.c | 43 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) in pvr2_context_set_notify() argument 47 if (fl) { in pvr2_context_set_notify()
|
D | pvrusb2-io.c | 183 int fl; in pvr2_buffer_set_ready() local 194 fl = (sp->r_count == 0); in pvr2_buffer_set_ready() 206 return fl; in pvr2_buffer_set_ready()
|
D | pvrusb2-hdw.c | 1721 int fl; in pvr2_hdw_untrip() local 1723 fl = pvr2_hdw_untrip_unlocked(hdw); in pvr2_hdw_untrip() 1725 if (fl) pvr2_hdw_state_sched(hdw); in pvr2_hdw_untrip() 1764 int fl; in pvr2_hdw_set_stream_type() local 1766 if ((fl = (hdw->desired_stream_type != config)) != 0) { in pvr2_hdw_set_stream_type() 1774 if (fl) return 0; in pvr2_hdw_set_stream_type() 3222 int fl; in pvr2_hdw_commit_ctl() local 3224 fl = pvr2_hdw_commit_setup(hdw); in pvr2_hdw_commit_ctl() 3226 if (!fl) return 0; in pvr2_hdw_commit_ctl() 3233 int fl = 0; in pvr2_hdw_worker_poll() local [all …]
|
/drivers/char/ |
D | ppdev.c | 285 int fl; in register_device() local 298 fl = (pp->flags & PP_EXCL) ? PARPORT_FLAG_EXCL : 0; in register_device() 300 NULL, pp_irq, fl, pp); in register_device()
|
/drivers/scsi/lpfc/ |
D | lpfc_hw.h | 3296 uint32_t fl:1; member 3302 uint32_t fl:1; member 3400 uint32_t fl:1; member 3406 uint32_t fl:1; member
|
/drivers/infiniband/hw/mlx4/ |
D | qp.c | 1206 path->fl = 1 << 6; in mlx4_set_path() 1455 context->pri_path.fl = 0x80; in __mlx4_ib_modify_qp() 1458 context->pri_path.fl = 0x80; in __mlx4_ib_modify_qp()
|
/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 807 unsigned char fl, fh, fi; in set_pll_freq() local 820 fl=fout/fin; in set_pll_freq() 822 btwrite(fl, BT848_PLL_F_LO); in set_pll_freq()
|