Home
last modified time | relevance | path

Searched refs:ddp (Results 1 – 20 of 20) sorted by relevance

/drivers/net/ethernet/intel/i40e/
Di40e_fcoe.c164 struct i40e_fcoe_ddp *ddp) in i40e_fcoe_ddp_unmap() argument
166 if (test_and_set_bit(__I40E_FCOE_DDP_UNMAPPED, &ddp->flags)) in i40e_fcoe_ddp_unmap()
169 if (ddp->sgl) { in i40e_fcoe_ddp_unmap()
170 dma_unmap_sg(&pf->pdev->dev, ddp->sgl, ddp->sgc, in i40e_fcoe_ddp_unmap()
172 ddp->sgl = NULL; in i40e_fcoe_ddp_unmap()
173 ddp->sgc = 0; in i40e_fcoe_ddp_unmap()
176 if (ddp->pool) { in i40e_fcoe_ddp_unmap()
177 dma_pool_free(ddp->pool, ddp->udl, ddp->udp); in i40e_fcoe_ddp_unmap()
178 ddp->pool = NULL; in i40e_fcoe_ddp_unmap()
186 static inline void i40e_fcoe_ddp_clear(struct i40e_fcoe_ddp *ddp) in i40e_fcoe_ddp_clear() argument
[all …]
Di40e_fcoe.h124 struct i40e_fcoe_ddp ddp[I40E_FCOE_DDP_MAX]; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c47 static inline void ixgbe_fcoe_clear_ddp(struct ixgbe_fcoe_ddp *ddp) in ixgbe_fcoe_clear_ddp() argument
49 ddp->len = 0; in ixgbe_fcoe_clear_ddp()
50 ddp->err = 1; in ixgbe_fcoe_clear_ddp()
51 ddp->udl = NULL; in ixgbe_fcoe_clear_ddp()
52 ddp->udp = 0UL; in ixgbe_fcoe_clear_ddp()
53 ddp->sgl = NULL; in ixgbe_fcoe_clear_ddp()
54 ddp->sgc = 0; in ixgbe_fcoe_clear_ddp()
73 struct ixgbe_fcoe_ddp *ddp; in ixgbe_fcoe_ddp_put() local
85 ddp = &fcoe->ddp[xid]; in ixgbe_fcoe_ddp_put()
86 if (!ddp->udl) in ixgbe_fcoe_ddp_put()
[all …]
Dixgbe_fcoe.h81 struct ixgbe_fcoe_ddp ddp[IXGBE_FCOE_DDP_MAX_X550]; member
/drivers/net/appletalk/
Dipddp.c121 struct ddpehdr *ddp; in ipddp_xmit() local
151 ddp = (struct ddpehdr *)skb->data; in ipddp_xmit()
152 ddp->deh_len_hops = htons(skb->len + (1<<10)); in ipddp_xmit()
153 ddp->deh_sum = 0; in ipddp_xmit()
161 ddp->deh_dnet = 0; /* FIXME more hops?? */ in ipddp_xmit()
162 ddp->deh_snet = 0; in ipddp_xmit()
166 ddp->deh_dnet = rt->at.s_net; /* FIXME more hops?? */ in ipddp_xmit()
167 ddp->deh_snet = our_addr->s_net; in ipddp_xmit()
169 ddp->deh_dnode = rt->at.s_node; in ipddp_xmit()
170 ddp->deh_snode = our_addr->s_node; in ipddp_xmit()
[all …]
/drivers/scsi/cxgbi/
Dlibcxgbi.c120 if (cdev->ddp) in cxgbi_device_destroy()
1294 static inline int ddp_find_unused_entries(struct cxgbi_ddp_info *ddp, in ddp_find_unused_entries() argument
1309 spin_lock(&ddp->map_lock); in ddp_find_unused_entries()
1312 if (ddp->gl_map[k]) in ddp_find_unused_entries()
1317 ddp->gl_map[k] = gl; in ddp_find_unused_entries()
1318 spin_unlock(&ddp->map_lock); in ddp_find_unused_entries()
1323 spin_unlock(&ddp->map_lock); in ddp_find_unused_entries()
1329 static inline void ddp_unmark_entries(struct cxgbi_ddp_info *ddp, in ddp_unmark_entries() argument
1332 spin_lock(&ddp->map_lock); in ddp_unmark_entries()
1333 memset(&ddp->gl_map[start], 0, in ddp_unmark_entries()
[all …]
Dlibcxgbi.h552 struct cxgbi_ddp_info *ddp; member
/drivers/scsi/csiostor/
Dcsio_scsi.h224 struct csio_dma_buf *ddp; in csio_get_scsi_ddp() local
227 ddp = list_first_entry(&scm->ddp_freelist, in csio_get_scsi_ddp()
229 list_del_init(&ddp->list); in csio_get_scsi_ddp()
231 return ddp; in csio_get_scsi_ddp()
237 csio_put_scsi_ddp(struct csio_scsim *scm, struct csio_dma_buf *ddp) in csio_put_scsi_ddp() argument
239 list_add_tail(&ddp->list, &scm->ddp_freelist); in csio_put_scsi_ddp()
/drivers/infiniband/hw/nes/
Dnes.c845 static ssize_t nes_show_adapter(struct device_driver *ddp, char *buf) in nes_show_adapter() argument
864 static ssize_t nes_store_adapter(struct device_driver *ddp, in nes_store_adapter() argument
873 static ssize_t nes_show_ee_cmd(struct device_driver *ddp, char *buf) in nes_show_ee_cmd() argument
889 static ssize_t nes_store_ee_cmd(struct device_driver *ddp, in nes_store_ee_cmd() argument
910 static ssize_t nes_show_ee_data(struct device_driver *ddp, char *buf) in nes_show_ee_data() argument
927 static ssize_t nes_store_ee_data(struct device_driver *ddp, in nes_store_ee_data() argument
948 static ssize_t nes_show_flash_cmd(struct device_driver *ddp, char *buf) in nes_show_flash_cmd() argument
965 static ssize_t nes_store_flash_cmd(struct device_driver *ddp, in nes_store_flash_cmd() argument
986 static ssize_t nes_show_flash_data(struct device_driver *ddp, char *buf) in nes_show_flash_data() argument
1003 static ssize_t nes_store_flash_data(struct device_driver *ddp, in nes_store_flash_data() argument
[all …]
/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c1088 struct cxgbi_ddp_info *ddp = cdev->ddp; in ddp_set_map() local
1089 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ddp->llimit; in ddp_set_map()
1117 struct cxgbi_ddp_info *ddp = cdev->ddp; in ddp_clear_map() local
1118 unsigned int pm_addr = (idx << PPOD_SIZE_SHIFT) + ddp->llimit; in ddp_clear_map()
1230 struct cxgbi_ddp_info *ddp = tdev->ulp_iscsi; in cxgb3i_ddp_init() local
1235 if (ddp) { in cxgb3i_ddp_init()
1236 kref_get(&ddp->refcnt); in cxgb3i_ddp_init()
1239 cdev->ddp = ddp; in cxgb3i_ddp_init()
1255 ddp = cdev->ddp; in cxgb3i_ddp_init()
1257 uinfo.tagmask = ddp->idx_mask << PPOD_IDX_SHIFT; in cxgb3i_ddp_init()
[all …]
/drivers/scsi/
Dscsi_debug.c4231 static ssize_t delay_show(struct device_driver *ddp, char *buf) in delay_show() argument
4236 static ssize_t delay_store(struct device_driver *ddp, const char *buf, in delay_store() argument
4264 static ssize_t ndelay_show(struct device_driver *ddp, char *buf) in ndelay_show() argument
4270 static ssize_t ndelay_store(struct device_driver *ddp, const char *buf, in ndelay_store() argument
4298 static ssize_t opts_show(struct device_driver *ddp, char *buf) in opts_show() argument
4303 static ssize_t opts_store(struct device_driver *ddp, const char *buf, in opts_store() argument
4337 static ssize_t ptype_show(struct device_driver *ddp, char *buf) in ptype_show() argument
4341 static ssize_t ptype_store(struct device_driver *ddp, const char *buf, in ptype_store() argument
4354 static ssize_t dsense_show(struct device_driver *ddp, char *buf) in dsense_show() argument
4358 static ssize_t dsense_store(struct device_driver *ddp, const char *buf, in dsense_store() argument
[all …]
Dst.c4432 static ssize_t try_direct_io_show(struct device_driver *ddp, char *buf) in try_direct_io_show() argument
4438 static ssize_t fixed_buffer_size_show(struct device_driver *ddp, char *buf) in fixed_buffer_size_show() argument
4444 static ssize_t max_sg_segs_show(struct device_driver *ddp, char *buf) in max_sg_segs_show() argument
4457 static ssize_t debug_flag_store(struct device_driver *ddp, in debug_flag_store() argument
4476 static ssize_t debug_flag_show(struct device_driver *ddp, char *buf) in debug_flag_show() argument
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1579 struct cxgbi_ddp_info *ddp = cdev->ddp; in ddp_ppod_write_idata() local
1585 unsigned int pm_addr = idx * PPOD_SIZE + ddp->llimit; in ddp_ppod_write_idata()
1717 struct cxgbi_ddp_info *ddp = cdev->ddp; in cxgb4i_ddp_init() local
1721 if (ddp) { in cxgb4i_ddp_init()
1722 kref_get(&ddp->refcnt); in cxgb4i_ddp_init()
1724 cdev, cdev->ddp); in cxgb4i_ddp_init()
1734 ddp = cdev->ddp; in cxgb4i_ddp_init()
1736 tagmask = ddp->idx_mask << PPOD_IDX_SHIFT; in cxgb4i_ddp_init()
1750 cdev, ddp->nppods, ddp->idx_bits, ddp->idx_mask, in cxgb4i_ddp_init()
1751 ddp->rsvd_tag_mask, ddp->max_txsz, lldi->iscsi_iolen, in cxgb4i_ddp_init()
[all …]
/drivers/staging/dgnc/
Ddgnc_sysfs.c28 static ssize_t dgnc_driver_version_show(struct device_driver *ddp, char *buf) in dgnc_driver_version_show() argument
34 static ssize_t dgnc_driver_boards_show(struct device_driver *ddp, char *buf) in dgnc_driver_boards_show() argument
40 static ssize_t dgnc_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgnc_driver_maxboards_show() argument
46 static ssize_t dgnc_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgnc_driver_pollrate_show() argument
51 static ssize_t dgnc_driver_pollrate_store(struct device_driver *ddp, in dgnc_driver_pollrate_store() argument
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h222 struct cxgb4_range ddp; member
Dcxgb4_main.c4033 adap->vres.ddp.start = val[3]; in adap_init0()
4034 adap->vres.ddp.size = val[4] - val[3] + 1; in adap_init0()
/drivers/staging/rdma/ehca/
Dehca_main.c626 static ssize_t ehca_show_debug_level(struct device_driver *ddp, char *buf) in ehca_show_debug_level() argument
631 static ssize_t ehca_store_debug_level(struct device_driver *ddp, in ehca_store_debug_level() argument
/drivers/tty/hvc/
Dhvcs.c487 static ssize_t hvcs_rescan_show(struct device_driver *ddp, char *buf) in hvcs_rescan_show() argument
493 static ssize_t hvcs_rescan_store(struct device_driver *ddp, const char * buf, in hvcs_rescan_store() argument
/drivers/staging/dgap/
Ddgap.c6285 static ssize_t dgap_driver_version_show(struct device_driver *ddp, char *buf) in dgap_driver_version_show() argument
6292 static ssize_t dgap_driver_boards_show(struct device_driver *ddp, char *buf) in dgap_driver_boards_show() argument
6299 static ssize_t dgap_driver_maxboards_show(struct device_driver *ddp, char *buf) in dgap_driver_maxboards_show() argument
6306 static ssize_t dgap_driver_pollcounter_show(struct device_driver *ddp, in dgap_driver_pollcounter_show() argument
6313 static ssize_t dgap_driver_pollrate_show(struct device_driver *ddp, char *buf) in dgap_driver_pollrate_show() argument
6318 static ssize_t dgap_driver_pollrate_store(struct device_driver *ddp, in dgap_driver_pollrate_store() argument
/drivers/mtd/onenand/
Donenand_base.c3460 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local
3464 ddp = device & ONENAND_DEVICE_IS_DDP; in onenand_print_device_info()
3470 ddp ? "(DDP)" : "", in onenand_print_device_info()