Home
last modified time | relevance | path

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

/include/xen/interface/io/
Dring.h405 static inline RING_IDX name##_queued(RING_IDX prod, \
411 if (prod == cons) \
414 prod = name##_mask(prod, ring_size); \
417 if (prod == cons) \
420 if (prod > cons) \
421 size = prod - cons; \
423 size = ring_size - (cons - prod); \
/include/uapi/linux/
Dzorro.h36 #define ZORRO_ID(manuf, prod, epc) \ argument
37 ((ZORRO_MANUF_##manuf << 16) | ((prod) << 8) | (epc))
/include/linux/qed/
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()
Dqed_if.h1426 u32 prod = 0; in qed_sb_update_sb_idx() local
1429 prod = le32_to_cpu(sb_info->sb_virt->prod_index) & in qed_sb_update_sb_idx()
1431 if (sb_info->sb_ack != prod) { in qed_sb_update_sb_idx()
1432 sb_info->sb_ack = prod; in qed_sb_update_sb_idx()
Dqed_rdma_if.h600 void (*rdma_cnq_prod_update)(void *rdma_cxt, u8 cnq_index, u16 prod);
Dcommon_hsi.h797 __le32 prod; member
/include/linux/
Dusb.h1023 #define USB_DEVICE(vend, prod) \ argument
1026 .idProduct = (prod)
1037 #define USB_DEVICE_VER(vend, prod, lo, hi) \ argument
1040 .idProduct = (prod), \
1053 #define USB_DEVICE_INTERFACE_CLASS(vend, prod, cl) \ argument
1057 .idProduct = (prod), \
1069 #define USB_DEVICE_INTERFACE_PROTOCOL(vend, prod, pr) \ argument
1073 .idProduct = (prod), \
1085 #define USB_DEVICE_INTERFACE_NUMBER(vend, prod, num) \ argument
1089 .idProduct = (prod), \
[all …]
Dhid.h752 #define HID_DEVICE(b, g, ven, prod) \ argument
753 .bus = (b), .group = (g), .vendor = (ven), .product = (prod)
754 #define HID_USB_DEVICE(ven, prod) \ argument
755 .bus = BUS_USB, .vendor = (ven), .product = (prod)
756 #define HID_BLUETOOTH_DEVICE(ven, prod) \ argument
757 .bus = BUS_BLUETOOTH, .vendor = (ven), .product = (prod)
758 #define HID_I2C_DEVICE(ven, prod) \ argument
759 .bus = BUS_I2C, .vendor = (ven), .product = (prod)