/drivers/s390/cio/ |
D | chp.c | 141 struct channel_path *chp; in chp_measurement_chars_read() local 145 chp = to_channelpath(device); in chp_measurement_chars_read() 146 if (!chp->cmg_chars) in chp_measurement_chars_read() 150 chp->cmg_chars, sizeof(struct cmg_chars)); in chp_measurement_chars_read() 188 struct channel_path *chp; in chp_measurement_read() local 194 chp = to_channelpath(device); in chp_measurement_read() 195 css = to_css(chp->dev.parent); in chp_measurement_read() 202 chp_measurement_copy_block((struct cmg_entry *)buf, css, chp->chpid); in chp_measurement_read() 216 void chp_remove_cmg_attr(struct channel_path *chp) in chp_remove_cmg_attr() argument 218 device_remove_bin_file(&chp->dev, &chp_measurement_chars_attr); in chp_remove_cmg_attr() [all …]
|
D | chsc.c | 722 chsc_initialize_cmg_chars(struct channel_path *chp, u8 cmcv, in chsc_initialize_cmg_chars() argument 725 switch (chp->cmg) { in chsc_initialize_cmg_chars() 728 chp->cmg_chars = kmalloc(sizeof(struct cmg_chars), in chsc_initialize_cmg_chars() 730 if (chp->cmg_chars) { in chsc_initialize_cmg_chars() 734 cmg_chars = chp->cmg_chars; in chsc_initialize_cmg_chars() 750 int chsc_get_channel_measurement_chars(struct channel_path *chp) in chsc_get_channel_measurement_chars() argument 782 scmc_area->first_chpid = chp->chpid.id; in chsc_get_channel_measurement_chars() 783 scmc_area->last_chpid = chp->chpid.id; in chsc_get_channel_measurement_chars() 795 chp->cmg = scmc_area->cmg; in chsc_get_channel_measurement_chars() 796 chp->shared = scmc_area->shared; in chsc_get_channel_measurement_chars() [all …]
|
D | chp.h | 57 void chp_remove_cmg_attr(struct channel_path *chp); 58 int chp_add_cmg_attr(struct channel_path *chp);
|
D | Makefile | 5 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o scsw.o \
|
D | chsc.h | 102 int chsc_get_channel_measurement_chars(struct channel_path *chp);
|
D | device.c | 222 int chp; in chpids_show() local 225 for (chp = 0; chp < 8; chp++) { in chpids_show() 226 mask = 0x80 >> chp; in chpids_show() 228 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
|
D | chsc_sch.c | 625 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list() 626 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_ev.c | 41 static void post_qp_event(struct iwch_dev *rnicp, struct iwch_cq *chp, in post_qp_event() argument 80 event.device = chp->ibcq.device; in post_qp_event() 82 event.element.cq = &chp->ibcq; in post_qp_event() 105 struct iwch_cq *chp; in iwch_ev_dispatch() local 111 chp = get_chp(rnicp, cqid); in iwch_ev_dispatch() 113 if (!chp || !qhp) { in iwch_ev_dispatch() 124 atomic_inc(&chp->refcnt); in iwch_ev_dispatch() 140 post_qp_event(rnicp, chp, rsp_msg, in iwch_ev_dispatch() 150 post_qp_event(rnicp, chp, rsp_msg, IB_EVENT_QP_REQ_ERR, 1); in iwch_ev_dispatch() 157 post_qp_event(rnicp, chp, rsp_msg, IB_EVENT_QP_REQ_ERR, 1); in iwch_ev_dispatch() [all …]
|
D | iwch_provider.c | 131 struct iwch_cq *chp; in iwch_destroy_cq() local 134 chp = to_iwch_cq(ib_cq); in iwch_destroy_cq() 136 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in iwch_destroy_cq() 137 atomic_dec(&chp->refcnt); in iwch_destroy_cq() 138 wait_event(chp->wait, !atomic_read(&chp->refcnt)); in iwch_destroy_cq() 140 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq); in iwch_destroy_cq() 141 kfree(chp); in iwch_destroy_cq() 150 struct iwch_cq *chp; in iwch_create_cq() local 157 chp = kzalloc(sizeof(*chp), GFP_KERNEL); in iwch_create_cq() 158 if (!chp) in iwch_create_cq() [all …]
|
D | iwch_cq.c | 44 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, in iwch_poll_cq_one() argument 55 rd_cqe = cxio_next_cqe(&chp->cq); in iwch_poll_cq_one() 67 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, in iwch_poll_cq_one() 69 if (t3a_device(chp->rhp) && credit) { in iwch_poll_cq_one() 71 credit, chp->cq.cqid); in iwch_poll_cq_one() 72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in iwch_poll_cq_one() 198 struct iwch_cq *chp; in iwch_poll_cq() local 203 chp = to_iwch_cq(ibcq); in iwch_poll_cq() 204 rhp = chp->rhp; in iwch_poll_cq() 206 spin_lock_irqsave(&chp->lock, flags); in iwch_poll_cq() [all …]
|
D | iwch_qp.c | 1150 int iwch_quiesce_qps(struct iwch_cq *chp) in iwch_quiesce_qps() argument 1156 qhp = get_qhp(chp->rhp, i); in iwch_quiesce_qps() 1159 if ((qhp->attr.rcq == chp->cq.cqid) && !qp_quiesced(qhp)) { in iwch_quiesce_qps() 1163 if ((qhp->attr.scq == chp->cq.cqid) && !qp_quiesced(qhp)) in iwch_quiesce_qps() 1169 int iwch_resume_qps(struct iwch_cq *chp) in iwch_resume_qps() argument 1175 qhp = get_qhp(chp->rhp, i); in iwch_resume_qps() 1178 if ((qhp->attr.rcq == chp->cq.cqid) && qp_quiesced(qhp)) { in iwch_resume_qps() 1182 if ((qhp->attr.scq == chp->cq.cqid) && qp_quiesced(qhp)) in iwch_resume_qps()
|
D | iwch_provider.h | 338 int iwch_quiesce_qps(struct iwch_cq *chp); 339 int iwch_resume_qps(struct iwch_cq *chp);
|
/drivers/edac/ |
D | edac_mc.c | 136 struct channel_info *chi, *chp, *chan; in edac_mc_alloc() local 175 chp = &chi[row * nr_chans]; in edac_mc_alloc() 176 csrow->channels = chp; in edac_mc_alloc() 179 chan = &chp[chn]; in edac_mc_alloc()
|
/drivers/media/video/pvrusb2/ |
D | pvrusb2-dvb.c | 399 static void pvr2_dvb_internal_check(struct pvr2_channel *chp) in pvr2_dvb_internal_check() argument 402 adap = container_of(chp, struct pvr2_dvb_adapter, channel); in pvr2_dvb_internal_check()
|
D | pvrusb2-sysfs.c | 743 static void pvr2_sysfs_internal_check(struct pvr2_channel *chp) in pvr2_sysfs_internal_check() argument 746 sfp = container_of(chp,struct pvr2_sysfs,channel); in pvr2_sysfs_internal_check()
|
D | pvrusb2-v4l2.c | 941 static void pvr2_v4l2_internal_check(struct pvr2_channel *chp) in pvr2_v4l2_internal_check() argument 944 vp = container_of(chp,struct pvr2_v4l2,channel); in pvr2_v4l2_internal_check()
|