/Linux-v5.4/virt/lib/ |
D | irqbypass.c | 30 static int __connect(struct irq_bypass_producer *prod, in __connect() argument 35 if (prod->stop) in __connect() 36 prod->stop(prod); in __connect() 40 if (prod->add_consumer) in __connect() 41 ret = prod->add_consumer(prod, cons); in __connect() 44 ret = cons->add_producer(cons, prod); in __connect() 45 if (ret && prod->del_consumer) in __connect() 46 prod->del_consumer(prod, cons); in __connect() 51 if (prod->start) in __connect() 52 prod->start(prod); in __connect() [all …]
|
/Linux-v5.4/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 47 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_write_reg() 75 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_read_reg() 133 (config->prod == LGS8GXX_PROD_LGS8G52)) { in lgs8gxx_set_ad_mode() 163 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_if_freq() 185 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) in lgs8gxx_get_afc_phase() 207 u8 prod = priv->config->prod; in lgs8gxx_set_mode_auto() local 209 if (prod == LGS8GXX_PROD_LGS8913) in lgs8gxx_set_mode_auto() 212 if (prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_mode_auto() 218 } else if (prod == LGS8GXX_PROD_LGS8913 || in lgs8gxx_set_mode_auto() 219 prod == LGS8GXX_PROD_LGS8GL5 || in lgs8gxx_set_mode_auto() [all …]
|
/Linux-v5.4/drivers/xen/xenbus/ |
D | xenbus_comms.c | 74 static int check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in check_indexes() argument 76 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes() 80 XENSTORE_RING_IDX prod, in get_output_chunk() argument 83 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk() 84 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk() 85 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk() 86 return buf + MASK_XENSTORE_IDX(prod); in get_output_chunk() 90 XENSTORE_RING_IDX prod, in get_input_chunk() argument 94 if ((prod - cons) < *len) in get_input_chunk() 95 *len = prod - cons; in get_input_chunk() [all …]
|
/Linux-v5.4/drivers/zorro/ |
D | names.c | 20 __u16 prod; member 40 #define PRODUCT( manuf, prod, name ) static char __prodstr_##manuf##prod[] __initdata = name; argument 46 #define PRODUCT( manuf, prod, name ) { 0x##prod, 0, __prodstr_##manuf##prod }, argument 52 #define PRODUCT( manuf, prod, name ) argument 78 if (prod_p->prod == in zorro_name_device()
|
/Linux-v5.4/drivers/net/can/softing/ |
D | softing_cs.c | 30 .manf = 0x0168, .prod = 0x001, 42 .manf = 0x0168, .prod = 0x002, 54 .manf = 0x0168, .prod = 0x004, 66 .manf = 0x0168, .prod = 0x005, 78 .manf = 0x0168, .prod = 0x081, 90 .manf = 0x0168, .prod = 0x084, 102 .manf = 0x0168, .prod = 0x085, 114 .manf = 0x0168, .prod = 0x102, 126 .manf = 0x0168, .prod = 0x105, 151 *softingcs_find_platform_data(unsigned int manf, unsigned int prod) in softingcs_find_platform_data() argument [all …]
|
/Linux-v5.4/fs/xfs/ |
D | xfs_rtalloc.c | 231 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block() argument 306 if (prod > 1) { in xfs_rtallocate_extent_block() 307 div_u64_rem(bestlen, prod, &p); in xfs_rtallocate_extent_block() 347 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact() argument 355 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact() 389 if (prod > 1 && (i = maxlen % prod)) { in xfs_rtallocate_extent_exact() 426 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_near() argument 438 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_near() 449 rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near() 492 rsb, prod, &r); in xfs_rtallocate_extent_near() [all …]
|
/Linux-v5.4/drivers/iommu/ |
D | arm-smmu-v3.c | 493 u32 prod; member 497 atomic_t prod; member 714 u32 space, prod, cons; in queue_has_space() local 716 prod = Q_IDX(q, q->prod); in queue_has_space() 719 if (Q_WRP(q, q->prod) == Q_WRP(q, q->cons)) in queue_has_space() 720 space = (1 << q->max_n_shift) - (prod - cons); in queue_has_space() 722 space = cons - prod; in queue_has_space() 729 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_full() 730 Q_WRP(q, q->prod) != Q_WRP(q, q->cons); in queue_full() 735 return Q_IDX(q, q->prod) == Q_IDX(q, q->cons) && in queue_empty() [all …]
|
/Linux-v5.4/net/9p/ |
D | trans_xen.c | 129 RING_IDX cons, prod; in p9_xen_write_todo() local 132 prod = ring->intf->out_prod; in p9_xen_write_todo() 136 xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE) >= size; in p9_xen_write_todo() 142 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() local 167 prod = ring->intf->out_prod; in p9_xen_request() 170 if (XEN_9PFS_RING_SIZE - xen_9pfs_queued(prod, cons, in p9_xen_request() 176 masked_prod = xen_9pfs_mask(prod, XEN_9PFS_RING_SIZE); in p9_xen_request() 184 prod += size; in p9_xen_request() 185 ring->intf->out_prod = prod; in p9_xen_request() 197 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_response() local [all …]
|
/Linux-v5.4/net/smc/ |
D | smc_cdc.h | 46 union smc_cdc_cursor prod; member 72 union smcd_cdc_cursor prod; member 233 smc_host_cursor_to_cdc(&peer->prod, &local->prod, save, conn); in smc_host_msg_to_cdc() 266 smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); in smcr_cdc_msg_to_host() 278 temp.wrap = peer->prod.wrap; in smcd_cdc_msg_to_host() 279 temp.count = peer->prod.count; in smcd_cdc_msg_to_host() 280 smc_curs_copy(&local->prod, &temp, conn); in smcd_cdc_msg_to_host()
|
D | smc_tx.c | 294 union smc_host_cursor *prod, in smc_tx_advance_cursors() argument 298 smc_curs_add(conn->peer_rmbe_size, prod, len); in smc_tx_advance_cursors() 406 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local 424 smc_curs_copy(&prod, &conn->local_tx_ctrl.prod, conn); in smc_tx_rdma_writes() 434 dst_off = prod.count; in smc_tx_rdma_writes() 435 if (prod.wrap == cons.wrap) { in smc_tx_rdma_writes() 442 conn->peer_rmbe_size - prod.count, len); in smc_tx_rdma_writes() 470 smc_tx_advance_cursors(conn, &prod, &sent, len); in smc_tx_rdma_writes() 472 smc_curs_copy(&conn->local_tx_ctrl.prod, &prod, conn); in smc_tx_rdma_writes() 592 union smc_host_cursor cfed, cons, prod; in smc_tx_consumer_update() local [all …]
|
D | smc_cdc.c | 86 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send() 185 curs.acurs.counter = atomic64_read(&conn->local_tx_ctrl.prod.acurs); in smcd_cdc_msg_send() 186 cdc.prod.wrap = curs.wrap; in smcd_cdc_msg_send() 187 cdc.prod.count = curs.count; in smcd_cdc_msg_send() 226 smc_curs_copy(&conn->urg_curs, &conn->local_rx_ctrl.prod, conn); in smc_cdc_handle_urg_data_arrival() 246 smc_curs_copy(&prod_old, &conn->local_rx_ctrl.prod, conn); in smc_cdc_msg_recv_action() 263 &conn->local_rx_ctrl.prod); in smc_cdc_msg_recv_action() 335 smcd_curs_copy(&cdc.prod, &data_cdc->prod, conn); in smcd_cdc_rx_tsklet()
|
/Linux-v5.4/tools/lib/bpf/ |
D | xsk.h | 116 static inline size_t xsk_ring_prod__reserve(struct xsk_ring_prod *prod, in xsk_ring_prod__reserve() argument 119 if (xsk_prod_nb_free(prod, nb) < nb) in xsk_ring_prod__reserve() 122 *idx = prod->cached_prod; in xsk_ring_prod__reserve() 123 prod->cached_prod += nb; in xsk_ring_prod__reserve() 128 static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, size_t nb) in xsk_ring_prod__submit() argument 135 *prod->producer += nb; in xsk_ring_prod__submit()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 30 u16 prod; in bnxt_xmit_bd() local 32 prod = txr->tx_prod; in bnxt_xmit_bd() 33 tx_buf = &txr->tx_buf_ring[prod]; in bnxt_xmit_bd() 35 txbd = &txr->tx_desc_ring[TX_RING(prod)][TX_IDX(prod)]; in bnxt_xmit_bd() 39 txbd->tx_bd_opaque = prod; in bnxt_xmit_bd() 42 prod = NEXT_TX(prod); in bnxt_xmit_bd() 43 txr->tx_prod = prod; in bnxt_xmit_bd()
|
/Linux-v5.4/include/xen/interface/io/ |
D | ring.h | 390 static inline RING_IDX name##_queued(RING_IDX prod, \ 396 if (prod == cons) \ 399 prod = name##_mask(prod, ring_size); \ 402 if (prod == cons) \ 405 if (prod > cons) \ 406 size = prod - cons; \ 408 size = ring_size - (cons - prod); \
|
/Linux-v5.4/Documentation/hwmon/ |
D | tmp401.rst | 12 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp401.html 20 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp411.html 28 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp431.html 36 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html 44 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html
|
D | tmp421.rst | 12 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html 20 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html 28 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
|
/Linux-v5.4/arch/sparc/kernel/ |
D | visemul.c | 605 u32 prod = src1 * src2; in pmul() local 606 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() 609 if (prod & 0x80) in pmul() 630 u32 prod = src1 * src2; in pmul() local 631 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() 634 if (prod & 0x80) in pmul() 655 u32 prod; in pmul() local 660 prod = src1 * src2; in pmul() 661 scaled = ((prod & 0x00ffff00) >> 8); in pmul() 664 if (prod & 0x80) in pmul() [all …]
|
/Linux-v5.4/drivers/net/xen-netback/ |
D | rx.c | 38 RING_IDX prod, cons; in xenvif_rx_ring_slots_available() local 53 prod = queue->rx.sring->req_prod; in xenvif_rx_ring_slots_available() 56 if (prod - cons >= needed) in xenvif_rx_ring_slots_available() 59 queue->rx.sring->req_event = prod + 1; in xenvif_rx_ring_slots_available() 65 } while (queue->rx.sring->req_prod != prod); in xenvif_rx_ring_slots_available() 472 RING_IDX prod, cons; in xenvif_rx_queue_stalled() local 474 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_stalled() 478 prod - cons < 1 && in xenvif_rx_queue_stalled() 485 RING_IDX prod, cons; in xenvif_rx_queue_ready() local 487 prod = queue->rx.sring->req_prod; in xenvif_rx_queue_ready() [all …]
|
/Linux-v5.4/sound/usb/line6/ |
D | variax.c | 186 #define LINE6_DEVICE(prod) USB_DEVICE(0x0e41, prod) argument 187 #define LINE6_IF_NUM(prod, n) USB_DEVICE_INTERFACE_NUMBER(0x0e41, prod, n) argument
|
/Linux-v5.4/drivers/tty/hvc/ |
D | hvc_xen.c | 82 XENCONS_RING_IDX cons, prod; in __write_console() local 87 prod = intf->out_prod; in __write_console() 89 BUG_ON((prod - cons) > sizeof(intf->out)); in __write_console() 91 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console() 92 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console() 95 intf->out_prod = prod; in __write_console() 131 XENCONS_RING_IDX cons, prod; in domU_read_console() local 139 prod = intf->in_prod; in domU_read_console() 141 BUG_ON((prod - cons) > sizeof(intf->in)); in domU_read_console() 143 while (cons != prod && recv < len) in domU_read_console()
|
/Linux-v5.4/drivers/iio/light/ |
D | vcnl4000.c | 86 const char *prod; member 289 .prod = "VCNL4000", 295 .prod = "VCNL4010/4020", 301 .prod = "VCNL4040", 307 .prod = "VCNL4200", 386 data->chip_spec->prod, data->rev); in vcnl4000_probe()
|
/Linux-v5.4/tools/usb/usbip/libsrc/ |
D | usbip_common.c | 281 const char *prod, *vend; in usbip_names_get_product() local 283 prod = names_product(vendor, product); in usbip_names_get_product() 284 if (!prod) in usbip_names_get_product() 285 prod = "unknown product"; in usbip_names_get_product() 292 snprintf(buff, size, "%s : %s (%04x:%04x)", vend, prod, vendor, product); in usbip_names_get_product()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | en_tx.c | 189 ring->prod = 0; in mlx4_en_activate_tx_ring() 227 return ring->prod - ring->cons > ring->full_size; in mlx4_en_is_tx_ring_full() 360 ring->cons, ring->prod); in mlx4_en_free_tx_buf() 362 if ((u32) (ring->prod - ring->cons) > ring->size) { in mlx4_en_free_tx_buf() 368 while (ring->cons != ring->prod) { in mlx4_en_free_tx_buf() 891 (u32)(ring->prod - ring_cons - 1)); in mlx4_en_xmit() 894 index = ring->prod & ring->size_mask; in mlx4_en_xmit() 895 bf_index = ring->prod; in mlx4_en_xmit() 978 ((ring->prod & ring->size) ? in mlx4_en_xmit() 997 ((ring->prod & ring->size) ? in mlx4_en_xmit() [all …]
|
/Linux-v5.4/include/uapi/linux/ |
D | zorro.h | 36 #define ZORRO_ID(manuf, prod, epc) \ argument 37 ((ZORRO_MANUF_##manuf << 16) | ((prod) << 8) | (epc))
|
/Linux-v5.4/include/linux/ |
D | usb.h | 944 #define USB_DEVICE(vend, prod) \ argument 947 .idProduct = (prod) 958 #define USB_DEVICE_VER(vend, prod, lo, hi) \ argument 961 .idProduct = (prod), \ 974 #define USB_DEVICE_INTERFACE_CLASS(vend, prod, cl) \ argument 978 .idProduct = (prod), \ 990 #define USB_DEVICE_INTERFACE_PROTOCOL(vend, prod, pr) \ argument 994 .idProduct = (prod), \ 1006 #define USB_DEVICE_INTERFACE_NUMBER(vend, prod, num) \ argument 1010 .idProduct = (prod), \ [all …]
|