/linux-master/arch/riscv/kvm/ |
H A D | aia_aplic.c | 128 static void aplic_write_pending(struct aplic *aplic, u32 irq, bool pending) argument 145 if (!pending) 155 if (pending) 356 u32 val, bool pending) 362 aplic_write_pending(aplic, word * 32 + i, pending); 355 aplic_write_pending_word(struct aplic *aplic, u32 word, u32 val, bool pending) argument
|
/linux-master/drivers/usb/gadget/function/ |
H A D | u_audio.c | 151 unsigned int pending; local 245 pending = runtime->dma_bytes - hw_ptr; 248 if (unlikely(pending < req->actual)) { 249 memcpy(req->buf, runtime->dma_area + hw_ptr, pending); 250 memcpy(req->buf + pending, runtime->dma_area, 251 req->actual - pending); 257 if (unlikely(pending < req->actual)) { 258 memcpy(runtime->dma_area + hw_ptr, req->buf, pending); 259 memcpy(runtime->dma_area, req->buf + pending, 260 req->actual - pending); [all...] |
/linux-master/drivers/block/drbd/ |
H A D | drbd_req.c | 864 drbd_err(device, "FIXME (BARRIER_ACKED but pending)\n"); 1062 * protocol, pending requests etc. */ 1470 struct list_head *pending, 1487 list_move_tail(&req->tl_requests, pending); 1492 return !list_empty(pending); 1495 static void send_and_submit_pending(struct drbd_device *device, struct list_head *pending) argument 1501 while ((req = list_first_entry_or_null(pending, struct drbd_request, tl_requests))) { 1515 LIST_HEAD(pending); /* to be submitted after next AL-transaction commit */ 1536 prepare_al_transaction_nonblock(device, &incoming, &pending, &busy); 1537 if (!list_empty(&pending)) 1468 prepare_al_transaction_nonblock(struct drbd_device *device, struct list_head *incoming, struct list_head *pending, struct list_head *later) argument [all...] |
/linux-master/drivers/spi/ |
H A D | spi-atmel.c | 1122 u32 status, pending, imr; local 1128 pending = status & imr; 1130 if (pending & SPI_BIT(OVRES)) { 1152 } else if (pending & (SPI_BIT(RDRF) | SPI_BIT(RXFTHF))) { 1160 spi_writel(as, IDR, pending); 1167 WARN_ONCE(pending, "IRQ not handled, pending = %x\n", pending); 1169 spi_writel(as, IDR, pending); 1180 u32 status, pending, im local [all...] |
/linux-master/net/sunrpc/ |
H A D | xprt.c | 20 * pending requests for that transport. If a matching XID is found, the 587 * xprt_wake_pending_tasks - wake all tasks on a transport's pending queue 595 rpc_wake_up_status(&xprt->pending, status); 597 rpc_wake_up(&xprt->pending); 779 rpc_wake_up_queued_task_set_status(&xprt->pending, 938 rpc_sleep_on_timeout(&xprt->pending, task, NULL, 952 rpc_wake_up_queued_task(&xprt->pending, task); 1232 rpc_wake_up_queued_task(&xprt->pending, task); 1259 * and put the task to sleep on the pending queue. 1265 rpc_sleep_on_timeout(&req->rq_xprt->pending, tas [all...] |
/linux-master/sound/soc/atmel/ |
H A D | mchp-spdifrx.c | 348 u32 sr, imr, pending; local 354 pending = sr & imr; 355 dev_dbg(dev->dev, "ISR: %#x, IMR: %#x, pending: %#x\n", sr, imr, 356 pending); 358 if (!pending) 361 if (pending & SPDIFRX_IR_BLOCKEND) { 371 if (pending & SPDIFRX_IR_CSC(ch)) { 379 if (pending & SPDIFRX_IR_OVERRUN) {
|
H A D | mchp-spdiftx.c | 245 u32 sr, imr, pending, idr = 0; local 249 pending = sr & imr; 251 if (!pending) 254 if (pending & SPDIFTX_IR_TXUDR) { 259 if (pending & SPDIFTX_IR_TXOVR) { 264 if (pending & SPDIFTX_IR_UDRDY) { 271 if (pending & SPDIFTX_IR_CSRDY) {
|
/linux-master/drivers/net/wireless/mediatek/mt76/ |
H A D | tx.c | 229 int pending; local 234 pending = atomic_dec_return(&wcid->non_aql_packets); 235 if (pending < 0) 236 atomic_cmpxchg(&wcid->non_aql_packets, pending, 0); 307 int pending; local 321 pending = atomic_inc_return(&wcid->non_aql_packets); 322 if (stop && pending >= MT_MAX_NON_AQL_PKT)
|
/linux-master/drivers/media/i2c/ |
H A D | mt9v111.c | 145 bool pending; member in struct:mt9v111_dev 698 if (enable && mt9v111->pending) { 708 mt9v111->pending = false; 775 mt9v111->pending = true; 948 /* Update the format and sizes, then mark changes as pending. */ 954 mt9v111->pending = true; 1021 mt9v111->pending = true; 1213 mt9v111->pending = true;
|
/linux-master/drivers/irqchip/ |
H A D | irq-stm32-exti.c | 299 unsigned long pending; local 301 pending = irq_reg_readl(gc, stm32_bank->rpr_ofst); 303 pending |= irq_reg_readl(gc, stm32_bank->fpr_ofst); 305 return pending; 314 unsigned long pending; local 322 while ((pending = stm32_exti_pending(gc))) { 323 for_each_set_bit(n, &pending, IRQS_PER_BANK)
|
H A D | irq-bcm7038-l1.c | 136 unsigned long pending, flags; local 140 pending = l1_readl(cpu->map_base + reg_status(intc, idx)) & 144 for_each_set_bit(hwirq, &pending, IRQS_PER_WORD)
|
/linux-master/drivers/mmc/host/ |
H A D | dw_mmc.c | 2725 u32 pending; local 2728 pending = mci_readl(host, MINTSTS); /* read-only mask reg */ 2730 if (pending) { 2733 (pending & SDMMC_INT_VOLT_SWITCH)) { 2735 pending &= ~SDMMC_INT_VOLT_SWITCH; 2742 dw_mci_cmd_interrupt(host, pending); 2748 if (pending & DW_MCI_CMD_ERROR_FLAGS) { 2753 host->cmd_status = pending; 2760 if (pending & DW_MCI_DATA_ERROR_FLAGS) { 2768 host->data_status = pending; 3108 u32 pending; local 3163 u32 pending; local [all...] |
/linux-master/drivers/misc/ |
H A D | hpilo.c | 404 /* clear the device (reset bits, pending channel entries) */ 649 int pending, i; local 654 pending = get_device_outbound(hw); 655 if (!pending) { 660 if (is_db_reset(pending)) { 662 pending = -1; 669 if (pending & (1 << i)) 674 clear_pending_db(hw, pending);
|
/linux-master/drivers/gpio/ |
H A D | gpio-pca953x.c | 832 static bool pca953x_irq_pending(struct pca953x_chip *chip, unsigned long *pending) argument 856 bitmap_and(pending, new_stat, trigger, gc->ngpio); 858 return !bitmap_empty(pending, gc->ngpio); 882 bitmap_and(pending, new_stat, trigger, gc->ngpio); 884 return !bitmap_empty(pending, gc->ngpio); 891 DECLARE_BITMAP(pending, MAX_LINE); 895 bitmap_zero(pending, MAX_LINE); 898 ret = pca953x_irq_pending(chip, pending); 902 for_each_set_bit(level, pending, gc->ngpio) {
|
/linux-master/drivers/net/ethernet/ |
H A D | ethoc.c | 532 * event pending... 554 u32 pending; local 566 pending = ethoc_read(priv, INT_SOURCE); 567 pending &= mask; 569 if (unlikely(pending == 0)) 572 ethoc_ack_irq(priv, pending); 575 if (pending & INT_MASK_BUSY) { 581 if (pending & (INT_MASK_TX | INT_MASK_RX)) { 875 u32 pending = ethoc_read(priv, INT_SOURCE); local 876 if (likely(pending)) [all...] |
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_crtc.c | 33 /* if there is a pending flip, these will be non-null: */ 43 atomic_t pending; member in struct:mdp5_crtc 77 static void request_pending(struct drm_crtc *crtc, uint32_t pending) argument 81 atomic_or(pending, &mdp5_crtc->pending); 825 * It is better to request pending before FLUSH and START trigger 1189 unsigned pending; local 1193 pending = atomic_xchg(&mdp5_crtc->pending, 0); 1195 if (pending [all...] |
/linux-master/tools/perf/util/ |
H A D | metricgroup.c | 860 } *pending = NULL; local 865 * the pending array. 871 pending = realloc(pending, 873 if (!pending) 876 memcpy(&pending[pending_cnt].pm, &pm, sizeof(pm)); 877 pending[pending_cnt].key = cur->pkey; 884 expr__del_id(root_metric->pctx, pending[i].key); 891 ret = add_metric(metric_list, &pending[i].pm, modifier, metric_no_group, 898 free(pending); [all...] |
/linux-master/drivers/crypto/cavium/zip/ |
H A D | zip_main.c | 496 u64 pending = 0; local 502 /* Get all the pending requests */ 506 pending += val >> 32 & 0xffffff; 541 pending);
|
/linux-master/drivers/mfd/ |
H A D | twl4030-irq.c | 293 unsigned long pending = __ffs(pih_isr); local 296 pih_isr &= ~BIT(pending); 297 irq = pending + twl4030_irq_base; 347 * Maybe disable "exclusive" mode; buffer second pending irq; 378 * Clear pending interrupt status. Either the read was 380 * case an IRQ is pending (PENDDIS=0) ... that's not
|
/linux-master/include/net/ |
H A D | fq_impl.h | 69 int pending; local 73 pending = min_t(int, 32, skb_queue_len(&flow->queue) / 2); 83 } while (packets < pending);
|
/linux-master/drivers/xen/ |
H A D | efi.c | 80 efi_bool_t *pending, 96 if (pending) 97 *pending = !!(efi_data(op).misc & XEN_EFI_GET_WAKEUP_TIME_PENDING); 79 xen_efi_get_wakeup_time(efi_bool_t *enabled, efi_bool_t *pending, efi_time_t *tm) argument
|
/linux-master/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptlf.h | 15 * CPT instruction and pending queues user requested length in CPT_INST_S msgs 26 * CPT instruction and pending queues length in CPT_INST_S messages 228 u64 qsize, pending; local 241 pending = (FIELD_GET(XQ_XOR, inst_ptr) * qsize * 40) + 245 } while ((pending != 0) && (timeout != 0)); 248 dev_warn(&pdev->dev, "TIMEOUT: CPT poll on pending instructions\n");
|
/linux-master/drivers/tty/serial/ |
H A D | esp32_acm.c | 156 unsigned int pending; local 163 pending = uart_port_tx_limited(port, ch, 167 if (pending) {
|
/linux-master/arch/mips/bcm63xx/ |
H A D | irq.c | 77 u32 pending[width / 32]; \ 91 pending[--tgt] = val; \ 105 if (pending[to_call / 32] & (1 << (to_call & 0x1f))) { \
|
/linux-master/drivers/gpu/drm/renesas/rz-du/ |
H A D | rzg2l_du_crtc.c | 133 bool pending; local 136 pending = rcrtc->event; 139 return pending;
|