/linux-2.6.39/drivers/xen/xenbus/ |
D | xenbus_comms.c | 60 static int check_indexes(XENSTORE_RING_IDX cons, XENSTORE_RING_IDX prod) in check_indexes() argument 62 return ((prod - cons) <= XENSTORE_RING_SIZE); in check_indexes() 66 XENSTORE_RING_IDX prod, in get_output_chunk() argument 69 *len = XENSTORE_RING_SIZE - MASK_XENSTORE_IDX(prod); in get_output_chunk() 70 if ((XENSTORE_RING_SIZE - (prod - cons)) < *len) in get_output_chunk() 71 *len = XENSTORE_RING_SIZE - (prod - cons); in get_output_chunk() 72 return buf + MASK_XENSTORE_IDX(prod); in get_output_chunk() 76 XENSTORE_RING_IDX prod, in get_input_chunk() argument 80 if ((prod - cons) < *len) in get_input_chunk() 81 *len = prod - cons; in get_input_chunk() [all …]
|
/linux-2.6.39/drivers/zorro/ |
D | names.c | 21 __u16 prod; member 41 #define PRODUCT( manuf, prod, name ) static char __prodstr_##manuf##prod[] __initdata = name; argument 47 #define PRODUCT( manuf, prod, name ) { 0x##prod, 0, __prodstr_##manuf##prod }, argument 53 #define PRODUCT( manuf, prod, name ) argument 80 if (prod_p->prod == in zorro_name_device()
|
/linux-2.6.39/drivers/media/dvb/frontends/ |
D | lgs8gxx.c | 59 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_write_reg() 87 if (priv->config->prod != LGS8GXX_PROD_LGS8G75 && reg >= 0xC0) in lgs8gxx_read_reg() 145 (config->prod == LGS8GXX_PROD_LGS8G52)) { in lgs8gxx_set_ad_mode() 175 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_if_freq() 197 if (priv->config->prod == LGS8GXX_PROD_LGS8G75) in lgs8gxx_get_afc_phase() 219 u8 prod = priv->config->prod; in lgs8gxx_set_mode_auto() local 221 if (prod == LGS8GXX_PROD_LGS8913) in lgs8gxx_set_mode_auto() 224 if (prod == LGS8GXX_PROD_LGS8G75) { in lgs8gxx_set_mode_auto() 230 } else if (prod == LGS8GXX_PROD_LGS8913 || in lgs8gxx_set_mode_auto() 231 prod == LGS8GXX_PROD_LGS8GL5 || in lgs8gxx_set_mode_auto() [all …]
|
D | atbm8830.h | 34 u8 prod; member
|
/linux-2.6.39/drivers/tty/hvc/ |
D | hvc_xen.c | 63 XENCONS_RING_IDX cons, prod; in __write_console() local 67 prod = intf->out_prod; in __write_console() 69 BUG_ON((prod - cons) > sizeof(intf->out)); in __write_console() 71 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console() 72 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console() 75 intf->out_prod = prod; in __write_console() 108 XENCONS_RING_IDX cons, prod; in domU_read_console() local 112 prod = intf->in_prod; in domU_read_console() 114 BUG_ON((prod - cons) > sizeof(intf->in)); in domU_read_console() 116 while (cons != prod && recv < len) in domU_read_console()
|
/linux-2.6.39/drivers/net/can/softing/ |
D | softing_cs.c | 42 .manf = 0x0168, .prod = 0x001, 54 .manf = 0x0168, .prod = 0x002, 66 .manf = 0x0168, .prod = 0x004, 78 .manf = 0x0168, .prod = 0x005, 90 .manf = 0x0168, .prod = 0x081, 102 .manf = 0x0168, .prod = 0x084, 114 .manf = 0x0168, .prod = 0x085, 126 .manf = 0x0168, .prod = 0x102, 138 .manf = 0x0168, .prod = 0x105, 163 *softingcs_find_platform_data(unsigned int manf, unsigned int prod) in softingcs_find_platform_data() argument [all …]
|
D | softing_platform.h | 12 unsigned int prod; member
|
/linux-2.6.39/arch/sparc/kernel/ |
D | visemul.c | 599 u32 prod = src1 * src2; in pmul() local 600 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() 603 if (prod & 0x80) in pmul() 624 u32 prod = src1 * src2; in pmul() local 625 u16 scaled = ((prod & 0x00ffff00) >> 8); in pmul() 628 if (prod & 0x80) in pmul() 649 u32 prod; in pmul() local 654 prod = src1 * src2; in pmul() 655 scaled = ((prod & 0x00ffff00) >> 8); in pmul() 658 if (prod & 0x80) in pmul() [all …]
|
/linux-2.6.39/fs/xfs/ |
D | xfs_rtalloc.c | 207 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_block() argument 282 if (prod > 1 && (p = do_mod(bestlen, prod))) in xfs_rtallocate_extent_block() 319 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_exact() argument 327 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact() 361 if (prod > 1 && (i = maxlen % prod)) { in xfs_rtallocate_extent_exact() 398 xfs_extlen_t prod, /* extent product factor */ in xfs_rtallocate_extent_near() argument 410 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_near() 421 rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near() 464 rsb, prod, &r); in xfs_rtallocate_extent_near() 509 len, &n, rbpp, rsb, prod, &r); in xfs_rtallocate_extent_near() [all …]
|
/linux-2.6.39/Documentation/hwmon/ |
D | tmp421 | 8 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html 12 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html 16 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp421.html
|
D | adm1031 | 9 http://www.analog.com/en/prod/0%2C2877%2CADM1030%2C00.html 15 http://www.analog.com/en/prod/0%2C2877%2CADM1031%2C00.html
|
D | tmp401 | 8 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp401.html 12 Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp411.html
|
/linux-2.6.39/drivers/net/mlx4/ |
D | en_tx.c | 166 ring->prod = 0; in mlx4_en_activate_tx_ring() 288 ring->cons, ring->prod); in mlx4_en_free_tx_buf() 290 if ((u32) (ring->prod - ring->cons) > ring->size) { in mlx4_en_free_tx_buf() 296 while (ring->cons != ring->prod) { in mlx4_en_free_tx_buf() 369 if ((u32) (ring->prod - ring->cons) <= in mlx4_en_process_tx_cq() 406 inflight = (u32) (ring->prod - ring->cons - ring->last_nr_txbb); in mlx4_en_poll_tx_cq() 654 if (unlikely(((int)(ring->prod - ring->cons)) > in mlx4_en_xmit() 669 (u32) (ring->prod - ring->cons - 1)); in mlx4_en_xmit() 672 index = ring->prod & ring->size_mask; in mlx4_en_xmit() 673 bf_index = ring->prod; in mlx4_en_xmit() [all …]
|
D | en_rx.c | 178 *ring->wqres.db.db = cpu_to_be32(ring->prod & 0xffff); in mlx4_en_update_rx_prod_db() 229 ring->prod++; in mlx4_en_fill_rx_buffers() 239 ring->prod--; in mlx4_en_fill_rx_buffers() 253 ring->cons, ring->prod); in mlx4_en_free_rx_buf() 256 BUG_ON((u32) (ring->prod - ring->cons) > ring->actual_size); in mlx4_en_free_rx_buf() 257 while (ring->cons != ring->prod) { in mlx4_en_free_rx_buf() 273 ring->prod = 0; in mlx4_en_create_rx_ring() 325 ring->prod = 0; in mlx4_en_activate_rx_rings() 674 ring->prod += polled; /* Polled descriptors were realocated in place */ in mlx4_en_process_rx_cq()
|
/linux-2.6.39/drivers/media/video/sn9c102/ |
D | sn9c102_devtable.h | 33 #define SN9C102_USB_DEVICE(vend, prod, bridge) \ argument 37 .idProduct = (prod), \
|
/linux-2.6.39/drivers/net/wireless/rtlwifi/ |
D | usb.h | 34 #define RTL_USB_DEVICE(vend, prod, cfg) \ argument 37 .idProduct = (prod), \
|
/linux-2.6.39/include/linux/ |
D | hid.h | 560 #define HID_DEVICE(b, ven, prod) \ argument 562 .vendor = (ven), .product = (prod) 564 #define HID_USB_DEVICE(ven, prod) HID_DEVICE(BUS_USB, ven, prod) argument 565 #define HID_BLUETOOTH_DEVICE(ven, prod) HID_DEVICE(BUS_BLUETOOTH, ven, prod) argument
|
D | usb.h | 670 #define USB_DEVICE(vend, prod) \ argument 673 .idProduct = (prod) 684 #define USB_DEVICE_VER(vend, prod, lo, hi) \ argument 687 .idProduct = (prod), \ 700 #define USB_DEVICE_INTERFACE_PROTOCOL(vend, prod, pr) \ argument 704 .idProduct = (prod), \ 751 #define USB_DEVICE_AND_INTERFACE_INFO(vend, prod, cl, sc, pr) \ argument 755 .idProduct = (prod), \
|
D | zorro.h | 35 #define ZORRO_ID(manuf, prod, epc) \ argument 36 ((ZORRO_MANUF_##manuf << 16) | ((prod) << 8) | (epc))
|
/linux-2.6.39/drivers/video/ |
D | xen-fbfront.c | 75 u32 prod; in xenfb_send_event() local 77 prod = info->page->out_prod; in xenfb_send_event() 80 XENFB_OUT_RING_REF(info->page, prod) = *event; in xenfb_send_event() 82 info->page->out_prod = prod + 1; in xenfb_send_event() 116 u32 cons, prod; in xenfb_queue_full() local 118 prod = info->page->out_prod; in xenfb_queue_full() 120 return prod - cons == XENFB_OUT_RING_LEN; in xenfb_queue_full()
|
/linux-2.6.39/drivers/input/misc/ |
D | xen-kbdfront.c | 56 __u32 cons, prod; in input_handler() local 58 prod = page->in_prod; in input_handler() 59 if (prod == page->in_cons) in input_handler() 62 for (cons = page->in_cons; cons != prod; cons++) { in input_handler()
|
/linux-2.6.39/drivers/block/ |
D | sunvdc.c | 341 .start_idx = dr->prod, in __vdc_tx_trigger() 342 .end_idx = dr->prod, in __vdc_tx_trigger() 407 rqe = &port->rq_arr[dr->prod]; in __send_request() 434 dr->prod = (dr->prod + 1) & (VDC_TX_RING_SIZE - 1); in __send_request() 577 dr->prod = (dr->prod + 1) & (VDC_TX_RING_SIZE - 1); in generic_request() 618 dr->prod = dr->cons = 0; in vdc_alloc_tx_ring()
|
/linux-2.6.39/drivers/net/bnx2x/ |
D | bnx2x_cmn.h | 664 u16 prod; in bnx2x_tx_avail() local 667 prod = fp->tx_bd_prod; in bnx2x_tx_avail() 672 used = SUB_S16(prod, cons) + (s16)NUM_TX_RINGS; in bnx2x_tx_avail() 860 u16 cons, u16 prod) in bnx2x_reuse_rx_skb() argument 864 struct sw_rx_bd *prod_rx_buf = &fp->rx_buf_ring[prod]; in bnx2x_reuse_rx_skb() 866 struct eth_rx_bd *prod_bd = &fp->rx_desc_ring[prod]; in bnx2x_reuse_rx_skb() 933 fp->tx_db.data.prod = 0; in bnx2x_init_tx_rings()
|
/linux-2.6.39/arch/sparc/include/asm/ |
D | vio.h | 240 u32 prod; member 249 return dr->base + (dr->entry_size * dr->prod); in vio_dring_cur() 262 ((dr->prod - dr->cons) & (ring_size - 1))); in vio_dring_avail()
|
/linux-2.6.39/drivers/net/ |
D | defxx.c | 2568 bp->descr_block_virt->cmd_rsp[bp->cmd_rsp_reg.index.prod].long_0 = (u32) (PI_RCV_DESCR_M_SOP | in dfx_hw_dma_cmd_req() 2570 bp->descr_block_virt->cmd_rsp[bp->cmd_rsp_reg.index.prod].long_1 = bp->cmd_rsp_phys; in dfx_hw_dma_cmd_req() 2574 bp->cmd_rsp_reg.index.prod += 1; in dfx_hw_dma_cmd_req() 2575 bp->cmd_rsp_reg.index.prod &= PI_CMD_RSP_K_NUM_ENTRIES-1; in dfx_hw_dma_cmd_req() 2580 bp->descr_block_virt->cmd_req[bp->cmd_req_reg.index.prod].long_0 = (u32) (PI_XMT_DESCR_M_SOP | in dfx_hw_dma_cmd_req() 2582 bp->descr_block_virt->cmd_req[bp->cmd_req_reg.index.prod].long_1 = bp->cmd_req_phys; in dfx_hw_dma_cmd_req() 2586 bp->cmd_req_reg.index.prod += 1; in dfx_hw_dma_cmd_req() 2587 bp->cmd_req_reg.index.prod &= PI_CMD_REQ_K_NUM_ENTRIES-1; in dfx_hw_dma_cmd_req() 2597 if (bp->cmd_req_reg.index.prod == (u8)(bp->cons_block_virt->cmd_req)) in dfx_hw_dma_cmd_req() 2617 if (bp->cmd_rsp_reg.index.prod == (u8)(bp->cons_block_virt->cmd_rsp)) in dfx_hw_dma_cmd_req() [all …]
|