/Linux-v4.19/drivers/s390/block/ |
D | dasd_int.h | 854 static inline int dasd_path_is_operational(struct dasd_device *device, int chp) in dasd_path_is_operational() argument 856 return test_bit(DASD_PATH_OPERATIONAL, &device->path[chp].flags); in dasd_path_is_operational() 859 static inline int dasd_path_need_verify(struct dasd_device *device, int chp) in dasd_path_need_verify() argument 861 return test_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_need_verify() 864 static inline void dasd_path_verify(struct dasd_device *device, int chp) in dasd_path_verify() argument 866 __set_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_verify() 869 static inline void dasd_path_clear_verify(struct dasd_device *device, int chp) in dasd_path_clear_verify() argument 871 __clear_bit(DASD_PATH_TBV, &device->path[chp].flags); in dasd_path_clear_verify() 876 int chp; in dasd_path_clear_all_verify() local 878 for (chp = 0; chp < 8; chp++) in dasd_path_clear_all_verify() [all …]
|
D | dasd.c | 3745 int chp, oldopm, hpfpm, ifccpm; in dasd_generic_path_event() local 3752 for (chp = 0; chp < 8; chp++) { in dasd_generic_path_event() 3753 if (path_event[chp] & PE_PATH_GONE) { in dasd_generic_path_event() 3754 dasd_path_notoper(device, chp); in dasd_generic_path_event() 3756 if (path_event[chp] & PE_PATH_AVAILABLE) { in dasd_generic_path_event() 3757 dasd_path_available(device, chp); in dasd_generic_path_event() 3760 if (path_event[chp] & PE_PATHGROUP_ESTABLISHED) { in dasd_generic_path_event() 3761 if (!dasd_path_is_operational(device, chp) && in dasd_generic_path_event() 3762 !dasd_path_need_verify(device, chp)) { in dasd_generic_path_event() 3768 dasd_path_available(device, chp); in dasd_generic_path_event()
|
/Linux-v4.19/drivers/s390/cio/ |
D | chp.c | 135 struct channel_path *chp; in chp_measurement_chars_read() local 139 chp = to_channelpath(device); in chp_measurement_chars_read() 140 if (chp->cmg == -1) in chp_measurement_chars_read() 143 return memory_read_from_buffer(buf, count, &off, &chp->cmg_chars, in chp_measurement_chars_read() 144 sizeof(chp->cmg_chars)); in chp_measurement_chars_read() 182 struct channel_path *chp; in chp_measurement_read() local 188 chp = to_channelpath(device); in chp_measurement_read() 189 css = to_css(chp->dev.parent); in chp_measurement_read() 196 chp_measurement_copy_block((struct cmg_entry *)buf, css, chp->chpid); in chp_measurement_read() 210 void chp_remove_cmg_attr(struct channel_path *chp) in chp_remove_cmg_attr() argument [all …]
|
D | device_ops.c | 486 struct channel_path *chp; in ccw_device_get_util_str() local 492 chp = chpid_to_chp(chpid); in ccw_device_get_util_str() 494 util_str = kmalloc(sizeof(chp->desc_fmt3.util_str), GFP_KERNEL); in ccw_device_get_util_str() 498 mutex_lock(&chp->lock); in ccw_device_get_util_str() 499 memcpy(util_str, chp->desc_fmt3.util_str, sizeof(chp->desc_fmt3.util_str)); in ccw_device_get_util_str() 500 mutex_unlock(&chp->lock); in ccw_device_get_util_str() 632 struct channel_path *chp; in ccw_device_get_mdc() local 647 chp = chpid_to_chp(chpid); in ccw_device_get_mdc() 648 if (!chp) in ccw_device_get_mdc() 651 mutex_lock(&chp->lock); in ccw_device_get_mdc() [all …]
|
D | chsc.c | 230 struct channel_path *chp = chpid_to_chp(chpid); in chsc_chp_offline() local 244 mutex_lock(&chp->lock); in chsc_chp_offline() 245 chp_update_desc(chp); in chsc_chp_offline() 246 mutex_unlock(&chp->lock); in chsc_chp_offline() 455 struct channel_path *chp; in chsc_process_sei_res_acc() local 474 chp = chpid_to_chp(chpid); in chsc_process_sei_res_acc() 475 mutex_lock(&chp->lock); in chsc_process_sei_res_acc() 476 chp_update_desc(chp); in chsc_process_sei_res_acc() 477 mutex_unlock(&chp->lock); in chsc_process_sei_res_acc() 495 struct channel_path *chp; in chsc_process_sei_chp_avail() local [all …]
|
D | chp.h | 66 void chp_remove_cmg_attr(struct channel_path *chp); 67 int chp_add_cmg_attr(struct channel_path *chp); 68 int chp_update_desc(struct channel_path *chp);
|
D | ccwreq.c | 330 int rc = -ENODEV, chp; in ccw_request_timeout() local 335 for (chp = 0; chp < 8; chp++) { in ccw_request_timeout() 336 if ((0x80 >> chp) & sch->schib.pmcw.lpum) in ccw_request_timeout() 342 sch->schib.pmcw.chpid[chp]); in ccw_request_timeout()
|
D | css.c | 341 int chp; in chpids_show() local 343 for (chp = 0; chp < 8; chp++) { in chpids_show() 344 mask = 0x80 >> chp; in chpids_show() 346 ret += sprintf(buf + ret, "%02x ", ssd->chpid[chp].id); in chpids_show() 1170 struct channel_path *chp; in channel_subsystem_reinit() local 1175 chp = chpid_to_chp(chpid); in channel_subsystem_reinit() 1176 if (chp) in channel_subsystem_reinit() 1177 chp_update_desc(chp); in channel_subsystem_reinit()
|
D | device_fsm.c | 437 int chp, mask; in ccw_device_report_path_events() local 439 for (chp = 0, mask = 0x80; chp < 8; chp++, mask >>= 1) { in ccw_device_report_path_events() 440 path_event[chp] = PE_NONE; in ccw_device_report_path_events() 442 path_event[chp] |= PE_PATH_GONE; in ccw_device_report_path_events() 444 path_event[chp] |= PE_PATH_AVAILABLE; in ccw_device_report_path_events() 446 path_event[chp] |= PE_PATHGROUP_ESTABLISHED; in ccw_device_report_path_events()
|
D | Makefile | 10 obj-y += airq.o blacklist.o chsc.o cio.o css.o chp.o idset.o isc.o \
|
D | chsc.h | 163 int chsc_get_channel_measurement_chars(struct channel_path *chp);
|
D | chsc_sch.c | 755 chpid_parm->cssid = ccl->req.chpid.chp.cssid; in chsc_ioctl_conf_comp_list() 756 chpid_parm->chpid = ccl->req.chpid.chp.id; in chsc_ioctl_conf_comp_list()
|
/Linux-v4.19/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 if (t4_clear_cq_armed(&chp->cq)) { in post_qp_event() 114 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event() 115 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 116 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event() 122 struct c4iw_cq *chp; in c4iw_ev_dispatch() local 142 chp = get_chp(dev, cqid); in c4iw_ev_dispatch() 143 if (!chp) { in c4iw_ev_dispatch() [all …]
|
D | cq.c | 243 struct c4iw_cq *chp = to_c4iw_cq(qhp->ibqp.send_cq); in c4iw_flush_sq() local 244 struct t4_cq *cq = &chp->cq; in c4iw_flush_sq() 336 void c4iw_flush_hw_cq(struct c4iw_cq *chp, struct c4iw_qp *flush_qhp) in c4iw_flush_hw_cq() argument 343 pr_debug("cqid 0x%x\n", chp->cq.cqid); in c4iw_flush_hw_cq() 344 ret = t4_next_hw_cqe(&chp->cq, &hw_cqe); in c4iw_flush_hw_cq() 352 qhp = get_qhp(chp->rhp, CQE_QPID(hw_cqe)); in c4iw_flush_hw_cq() 408 flush_completed_wrs(&qhp->wq, &chp->cq); in c4iw_flush_hw_cq() 410 swcqe = &chp->cq.sw_queue[chp->cq.sw_pidx]; in c4iw_flush_hw_cq() 413 t4_swcq_produce(&chp->cq); in c4iw_flush_hw_cq() 416 t4_hwcq_consume(&chp->cq); in c4iw_flush_hw_cq() [all …]
|
D | restrack.c | 379 struct c4iw_cq *chp = to_c4iw_cq(ibcq); in fill_res_cq_entry() local 395 spin_lock_irq(&chp->lock); in fill_res_cq_entry() 398 cq = chp->cq; in fill_res_cq_entry() 402 hwcqes[0] = chp->cq.queue[idx]; in fill_res_cq_entry() 405 hwcqes[1] = chp->cq.queue[idx]; in fill_res_cq_entry() 409 swcqes[0] = chp->cq.sw_queue[cq.sw_cidx]; in fill_res_cq_entry() 412 swcqes[1] = chp->cq.sw_queue[idx]; in fill_res_cq_entry() 416 spin_unlock_irq(&chp->lock); in fill_res_cq_entry()
|
D | iw_cxgb4.h | 1093 void c4iw_flush_hw_cq(struct c4iw_cq *chp, struct c4iw_qp *flush_qhp);
|
/Linux-v4.19/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 90 event.device = chp->ibcq.device; in post_qp_event() 92 event.element.cq = &chp->ibcq; in post_qp_event() 99 spin_lock_irqsave(&chp->comp_handler_lock, flag); in post_qp_event() 100 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); in post_qp_event() 101 spin_unlock_irqrestore(&chp->comp_handler_lock, flag); in post_qp_event() 111 struct iwch_cq *chp; in iwch_ev_dispatch() local 118 chp = get_chp(rnicp, cqid); in iwch_ev_dispatch() 120 if (!chp || !qhp) { in iwch_ev_dispatch() 130 atomic_inc(&chp->refcnt); in iwch_ev_dispatch() [all …]
|
D | iwch_cq.c | 35 static int __iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, in __iwch_poll_cq_one() argument 45 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, in __iwch_poll_cq_one() 47 if (t3a_device(chp->rhp) && credit) { in __iwch_poll_cq_one() 49 credit, chp->cq.cqid); in __iwch_poll_cq_one() 50 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in __iwch_poll_cq_one() 175 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp, in iwch_poll_cq_one() argument 182 rd_cqe = cxio_next_cqe(&chp->cq); in iwch_poll_cq_one() 190 ret = __iwch_poll_cq_one(rhp, chp, qhp, wc); in iwch_poll_cq_one() 193 ret = __iwch_poll_cq_one(rhp, chp, NULL, wc); in iwch_poll_cq_one() 201 struct iwch_cq *chp; in iwch_poll_cq() local [all …]
|
D | iwch_provider.c | 96 struct iwch_cq *chp; in iwch_destroy_cq() local 99 chp = to_iwch_cq(ib_cq); in iwch_destroy_cq() 101 remove_handle(chp->rhp, &chp->rhp->cqidr, chp->cq.cqid); in iwch_destroy_cq() 102 atomic_dec(&chp->refcnt); in iwch_destroy_cq() 103 wait_event(chp->wait, !atomic_read(&chp->refcnt)); in iwch_destroy_cq() 105 cxio_destroy_cq(&chp->rhp->rdev, &chp->cq); in iwch_destroy_cq() 106 kfree(chp); in iwch_destroy_cq() 117 struct iwch_cq *chp; in iwch_create_cq() local 129 chp = kzalloc(sizeof(*chp), GFP_KERNEL); in iwch_create_cq() 130 if (!chp) in iwch_create_cq() [all …]
|
/Linux-v4.19/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-v4.19/arch/s390/include/uapi/asm/ |
D | chsc.h | 85 struct chp_id chp; member
|
/Linux-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-dvb.c | 396 static void pvr2_dvb_internal_check(struct pvr2_channel *chp) in pvr2_dvb_internal_check() argument 399 adap = container_of(chp, struct pvr2_dvb_adapter, channel); in pvr2_dvb_internal_check()
|
D | pvrusb2-sysfs.c | 754 static void pvr2_sysfs_internal_check(struct pvr2_channel *chp) in pvr2_sysfs_internal_check() argument 757 sfp = container_of(chp,struct pvr2_sysfs,channel); in pvr2_sysfs_internal_check()
|
D | pvrusb2-v4l2.c | 911 static void pvr2_v4l2_internal_check(struct pvr2_channel *chp) in pvr2_v4l2_internal_check() argument 914 vp = container_of(chp,struct pvr2_v4l2,channel); in pvr2_v4l2_internal_check()
|
/Linux-v4.19/include/sound/ |
D | vx_core.h | 101 void (*set_clock_source)(struct vx_core *chp, int src);
|