Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/pvrusb2/
Dpvrusb2-sysfs.c301 static void pvr2_sysfs_add_control(struct pvr2_sysfs *sfp,int ctl_id) in pvr2_sysfs_add_control() argument
308 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,ctl_id); in pvr2_sysfs_add_control()
318 cip->chptr = sfp; in pvr2_sysfs_add_control()
320 if (sfp->item_last) { in pvr2_sysfs_add_control()
321 sfp->item_last->item_next = cip; in pvr2_sysfs_add_control()
323 sfp->item_first = cip; in pvr2_sysfs_add_control()
325 sfp->item_last = cip; in pvr2_sysfs_add_control()
410 ret = sysfs_create_group(&sfp->class_dev->kobj,&cip->grp); in pvr2_sysfs_add_control()
428 static void pvr2_sysfs_add_debugifc(struct pvr2_sysfs *sfp) in pvr2_sysfs_add_debugifc() argument
444 sfp->debugifc = dip; in pvr2_sysfs_add_debugifc()
[all …]
/linux-3.4.99/fs/xfs/
Dxfs_dir2_sf.c241 xfs_dir2_sf_hdr_t *sfp; /* shortform directory header */ in xfs_dir2_block_to_sf() local
275 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_block_to_sf()
276 memcpy(sfp, sfhp, xfs_dir2_sf_hdr_size(sfhp->i8count)); in xfs_dir2_block_to_sf()
284 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_block_to_sf()
310 xfs_dir2_sf_get_parent_ino(sfp)); in xfs_dir2_block_to_sf()
320 xfs_dir2_sfe_put_ino(sfp, sfep, in xfs_dir2_block_to_sf()
323 sfep = xfs_dir2_sf_nextentry(sfp, sfep); in xfs_dir2_block_to_sf()
327 ASSERT((char *)sfep - (char *)sfp == size); in xfs_dir2_block_to_sf()
354 xfs_dir2_sf_hdr_t *sfp; /* shortform structure */ in xfs_dir2_sf_addname() local
371 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname()
[all …]
Dxfs_dir2_block.c1040 xfs_dir2_sf_hdr_t *sfp; /* shortform header */ in xfs_dir2_sf_to_block() local
1069 sfp = kmem_alloc(dp->i_df.if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
1070 memcpy(sfp, oldsfp, dp->i_df.if_bytes); in xfs_dir2_sf_to_block()
1081 kmem_free(sfp); in xfs_dir2_sf_to_block()
1089 kmem_free(sfp); in xfs_dir2_sf_to_block()
1098 (sfp->count + 2) * (uint)sizeof(xfs_dir2_leaf_entry_t); in xfs_dir2_sf_to_block()
1112 btp->count = cpu_to_be32(sfp->count + 2); /* ., .. */ in xfs_dir2_sf_to_block()
1141 dep->inumber = cpu_to_be64(xfs_dir2_sf_get_parent_ino(sfp)); in xfs_dir2_sf_to_block()
1155 if (!sfp->count) in xfs_dir2_sf_to_block()
1158 sfep = xfs_dir2_sf_firstentry(sfp); in xfs_dir2_sf_to_block()
[all …]
Dxfs_dir2_priv.h120 extern xfs_ino_t xfs_dir2_sf_get_parent_ino(struct xfs_dir2_sf_hdr *sfp);
121 extern xfs_ino_t xfs_dir2_sfe_get_ino(struct xfs_dir2_sf_hdr *sfp,
Dxfs_dir2.c122 xfs_dir2_sf_hdr_t *sfp; in xfs_dir_isempty() local
129 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
130 return !sfp->count; in xfs_dir_isempty()
/linux-3.4.99/drivers/scsi/
Dsg.c187 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size);
188 static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count,
190 static ssize_t sg_new_write(Sg_fd *sfp, struct file *file,
193 static int sg_common_write(Sg_fd * sfp, Sg_request * srp,
197 static void sg_build_reserve(Sg_fd * sfp, int req_size);
198 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size);
199 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp);
202 static Sg_request *sg_get_rq_mark(Sg_fd * sfp, int pack_id);
203 static Sg_request *sg_add_request(Sg_fd * sfp);
204 static int sg_remove_request(Sg_fd * sfp, Sg_request * srp);
[all …]
/linux-3.4.99/drivers/scsi/bfa/
Dbfa_ioc.c3375 static void bfa_sfp_getdata_send(struct bfa_sfp_s *sfp);
3376 static void bfa_sfp_media_get(struct bfa_sfp_s *sfp);
3377 static bfa_status_t bfa_sfp_speed_valid(struct bfa_sfp_s *sfp,
3381 bfa_cb_sfp_show(struct bfa_sfp_s *sfp) in bfa_cb_sfp_show() argument
3383 bfa_trc(sfp, sfp->lock); in bfa_cb_sfp_show()
3384 if (sfp->cbfn) in bfa_cb_sfp_show()
3385 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show()
3386 sfp->lock = 0; in bfa_cb_sfp_show()
3387 sfp->cbfn = NULL; in bfa_cb_sfp_show()
3391 bfa_cb_sfp_state_query(struct bfa_sfp_s *sfp) in bfa_cb_sfp_state_query() argument
[all …]
Dbfa_modules.h43 struct bfa_sfp_s sfp; /* SFP module */ member
Dbfa_ioc.h441 #define BFA_SFP_MOD(__bfa) (&(__bfa)->modules.sfp)
446 void bfa_sfp_attach(struct bfa_sfp_s *sfp, struct bfa_ioc_s *ioc,
452 bfa_status_t bfa_sfp_show(struct bfa_sfp_s *sfp, struct sfp_mem_s *sfpmem,
455 bfa_status_t bfa_sfp_media(struct bfa_sfp_s *sfp,
459 bfa_status_t bfa_sfp_speed(struct bfa_sfp_s *sfp,
Dbfa_core.c130 struct bfa_sfp_s *sfp = BFA_SFP_MOD(bfa); in bfa_com_sfp_attach() local
133 bfa_sfp_attach(sfp, &bfa->ioc, bfa, bfa->trcmod); in bfa_com_sfp_attach()
134 bfa_sfp_memclaim(sfp, sfp_dma->kva_curp, sfp_dma->dma_curp); in bfa_com_sfp_attach()
Dbfad_bsg.h589 struct sfp_mem_s sfp; member
Dbfad_bsg.c1671 iocmd->status = bfa_sfp_show(BFA_SFP_MOD(&bfad->bfa), &iocmd->sfp, in bfad_iocmd_diag_sfp()
/linux-3.4.99/fs/freevxfs/
Dvxfs_fshead.c110 struct vxfs_fsh *pfp, *sfp; in vxfs_read_fshead() local
136 sfp = vxfs_getfsh(infp->vsi_fship, 0); in vxfs_read_fshead()
137 if (!sfp) { in vxfs_read_fshead()
143 vxfs_dumpfsh(sfp); in vxfs_read_fshead()
156 tip = vxfs_blkiget(sbp, infp->vsi_iext, sfp->fsh_ilistino[0]); in vxfs_read_fshead()
196 kfree(sfp); in vxfs_read_fshead()
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_bsg.c1432 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions() local
1433 if (!sfp) { in qla2x00_update_fru_versions()
1445 memcpy(sfp, &image->field_info, sizeof(image->field_info)); in qla2x00_update_fru_versions()
1446 rval = qla2x00_write_sfp(vha, sfp_dma, sfp, in qla2x00_update_fru_versions()
1460 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_update_fru_versions()
1480 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status() local
1481 if (!sfp) { in qla2x00_read_fru_status()
1490 rval = qla2x00_read_sfp(vha, sfp_dma, sfp, in qla2x00_read_fru_status()
1493 sr->status_reg = *sfp; in qla2x00_read_fru_status()
1507 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_read_fru_status()
[all …]
Dqla_mbx.c3619 qla2x00_read_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_read_sfp() argument
3651 *sfp = mcp->mb[1]; in qla2x00_read_sfp()
3664 qla2x00_write_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_write_sfp() argument
3681 len = *sfp; in qla2x00_write_sfp()
/linux-3.4.99/arch/powerpc/boot/dts/fsl/
Dp3060si-post.dtsi271 sfp: sfp@e8000 { label
272 compatible = "fsl,p3060-sfp", "fsl,qoriq-sfp-1.0";
Dp3041si-post.dtsi310 sfp: sfp@e8000 { label
311 compatible = "fsl,p3041-sfp", "fsl,qoriq-sfp-1.0";
Dp5020si-post.dtsi313 sfp: sfp@e8000 { label
314 compatible = "fsl,p5020-sfp", "fsl,qoriq-sfp-1.0";
Dp2041si-post.dtsi283 sfp: sfp@e8000 { label
284 compatible = "fsl,p2041-sfp", "fsl,qoriq-sfp-1.0";
Dp4080si-post.dtsi319 sfp: sfp@e8000 { label
320 compatible = "fsl,p4080-sfp", "fsl,qoriq-sfp-1.0";