Home
last modified time | relevance | path

Searched refs:prod (Results 1 – 25 of 161) sorted by relevance

1234567

/linux/virt/lib/
A Dirqbypass.c35 if (prod->stop) in __connect()
36 prod->stop(prod); in __connect()
41 ret = prod->add_consumer(prod, cons); in __connect()
46 prod->del_consumer(prod, cons); in __connect()
51 if (prod->start) in __connect()
52 prod->start(prod); in __connect()
61 if (prod->stop) in __disconnect()
62 prod->stop(prod); in __disconnect()
69 prod->del_consumer(prod, cons); in __disconnect()
73 if (prod->start) in __disconnect()
[all …]
/linux/drivers/infiniband/sw/rxe/
A Drxe_queue.h97 u32 prod; in queue_get_producer() local
105 prod = q->index; in queue_get_producer()
112 prod = q->buf->producer_index; in queue_get_producer()
116 return prod; in queue_get_producer()
172 u32 prod; in queue_advance_producer() local
180 prod = q->index; in queue_advance_producer()
181 prod = (prod + 1) & q->index_mask; in queue_advance_producer()
182 q->index = prod; in queue_advance_producer()
191 prod = q->buf->producer_index; in queue_advance_producer()
192 prod = (prod + 1) & q->index_mask; in queue_advance_producer()
[all …]
A Drxe_queue.c115 u32 prod; in resize_finish() local
121 prod = queue_get_producer(new_q, type); in resize_finish()
125 memcpy(queue_addr_from_index(new_q, prod), in resize_finish()
127 prod = queue_next_index(new_q, prod); in resize_finish()
131 new_q->buf->producer_index = prod; in resize_finish()
/linux/drivers/media/dvb-frontends/
A Dlgs8gxx.c133 (config->prod == LGS8GXX_PROD_LGS8G52)) { in lgs8gxx_set_ad_mode()
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()
220 prod == LGS8GXX_PROD_LGS8G42 || in lgs8gxx_set_mode_auto()
221 prod == LGS8GXX_PROD_LGS8G52 || in lgs8gxx_set_mode_auto()
222 prod == LGS8GXX_PROD_LGS8G54) { in lgs8gxx_set_mode_auto()
231 if (prod == LGS8GXX_PROD_LGS8913) { in lgs8gxx_set_mode_auto()
[all …]
/linux/drivers/xen/xenbus/
A Dxenbus_comms.c72 XENSTORE_RING_IDX prod, in get_output_chunk() argument
82 XENSTORE_RING_IDX prod, in get_input_chunk() argument
86 if ((prod - cons) < *len) in get_input_chunk()
87 *len = prod - cons; in get_input_chunk()
109 XENSTORE_RING_IDX cons, prod; in xb_write() local
118 prod = intf->req_prod; in xb_write()
119 if (!check_indexes(cons, prod)) { in xb_write()
145 if (prod <= intf->req_cons) in xb_write()
161 XENSTORE_RING_IDX cons, prod; in xb_read() local
170 prod = intf->rsp_prod; in xb_read()
[all …]
/linux/drivers/zorro/
A Dnames.c20 __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/drivers/net/can/softing/
A Dsofting_cs.c30 .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/fs/xfs/
A Dxfs_rtalloc.c309 if (prod > 1) { in xfs_rtallocate_extent_block()
358 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact()
392 if (prod > 1 && (i = maxlen % prod)) { in xfs_rtallocate_extent_exact()
441 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_near()
460 rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near()
503 rsb, prod, &r); in xfs_rtallocate_extent_near()
570 rsb, prod, &r); in xfs_rtallocate_extent_near()
641 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_size()
1194 if (prod > 1) { in xfs_rtallocate_extent()
1200 minlen += prod - i; in xfs_rtallocate_extent()
[all …]
/linux/drivers/iommu/arm/arm-smmu-v3/
A Darm-smmu-v3.c110 prod = Q_IDX(q, q->prod); in queue_has_space()
159 u32 prod; in queue_sync_prod_in() local
169 if (Q_OVF(prod) != Q_OVF(q->llq.prod)) in queue_sync_prod_in()
172 q->llq.prod = prod; in queue_sync_prod_in()
178 u32 prod = (Q_WRP(q, q->prod) | Q_IDX(q, q->prod)) + n; in queue_inc_prod_n() local
179 return Q_OVF(q->prod) | Q_WRP(q, prod) | Q_IDX(q, prod); in queue_inc_prod_n()
647 u32 prod = llq->prod; in __arm_smmu_cmdq_poll_until_consumed() local
707 .prod = prod, in arm_smmu_cmdq_write_entries()
738 u32 prod; in arm_smmu_cmdq_issue_cmdlist() local
795 arm_smmu_cmdq_set_valid_map(cmdq, llq.prod, head.prod); in arm_smmu_cmdq_issue_cmdlist()
[all …]
/linux/net/smc/
A Dsmc_cdc.h46 union smc_cdc_cursor prod; member
72 union smcd_cdc_cursor prod; member
216 smc_host_cursor_to_cdc(&peer->prod, &local->prod, save, conn); in smc_host_msg_to_cdc()
249 smc_cdc_cursor_to_host(&local->prod, &peer->prod, conn); in smcr_cdc_msg_to_host()
261 temp.wrap = peer->prod.wrap; in smcd_cdc_msg_to_host()
262 temp.count = peer->prod.count; in smcd_cdc_msg_to_host()
263 smc_curs_copy(&local->prod, &temp, conn); in smcd_cdc_msg_to_host()
A Dsmc_tx.c308 union smc_host_cursor *prod, in smc_tx_advance_cursors() argument
312 smc_curs_add(conn->peer_rmbe_size, prod, len); in smc_tx_advance_cursors()
422 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local
444 smc_curs_copy(&prod, &conn->local_tx_ctrl.prod, conn); in smc_tx_rdma_writes()
454 dst_off = prod.count; in smc_tx_rdma_writes()
455 if (prod.wrap == cons.wrap) { in smc_tx_rdma_writes()
462 conn->peer_rmbe_size - prod.count, len); in smc_tx_rdma_writes()
492 smc_curs_copy(&conn->local_tx_ctrl.prod, &prod, conn); in smc_tx_rdma_writes()
626 union smc_host_cursor cfed, cons, prod; in smc_tx_consumer_update() local
634 smc_curs_copy(&prod, &conn->local_rx_ctrl.prod, conn); in smc_tx_consumer_update()
[all …]
A Dsmc_cdc.c95 pend->p_cursor = conn->local_tx_ctrl.prod; in smc_cdc_add_pending_send()
232 curs.acurs.counter = atomic64_read(&conn->local_tx_ctrl.prod.acurs); in smcd_cdc_msg_send()
233 cdc.prod.wrap = curs.wrap; in smcd_cdc_msg_send()
234 cdc.prod.count = curs.count; in smcd_cdc_msg_send()
273 smc_curs_copy(&conn->urg_curs, &conn->local_rx_ctrl.prod, conn); in smc_cdc_handle_urg_data_arrival()
315 smc_curs_copy(&prod_old, &conn->local_rx_ctrl.prod, conn); in smc_cdc_msg_recv_action()
332 &conn->local_rx_ctrl.prod); in smc_cdc_msg_recv_action()
404 smcd_curs_copy(&cdc.prod, &data_cdc->prod, conn); in smcd_cdc_rx_tsklet()
/linux/net/9p/
A Dtrans_xen.c106 RING_IDX cons, prod; in p9_xen_write_todo() local
109 prod = ring->intf->out_prod; in p9_xen_write_todo()
119 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_request() local
144 prod = ring->intf->out_prod; in p9_xen_request()
153 masked_prod = xen_9pfs_mask(prod, XEN_9PFS_RING_SIZE(ring)); in p9_xen_request()
162 prod += size; in p9_xen_request()
163 ring->intf->out_prod = prod; in p9_xen_request()
175 RING_IDX cons, prod, masked_cons, masked_prod; in p9_xen_response() local
185 prod = ring->intf->in_prod; in p9_xen_response()
188 if (xen_9pfs_queued(prod, cons, XEN_9PFS_RING_SIZE(ring)) < in p9_xen_response()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_xdp.c30 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/include/xen/interface/io/
A Dring.h396 static inline RING_IDX name##_queued(RING_IDX prod, \
402 if (prod == cons) \
405 prod = name##_mask(prod, ring_size); \
408 if (prod == cons) \
411 if (prod > cons) \
412 size = prod - cons; \
414 size = ring_size - (cons - prod); \
/linux/tools/lib/bpf/
A Dxsk.h189 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) in xsk_ring_prod__reserve() argument
191 if (xsk_prod_nb_free(prod, nb) < nb) in xsk_ring_prod__reserve()
194 *idx = prod->cached_prod; in xsk_ring_prod__reserve()
195 prod->cached_prod += nb; in xsk_ring_prod__reserve()
200 static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, __u32 nb) in xsk_ring_prod__submit() argument
205 libbpf_smp_store_release(prod->producer, *prod->producer + nb); in xsk_ring_prod__submit()
/linux/arch/sparc/kernel/
A Dvisemul.c605 u32 prod = src1 * src2; in pmul() local
609 if (prod & 0x80) in pmul()
630 u32 prod = src1 * src2; in pmul() local
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()
685 u32 prod; in pmul() local
690 prod = src1 * src2; in pmul()
[all …]
/linux/Documentation/hwmon/
A Dtmp401.rst12 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
/linux/include/linux/qed/
A Dqed_chain.h208 u32 prod = qed_chain_get_prod_idx(chain); in qed_chain_get_elem_used() local
213 if (prod < cons) in qed_chain_get_elem_used()
214 prod += (u32)U16_MAX + 1; in qed_chain_get_elem_used()
216 used = (u16)(prod - cons); in qed_chain_get_elem_used()
218 used -= (u16)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used()
230 u64 prod = qed_chain_get_prod_idx_u32(chain); in qed_chain_get_elem_used_u32() local
235 if (prod < cons) in qed_chain_get_elem_used_u32()
236 prod += (u64)U32_MAX + 1; in qed_chain_get_elem_used_u32()
238 used = (u32)(prod - cons); in qed_chain_get_elem_used_u32()
240 used -= (u32)(prod / elem_per_page - cons / elem_per_page); in qed_chain_get_elem_used_u32()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
A Dhsfw.c35 kfree(hsfw->sig.prod.data); in nvkm_acr_hsfw_del()
102 hsfw->sig.prod.size = fwhdr->sig_prod_size; in nvkm_acr_hsfw_load_image()
103 hsfw->sig.prod.data = kmemdup(fw->data + fwhdr->sig_prod_offset + sig, in nvkm_acr_hsfw_load_image()
104 hsfw->sig.prod.size, GFP_KERNEL); in nvkm_acr_hsfw_load_image()
105 if (!hsfw->sig.prod.data) { in nvkm_acr_hsfw_load_image()
/linux/sound/usb/
A Dimplicit.c35 #define IMPLICIT_FB_GENERIC_DEV(vend, prod) \ argument
36 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_GENERIC }
37 #define IMPLICIT_FB_FIXED_DEV(vend, prod, ep, ifnum) \ argument
38 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_FIXED, .ep_num = (ep),\
40 #define IMPLICIT_FB_BOTH_DEV(vend, prod, ep, ifnum) \ argument
41 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_BOTH, .ep_num = (ep),\
43 #define IMPLICIT_FB_SKIP_DEV(vend, prod) \ argument
44 { .id = USB_ID(vend, prod), .type = IMPLICIT_FB_NONE }
/linux/drivers/tty/hvc/
A Dhvc_xen.c84 XENCONS_RING_IDX cons, prod; in __write_console() local
89 prod = intf->out_prod; in __write_console()
92 if ((prod - cons) > sizeof(intf->out)) { in __write_console()
97 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console()
98 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console()
101 intf->out_prod = prod; in __write_console()
140 XENCONS_RING_IDX cons, prod; in domU_read_console() local
150 prod = intf->in_prod; in domU_read_console()
153 if ((prod - cons) > sizeof(intf->in)) { in domU_read_console()
158 while (cons != prod && recv < len) in domU_read_console()
/linux/sound/usb/line6/
A Dvariax.c180 #define LINE6_DEVICE(prod) USB_DEVICE(0x0e41, prod) argument
181 #define LINE6_IF_NUM(prod, n) USB_DEVICE_INTERFACE_NUMBER(0x0e41, prod, n) argument
/linux/tools/usb/usbip/libsrc/
A Dusbip_common.c281 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/drivers/infiniband/hw/bnxt_re/
A Dqplib_res.h69 ((HWQ_CMP(hwq->prod, hwq)\
156 u32 prod; /* raw */ member
333 idx += hwq->prod; in bnxt_qplib_get_prod_qe()
375 hwq->prod = (hwq->prod + cnt) % hwq->depth; in bnxt_qplib_hwq_incr_prod()
416 key |= ((info->hwq->prod / info->max_slot)) & DBC_DBC_INDEX_MASK; in bnxt_qplib_ring_prod_db()

Completed in 60 milliseconds

1234567