/linux-4.4.14/drivers/s390/cio/ |
D | chp.c | 137 struct channel_path *chp; in chp_measurement_chars_read() local 141 chp = to_channelpath(device); in chp_measurement_chars_read() 142 if (!chp->cmg_chars) in chp_measurement_chars_read() 146 chp->cmg_chars, sizeof(struct cmg_chars)); in chp_measurement_chars_read() 184 struct channel_path *chp; in chp_measurement_read() local 190 chp = to_channelpath(device); in chp_measurement_read() 191 css = to_css(chp->dev.parent); in chp_measurement_read() 198 chp_measurement_copy_block((struct cmg_entry *)buf, css, chp->chpid); in chp_measurement_read() 212 void chp_remove_cmg_attr(struct channel_path *chp) in chp_remove_cmg_attr() argument 214 device_remove_bin_file(&chp->dev, &chp_measurement_chars_attr); in chp_remove_cmg_attr() [all …]
|
D | chsc.c | 478 struct channel_path *chp; in chsc_process_sei_chp_avail() local 495 chp = chpid_to_chp(chpid); in chsc_process_sei_chp_avail() 496 if (!chp) { in chsc_process_sei_chp_avail() 500 mutex_lock(&chp->lock); in chsc_process_sei_chp_avail() 501 chp_update_desc(chp); in chsc_process_sei_chp_avail() 502 mutex_unlock(&chp->lock); in chsc_process_sei_chp_avail() 748 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_vary() local 757 chp_update_desc(chp); in chsc_chp_vary() 967 chsc_initialize_cmg_chars(struct channel_path *chp, u8 cmcv, in chsc_initialize_cmg_chars() argument 973 cmg_chars = chp->cmg_chars; in chsc_initialize_cmg_chars() [all …]
|
D | chp.h | 64 void chp_remove_cmg_attr(struct channel_path *chp); 65 int chp_add_cmg_attr(struct channel_path *chp); 66 int chp_update_desc(struct channel_path *chp);
|
D | device_ops.c | 609 struct channel_path *chp; in ccw_device_get_mdc() local 624 chp = chpid_to_chp(chpid); in ccw_device_get_mdc() 625 if (!chp) in ccw_device_get_mdc() 628 mutex_lock(&chp->lock); in ccw_device_get_mdc() 629 if (!chp->desc_fmt1.f) { in ccw_device_get_mdc() 630 mutex_unlock(&chp->lock); in ccw_device_get_mdc() 633 if (!chp->desc_fmt1.r) in ccw_device_get_mdc() 635 mdc = mdc ? min_t(int, mdc, chp->desc_fmt1.mdc) : in ccw_device_get_mdc() 636 chp->desc_fmt1.mdc; in ccw_device_get_mdc() 637 mutex_unlock(&chp->lock); in ccw_device_get_mdc()
|
D | ccwreq.c | 329 int rc = -ENODEV, chp; in ccw_request_timeout() local 334 for (chp = 0; chp < 8; chp++) { in ccw_request_timeout() 335 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout() 342 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
|
D | device_fsm.c | 476 int chp, mask; in ccw_device_report_path_events() local 478 for (chp = 0, mask = 0x80; chp < 8; chp++, mask >>= 1) { in ccw_device_report_path_events() 479 path_event[chp] = PE_NONE; in ccw_device_report_path_events() 481 path_event[chp] |= PE_PATH_GONE; in ccw_device_report_path_events() 483 path_event[chp] |= PE_PATH_AVAILABLE; in ccw_device_report_path_events() 485 path_event[chp] |= PE_PATHGROUP_ESTABLISHED; in ccw_device_report_path_events()
|
D | Makefile | 5 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
|
D | css.c | 1077 struct channel_path *chp; in channel_subsystem_reinit() local 1082 chp = chpid_to_chp(chpid); in channel_subsystem_reinit() 1083 if (chp) in channel_subsystem_reinit() 1084 chp_update_desc(chp); in channel_subsystem_reinit()
|
D | chsc.h | 154 int chsc_get_channel_measurement_chars(struct channel_path *chp);
|
D | device.c | 223 int chp; in chpids_show() local 226 for (chp = 0; chp < 8; chp++) { in chpids_show() 227 mask = 0x80 >> chp; in chpids_show() 229 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show()
|
D | chsc_sch.c | 760 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list() 761 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | ev.c | 87 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, in post_qp_event() argument 105 event.device = chp->ibcq.device; in post_qp_event() 107 event.element.cq = &chp->ibcq; in post_qp_event() 113 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event() 114 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 115 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event() 120 struct c4iw_cq *chp; in c4iw_ev_dispatch() local 141 chp = get_chp(dev, cqid); in c4iw_ev_dispatch() 142 if (!chp) { in c4iw_ev_dispatch() 154 atomic_inc(&chp->refcnt); in c4iw_ev_dispatch() [all …]
|
D | cq.c | 240 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); in c4iw_flush_sq() local 241 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq() 339 void c4iw_flush_hw_cq(struct c4iw_cq *chp) in c4iw_flush_hw_cq() argument 346 PDBG("%s cqid 0x%x\n", __func__, chp->cq.cqid); in c4iw_flush_hw_cq() 347 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 355 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 404 flush_completed_wrs(&qhp->wq, &chp->cq); in c4iw_flush_hw_cq() 406 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq() 409 t4_swcq_produce(&chp->cq); in c4iw_flush_hw_cq() 412 t4_hwcq_consume(&chp->cq); in c4iw_flush_hw_cq() [all …]
|
D | iw_cxgb4.h | 1006 void c4iw_flush_hw_cq(struct c4iw_cq *chp);
|
/linux-4.4.14/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 89 event.device = chp->ibcq.device; in post_qp_event() 91 event.element.cq = &chp->ibcq; in post_qp_event() 98 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event() 99 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 100 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event() 110 struct iwch_cq *chp; in iwch_ev_dispatch() local 117 chp = get_chp(rnicp, cqid); in iwch_ev_dispatch() 119 if (!chp || !qhp) { in iwch_ev_dispatch() 130 atomic_inc(&chp->refcnt); in iwch_ev_dispatch() [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_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() 152 struct iwch_cq *chp; in iwch_create_cq() local 164 chp = kzalloc(sizeof(*chp), GFP_KERNEL); in iwch_create_cq() 165 if (!chp) in iwch_create_cq() [all …]
|
/linux-4.4.14/lib/ |
D | earlycpio.c | 73 unsigned int ch[C_NFIELDS], *chp, v; in find_cpio_data() local 89 chp = ch; in find_cpio_data() 110 *chp++ = v; in find_cpio_data()
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | chsc.h | 84 struct chp_id chp; member
|
/linux-4.4.14/drivers/media/usb/pvrusb2/ |
D | pvrusb2-dvb.c | 400 static void pvr2_dvb_internal_check(struct pvr2_channel *chp) in pvr2_dvb_internal_check() argument 403 adap = container_of(chp, struct pvr2_dvb_adapter, channel); in pvr2_dvb_internal_check()
|
D | pvrusb2-sysfs.c | 759 static void pvr2_sysfs_internal_check(struct pvr2_channel *chp) in pvr2_sysfs_internal_check() argument 762 sfp = container_of(chp,struct pvr2_sysfs,channel); in pvr2_sysfs_internal_check()
|
D | pvrusb2-v4l2.c | 881 static void pvr2_v4l2_internal_check(struct pvr2_channel *chp) in pvr2_v4l2_internal_check() argument 884 vp = container_of(chp,struct pvr2_v4l2,channel); in pvr2_v4l2_internal_check()
|
/linux-4.4.14/Documentation/DocBook/ |
D | s390-drivers.xml.db | 38 API-ccw-device-get-chp-desc
|
/linux-4.4.14/drivers/s390/block/ |
D | dasd.c | 3575 int chp; in dasd_generic_path_event() local 3582 for (chp = 0; chp < 8; chp++) { in dasd_generic_path_event() 3583 eventlpm = 0x80 >> chp; in dasd_generic_path_event() 3584 if (path_event[chp] & PE_PATH_GONE) { in dasd_generic_path_event() 3600 if (path_event[chp] & PE_PATH_AVAILABLE) { in dasd_generic_path_event() 3607 if (path_event[chp] & PE_PATHGROUP_ESTABLISHED) { in dasd_generic_path_event()
|
/linux-4.4.14/include/sound/ |
D | vx_core.h | 101 void (*set_clock_source)(struct vx_core *chp, int src);
|