Home
last modified time | relevance | path

Searched refs:IDR (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Didr.rst27 符、进程ID、网络协议中的数据包标识符、SCSI标记和设备实例编号。IDR和IDA为这个问题
28 提供了一个合理的解决方案,以避免每个人都自创。IDR提供将ID映射到指针的能力,而IDA
31 IDR接口已经被废弃,请使用 ``XArray`` 。
33 IDR的用法
36 首先初始化一个IDR,对于静态分配的IDR使用DEFINE_IDR(),或者对于动态分配的IDR使用
44 象插入IDR
50 如果需要按顺序分配ID,可以使用idr_alloc_cyclic()。处理较大数量的ID时,IDR的效率会
53 要对IDR使用的所有指针进行操作,您可以使用基于回调的idr_for_each()或迭代器样式的
57 当使用完IDR后,您可以调用idr_destroy()来释放IDR占用的内存。这并不会释放IDR指向的
62 如果在从IDR分配一个新ID时需要带锁,您可能需要传递一组限制性的GFP标志,但这可能导
[all …]
/linux-6.1.9/Documentation/core-api/
Didr.rst15 and device instance numbers. The IDR and the IDA provide a reasonable
16 solution to the problem to avoid everybody inventing their own. The IDR
20 The IDR interface is deprecated; please use the :doc:`XArray <xarray>`
23 IDR usage
26 Start by initialising an IDR, either with DEFINE_IDR()
38 into the IDR.
46 idr_alloc_cyclic(). The IDR becomes less efficient when dealing
49 To perform an action on all pointers used by the IDR, you can
55 When you have finished using an IDR, you can call idr_destroy()
56 to release the memory used by the IDR. This will not free the objects
[all …]
/linux-6.1.9/drivers/scsi/aacraid/
Dsrc.c130 src_writel(dev, MUnit.IDR, 1 << 23); in aac_src_intr_message()
251 src_writel(dev, MUnit.IDR, INBOUNDDOORBELL_0 << SRC_IDR_SHIFT); in src_sync_cmd()
773 src_writel(dev, MUnit.IDR, IOP_SRC_RESET_MASK); in aac_send_iop_reset()
1358 val = src_readl(dev, MUnit.IDR); in aac_src_access_devreg()
1360 src_writel(dev, MUnit.IDR, val); in aac_src_access_devreg()
1361 src_readl(dev, MUnit.IDR); in aac_src_access_devreg()
1373 val = src_readl(dev, MUnit.IDR); in aac_src_access_devreg()
1375 src_writel(dev, MUnit.IDR, val); in aac_src_access_devreg()
1376 src_readl(dev, MUnit.IDR); in aac_src_access_devreg()
1381 val = src_readl(dev, MUnit.IDR); in aac_src_access_devreg()
[all …]
Drx.c280 rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_1); in aac_rx_notify_adapter()
283 rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_4); in aac_rx_notify_adapter()
286 rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_2); in aac_rx_notify_adapter()
289 rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_3); in aac_rx_notify_adapter()
294 rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_6); in aac_rx_notify_adapter()
297 rx_writel(dev, MUnit.IDR,INBOUNDDOORBELL_5); in aac_rx_notify_adapter()
Daacraid.h1100 __le32 IDR; /* 1320h | 20h | Inbound Doorbell Register */ member
1136 #define InboundDoorbellReg MUnit.IDR
1178 __le32 IDR; /* 20h | Inbound Doorbell Register */ member
Dcommsup.c1995 events = src_readl(dev, MUnit.IDR); in aac_handle_sa_aif()
/linux-6.1.9/drivers/clocksource/
Dtimer-atmel-tcb.c99 writel(0xff, tcaddr + ATMEL_TC_REG(i, IDR)); in tc_clksrc_resume()
165 writel(0xff, regs + ATMEL_TC_REG(2, IDR)); in tc_shutdown()
323 writel(0xff, tcaddr + ATMEL_TC_REG(0, IDR)); /* no irqs */ in tcb_setup_dual_chan()
331 writel(0xff, tcaddr + ATMEL_TC_REG(1, IDR)); /* no irqs */ in tcb_setup_dual_chan()
347 writel(0xff, tcaddr + ATMEL_TC_REG(0, IDR)); /* no irqs */ in tcb_setup_single_chan()
425 writel(ATMEL_TC_ALL_IRQ, tc.regs + ATMEL_TC_REG(i, IDR)); in tcb_clksrc_init()
/linux-6.1.9/drivers/spi/
Dspi-at91-usart.c227 at91_usart_spi_writel(aus, IDR, US_IR_RXRDY); in at91_usart_spi_dma_transfer()
344 at91_usart_spi_writel(aus, IDR, US_IR_OVRE | US_IR_RXRDY); in at91_usart_spi_interrupt()
464 at91_usart_spi_writel(aus, IDR, US_OVRE_RXRDY_IRQS); in at91_usart_spi_unprepare_message()
Dspi-atmel.c777 spi_writel(as, IDR, SPI_BIT(OVRES)); in atmel_spi_next_xfer_dma_submit()
1054 spi_writel(as, IDR, SPI_BIT(OVRES)); in atmel_spi_pio_interrupt()
1082 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt()
1091 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt()
1113 spi_writel(as, IDR, (SPI_BIT(RXBUFF) | SPI_BIT(ENDRX) in atmel_spi_pdc_interrupt()
1126 spi_writel(as, IDR, pending); in atmel_spi_pdc_interrupt()
/linux-6.1.9/drivers/net/usb/
Drtl8150.c21 #define IDR 0x0120 macro
262 ret = get_registers(dev, IDR, sizeof(node_id), node_id); in set_ethernet_addr()
284 set_registers(dev, IDR, netdev->addr_len, netdev->dev_addr); in rtl8150_set_mac_address()
729 set_registers(dev, IDR, 6, netdev->dev_addr); in rtl8150_open()
/linux-6.1.9/drivers/iio/adc/
Dat91-sama5d2_adc.c126 u16 IDR; member
264 .IDR = 0x28,
299 .IDR = 0x28,
831 at91_adc_writel(st, IDR, BIT(channel)); in at91_adc_eoc_dis()
966 at91_adc_writel(st, IDR, in at91_adc_configure_touch()
1384 at91_adc_writel(st, IDR, AT91_SAMA5D2_IER_DRDY); in at91_adc_buffer_postdisable()
1649 at91_adc_writel(st, IDR, AT91_SAMA5D2_IER_PEN); in at91_adc_pen_detect_interrupt()
1663 at91_adc_writel(st, IDR, AT91_SAMA5D2_IER_NOPEN | in at91_adc_no_pen_detect_interrupt()
2163 at91_adc_writel(st, IDR, 0xffffffff); in at91_adc_hw_init()
/linux-6.1.9/Documentation/devicetree/bindings/ipmi/
Daspeed,ast2400-kcs-bmc.yaml39 - description: IDR register
/linux-6.1.9/drivers/net/ethernet/cadence/
Dmacb_main.c656 queue_writel(queue, IDR, in macb_mac_link_down()
1628 queue_writel(queue, IDR, bp->rx_intr_mask); in macb_rx_poll()
1714 queue_writel(queue, IDR, MACB_BIT(TCOMP)); in macb_tx_poll()
1734 queue_writel(queue, IDR, bp->rx_intr_mask | in macb_hresp_error_task()
1778 queue_writel(queue, IDR, MACB_BIT(WOL)); in macb_wol_interrupt()
1807 queue_writel(queue, IDR, GEM_BIT(WOL)); in gem_wol_interrupt()
1839 queue_writel(queue, IDR, -1); in macb_interrupt()
1856 queue_writel(queue, IDR, bp->rx_intr_mask); in macb_interrupt()
1868 queue_writel(queue, IDR, MACB_BIT(TCOMP)); in macb_interrupt()
1885 queue_writel(queue, IDR, MACB_TX_INT_FLAGS); in macb_interrupt()
[all …]
Dmacb.h1200 unsigned int IDR; member
/linux-6.1.9/drivers/misc/
Datmel-ssc.c230 ssc_writel(ssc->regs, IDR, -1); in ssc_probe()
/linux-6.1.9/drivers/iommu/
Dmsm_iommu_hw-8xxx.h116 #define GET_IDR(b) GET_GLOBAL_REG(IDR, (b))
368 #define GET_NM2VCBMT(b) GET_GLOBAL_FIELD(b, IDR, NM2VCBMT)
369 #define GET_HTW(b) GET_GLOBAL_FIELD(b, IDR, HTW)
370 #define GET_HUM(b) GET_GLOBAL_FIELD(b, IDR, HUM)
371 #define GET_TLBSIZE(b) GET_GLOBAL_FIELD(b, IDR, TLBSIZE)
372 #define GET_NCB(b) GET_GLOBAL_FIELD(b, IDR, NCB)
373 #define GET_NIRPT(b) GET_GLOBAL_FIELD(b, IDR, NIRPT)
819 #define IDR (0xFFFF8) macro
/linux-6.1.9/sound/soc/atmel/
Datmel_ssc_dai.c728 ssc_writel(ssc_p->ssc->regs, IDR, dma_params->mask->ssc_error); in atmel_ssc_prepare()
781 ssc_writel(ssc_p->ssc->regs, IDR, ssc_p->ssc_state.ssc_imr); in atmel_ssc_suspend()
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst1375 GOP this is the period between two I-frames. The period between IDR
1377 control. An IDR frame, which stands for Instantaneous Decoding
1379 This means that a stream can be restarted from an IDR frame without
2544 - Use IDR (Instantaneous Decoding Refresh) picture encoding.
2553 This specifies the number of I pictures between two CRA/IDR pictures.
2658 Indicates whether to generate SPS and PPS at every IDR. Setting it to 0
2659 disables generating SPS and PPS at every IDR. Setting it to one enables
2660 generating SPS and PPS at every IDR.
Ddev-decoder.rst102 IDR
132 SPS/PPS/IDR sequence (H.264/HEVC); a resume point is required to start decode
Dext-ctrls-codec-stateless.rst612 - That picture is an IDR picture
/linux-6.1.9/sound/spi/
Dat73c213.c287 ssc_writel(chip->ssc->regs, IDR, SSC_BIT(IDR_ENDTX)); in snd_at73c213_pcm_trigger()
/linux-6.1.9/Documentation/scsi/
DChangeLog.lpfc202 lpfc_get_brd_no and use Linux provided IDR.