/drivers/clk/sunxi-ng/ |
D | ccu_mp.c | 49 struct ccu_mp *cmp = data; in ccu_mp_round_rate() local 53 max_m = cmp->m.max ?: 1 << cmp->m.width; in ccu_mp_round_rate() 54 max_p = cmp->p.max ?: 1 << ((1 << cmp->p.width) - 1); in ccu_mp_round_rate() 63 struct ccu_mp *cmp = hw_to_ccu_mp(hw); in ccu_mp_disable() local 65 return ccu_gate_helper_disable(&cmp->common, cmp->enable); in ccu_mp_disable() 70 struct ccu_mp *cmp = hw_to_ccu_mp(hw); in ccu_mp_enable() local 72 return ccu_gate_helper_enable(&cmp->common, cmp->enable); in ccu_mp_enable() 77 struct ccu_mp *cmp = hw_to_ccu_mp(hw); in ccu_mp_is_enabled() local 79 return ccu_gate_helper_is_enabled(&cmp->common, cmp->enable); in ccu_mp_is_enabled() 85 struct ccu_mp *cmp = hw_to_ccu_mp(hw); in ccu_mp_recalc_rate() local [all …]
|
/drivers/md/ |
D | dm-cache-background-tracker.c | 82 int cmp; in __insert_pending() local 90 cmp = cmp_oblock(w->work.oblock, nw->work.oblock); in __insert_pending() 91 if (cmp < 0) in __insert_pending() 94 else if (cmp > 0) in __insert_pending() 111 int cmp; in __find_pending() local 118 cmp = cmp_oblock(w->work.oblock, oblock); in __find_pending() 119 if (cmp < 0) in __find_pending() 122 else if (cmp > 0) in __find_pending()
|
/drivers/gpu/drm/i915/ |
D | i915_vma.h | 206 ptrdiff_t cmp; in i915_vma_compare() local 210 cmp = ptrdiff(vma->vm, vm); in i915_vma_compare() 211 if (cmp) in i915_vma_compare() 212 return cmp; in i915_vma_compare() 215 cmp = vma->ggtt_view.type; in i915_vma_compare() 217 return cmp; in i915_vma_compare() 219 cmp -= view->type; in i915_vma_compare() 220 if (cmp) in i915_vma_compare() 221 return cmp; in i915_vma_compare()
|
/drivers/md/bcache/ |
D | util.h | 59 #define heap_sift(h, i, cmp) \ argument 66 cmp((h)->data[_r], (h)->data[_r + 1])) \ 69 if (cmp((h)->data[_r], (h)->data[_j])) \ 75 #define heap_sift_down(h, i, cmp) \ argument 79 if (cmp((h)->data[i], (h)->data[p])) \ 86 #define heap_add(h, d, cmp) \ argument 93 heap_sift_down(h, _i, cmp); \ 94 heap_sift(h, _i, cmp); \ 99 #define heap_pop(h, d, cmp) \ argument 106 heap_sift(h, 0, cmp); \ [all …]
|
/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | option.h | 13 strncasecmpz(const char *str, const char *cmp, size_t len) in strncasecmpz() argument 15 if (strlen(cmp) != len) in strncasecmpz() 17 return strncasecmp(str, cmp, len); in strncasecmpz()
|
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/ |
D | kernel.fuc | 104 cmp b32 $r9 $r14 125 cmp b32 $r10 $r12 129 cmp b32 $r9 $r11 142 cmp b32 $r9 0 160 cmp b32 $r10 0 163 cmp b32 $r9 $r10 172 cmp b32 $r14 #proc_list_tail 202 cmp b32 $r9 0 331 cmp b32 $r8 0 356 cmp b32 $r14 $r0 [all …]
|
D | memx.fuc | 173 cmp b32 $r6 0x0 175 cmp b32 $r6 0x1 341 cmp b16 $r5 0x4 349 cmp b16 $r6 0x10 354 cmp b16 $r5 7 388 cmp b32 $r1 $r2 410 cmp b16 $r12 0x1 435 cmp b32 $r13 MEMX_MSG_EXEC 437 cmp b32 $r13 MEMX_MSG_INFO
|
D | i2c_.fuc | 84 cmp b32 $r3 0 93 cmp b32 $r3 0 256 cmp b32 $r4 0 261 cmp b32 $r3 1 315 cmp b32 $r1 (#i2c_sda_map - #i2c_scl_map) 331 cmp b32 $r13 I2C__MSG_RD08 351 cmp b32 $r13 I2C__MSG_WR08
|
D | host.fuc | 69 cmp b32 $r1 $r2 102 cmp b32 $r14 $r1 110 cmp b32 $r1 $r2
|
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | disp.c | 166 nvbios_oclk_match(struct nvkm_bios *bios, u16 cmp, u32 khz) in nvbios_oclk_match() argument 168 while (cmp) { in nvbios_oclk_match() 169 if (khz / 10 >= nvbios_rd16(bios, cmp + 0x00)) in nvbios_oclk_match() 170 return nvbios_rd16(bios, cmp + 0x02); in nvbios_oclk_match() 171 cmp += 0x04; in nvbios_oclk_match()
|
/drivers/dax/ |
D | pmem.c | 24 struct completion cmp; member 37 complete(&dax_pmem->cmp); in dax_pmem_percpu_release() 46 wait_for_completion(&dax_pmem->cmp); in dax_pmem_percpu_exit() 102 init_completion(&dax_pmem->cmp); in dax_pmem_probe()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_pool.c | 309 int cmp; in insert_key() local 315 cmp = memcmp((u8 *)elem + pool->key_offset, in insert_key() 318 if (cmp == 0) { in insert_key() 323 if (cmp > 0) in insert_key() 471 int cmp; in rxe_pool_get_key() local 484 cmp = memcmp((u8 *)elem + pool->key_offset, in rxe_pool_get_key() 487 if (cmp > 0) in rxe_pool_get_key() 489 else if (cmp < 0) in rxe_pool_get_key()
|
/drivers/misc/ |
D | cs5535-mfgpt.c | 47 int cs5535_mfgpt_toggle_event(struct cs5535_mfgpt_timer *timer, int cmp, in cs5535_mfgpt_toggle_event() argument 51 int shift = (cmp == MFGPT_CMP1) ? 0 : 8; in cs5535_mfgpt_toggle_event() 99 int cs5535_mfgpt_set_irq(struct cs5535_mfgpt_timer *timer, int cmp, int *irq, in cs5535_mfgpt_set_irq() argument 119 shift = ((cmp == MFGPT_CMP1 ? 0 : 4) + timer->nr % 4) * 4; in cs5535_mfgpt_set_irq() 137 if (cs5535_mfgpt_toggle_event(timer, cmp, MFGPT_EVENT_IRQ, enable)) in cs5535_mfgpt_set_irq()
|
/drivers/dma/ioat/ |
D | init.c | 300 struct completion *cmp = dma_async_param; in ioat_dma_test_callback() local 302 complete(cmp); in ioat_dma_test_callback() 321 struct completion cmp; in ioat_dma_self_test() local 370 init_completion(&cmp); in ioat_dma_self_test() 372 tx->callback_param = &cmp; in ioat_dma_self_test() 381 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_dma_self_test() 782 struct completion cmp; in ioat_xor_val_self_test() local 860 init_completion(&cmp); in ioat_xor_val_self_test() 862 tx->callback_param = &cmp; in ioat_xor_val_self_test() 871 tmo = wait_for_completion_timeout(&cmp, msecs_to_jiffies(3000)); in ioat_xor_val_self_test() [all …]
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx.seq | 86 cmp WAITING_SCBH,SCB_LIST_NULL jne start_waiting; 99 cmp KERNEL_QINPOS, A je poll_for_work_loop; 130 cmp NEXT_QUEUED_SCB, A jne abort_qinscb; 132 cmp SCB_TAG, A je . + 2; 326 cmp RETURN_1, EXIT_MSG_LOOP je target_ITloop; 503 cmp TARG_IMMEDIATE_SCB, SCB_LIST_NULL je .; 549 cmp TQINPOS, A jne tqinfifo_has_space; 583 cmp A, 1 jne . + 2; 667 cmp A,P_COMMAND je p_command; 668 cmp A,P_MESGOUT je p_mesgout; [all …]
|
D | aic79xx.seq | 76 cmp QFREEZE_COUNT, A jne check_frozen_completions; 78 cmp QFREEZE_COUNT[1], A jne check_frozen_completions; 89 cmp COMPLETE_ON_QFREEZE_HEAD[1],SCB_LIST_NULL je idle_loop_checkbus; 95 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL je join_lists; 100 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL jne . - 1; 107 cmp WAITING_TID_HEAD[1], SCB_LIST_NULL je idle_loop_checkbus; 133 cmp A, FIFO0FREE|FIFO1FREE jne . + 3; 229 cmp SCB_NEXT_COMPLETE[1], SCB_LIST_NULL jne . + 2; 253 cmp COMPLETE_DMA_SCB_HEAD[1], SCB_LIST_NULL jne coalesce_by_count; 254 cmp COMPLETE_SCB_HEAD[1], SCB_LIST_NULL jne coalesce_by_count; [all …]
|
/drivers/dma-buf/ |
D | sw_sync.c | 272 int cmp; in sync_pt_create() local 276 cmp = value - other->base.seqno; in sync_pt_create() 277 if (cmp > 0) { in sync_pt_create() 279 } else if (cmp < 0) { in sync_pt_create()
|
/drivers/w1/slaves/ |
D | w1_ds2805.c | 66 u8 cmp[W1_F0D_READ_MAXLEN]; in w1_f0d_readblock() local 84 w1_read_block(sl->master, cmp, count); in w1_f0d_readblock() 86 if (!memcmp(cmp, buf, count)) in w1_f0d_readblock()
|
D | w1_ds2431.c | 69 u8 cmp[W1_F2D_READ_MAXLEN]; in w1_f2d_readblock() local 87 w1_read_block(sl->master, cmp, count); in w1_f2d_readblock() 89 if (!memcmp(cmp, buf, count)) in w1_f2d_readblock()
|
/drivers/misc/sgi-gru/ |
D | grufault.c | 538 struct completion *cmp; in gru_intr() local 558 cmp = gru->gs_blade->bs_async_wq; in gru_intr() 559 if (cmp) in gru_intr() 560 complete(cmp); in gru_intr() 562 gru->gs_gid, cbrnum, cmp ? cmp->done : -1); in gru_intr()
|
/drivers/block/ |
D | sunvdc.c | 57 struct vdc_completion *cmp; member 185 if (vio->cmp && in vdc_finish() 187 vio->cmp->waiting_for == waiting_for)) { in vdc_finish() 188 vio->cmp->err = err; in vdc_finish() 189 complete(&vio->cmp->com); in vdc_finish() 190 vio->cmp = NULL; in vdc_finish() 654 port->vio.cmp = ∁ in generic_request() 680 port->vio.cmp = NULL; in generic_request() 745 port->vio.cmp = ∁ in vdc_port_up()
|
/drivers/i2c/busses/ |
D | i2c-ismt.c | 174 struct completion cmp; /* interrupt completion */ member 582 reinit_completion(&priv->cmp); in ismt_access() 588 time_left = wait_for_completion_timeout(&priv->cmp, HZ*1); in ismt_access() 643 complete(&priv->cmp); in ismt_handle_isr() 783 init_completion(&priv->cmp); in ismt_dev_init()
|
/drivers/clk/samsung/ |
D | clk-s3c2410-dclk.c | 176 u32 dclk_con, div, cmp; in s3c24xx_dclk_update_cmp() local 183 cmp = ((div + 1) / 2) - 1; in s3c24xx_dclk_update_cmp() 186 dclk_con |= (cmp << cmp_shift); in s3c24xx_dclk_update_cmp()
|
/drivers/gpu/drm/rockchip/ |
D | inno_hdmi.c | 55 struct completion cmp; member 653 complete(&i2c->cmp); in inno_hdmi_i2c_irq() 691 ret = wait_for_completion_timeout(&hdmi->i2c->cmp, HZ / 10); in inno_hdmi_i2c_read() 712 reinit_completion(&hdmi->i2c->cmp); in inno_hdmi_i2c_write() 789 init_completion(&i2c->cmp); in inno_hdmi_i2c_adapter()
|
/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 306 struct lpfc_dmabuf *bmp, *cmp, *rmp; in lpfc_bsg_send_mgmt_cmd_cmp() local 333 cmp = cmdiocbq->context2; in lpfc_bsg_send_mgmt_cmd_cmp() 364 lpfc_free_bsg_buffers(phba, cmp); in lpfc_bsg_send_mgmt_cmd_cmp() 398 struct lpfc_dmabuf *bmp = NULL, *cmp = NULL, *rmp = NULL; in lpfc_bsg_send_mgmt_cmd() local 452 cmp = lpfc_alloc_bsg_buffers(phba, job->request_payload.payload_len, in lpfc_bsg_send_mgmt_cmd() 454 if (!cmp) { in lpfc_bsg_send_mgmt_cmd() 458 lpfc_bsg_copy_data(cmp, &job->request_payload, in lpfc_bsg_send_mgmt_cmd() 496 cmdiocbq->context2 = cmp; in lpfc_bsg_send_mgmt_cmd() 539 lpfc_free_bsg_buffers(phba, cmp); in lpfc_bsg_send_mgmt_cmd() 1405 struct lpfc_dmabuf *bmp, *cmp; in lpfc_issue_ct_rsp_cmp() local [all …]
|