| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | idr.rst | 27 符、进程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/Documentation/core-api/ |
| H A D | idr.rst | 15 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/drivers/scsi/aacraid/ |
| H A D | src.c | 130 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 …]
|
| H A D | aacraid.h | 1094 __le32 IDR; /* 1320h | 20h | Inbound Doorbell Register */ member 1130 #define InboundDoorbellReg MUnit.IDR 1172 __le32 IDR; /* 20h | Inbound Doorbell Register */ member
|
| H A D | commsup.c | 1866 events = src_readl(dev, MUnit.IDR); in aac_handle_sa_aif()
|
| /linux/drivers/clocksource/ |
| H A D | timer-atmel-tcb.c | 99 writel(0xff, tcaddr + ATMEL_TC_REG(i, IDR)); in tc_clksrc_resume() 165 writel(0xff, regs + ATMEL_TC_REG(2, IDR)); in tc_shutdown() 324 writel(0xff, tcaddr + ATMEL_TC_REG(0, IDR)); /* no irqs */ in tcb_setup_dual_chan() 332 writel(0xff, tcaddr + ATMEL_TC_REG(1, IDR)); /* no irqs */ in tcb_setup_dual_chan() 348 writel(0xff, tcaddr + ATMEL_TC_REG(0, IDR)); /* no irqs */ in tcb_setup_single_chan() 426 writel(ATMEL_TC_ALL_IRQ, tc.regs + ATMEL_TC_REG(i, IDR)); in tcb_clksrc_init()
|
| /linux/Documentation/translations/zh_CN/security/ |
| H A D | self-protection.rst | 250 计数器,IDR(ID映射表)或类似的唯一标识符。
|
| /linux/drivers/iio/adc/ |
| H A D | at91-sama5d2_adc.c | 127 u16 IDR; member 265 .IDR = 0x28, 300 .IDR = 0x28, 835 at91_adc_writel(st, IDR, BIT(channel)); in at91_adc_eoc_dis() 969 at91_adc_writel(st, IDR, in at91_adc_configure_touch() 1383 at91_adc_writel(st, IDR, AT91_SAMA5D2_IER_DRDY); in at91_adc_buffer_postdisable() 1646 at91_adc_writel(st, IDR, AT91_SAMA5D2_IER_PEN); in at91_adc_pen_detect_interrupt() 1660 at91_adc_writel(st, IDR, AT91_SAMA5D2_IER_NOPEN | in at91_adc_no_pen_detect_interrupt() 2153 at91_adc_writel(st, IDR, 0xffffffff); in at91_adc_hw_init()
|
| /linux/drivers/spi/ |
| H A D | spi-at91-usart.c | 212 at91_usart_spi_writel(aus, IDR, US_IR_RXRDY); in at91_usart_spi_dma_transfer() 329 at91_usart_spi_writel(aus, IDR, US_IR_OVRE | US_IR_RXRDY); in at91_usart_spi_interrupt() 449 at91_usart_spi_writel(aus, IDR, US_OVRE_RXRDY_IRQS); in at91_usart_spi_unprepare_message()
|
| H A D | spi-atmel.c | 846 spi_writel(as, IDR, SPI_BIT(OVRES)); in atmel_spi_next_xfer_dma_submit() 1121 spi_writel(as, IDR, SPI_BIT(OVRES)); in atmel_spi_pio_interrupt() 1149 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt() 1158 spi_writel(as, IDR, pending); in atmel_spi_pio_interrupt() 1180 spi_writel(as, IDR, (SPI_BIT(RXBUFF) | SPI_BIT(ENDRX) in atmel_spi_pdc_interrupt() 1193 spi_writel(as, IDR, pending); in atmel_spi_pdc_interrupt()
|
| /linux/drivers/net/usb/ |
| H A D | rtl8150.c | 19 #define IDR 0x0120 macro 270 ret = get_registers(dev, IDR, sizeof(node_id), node_id); in set_ethernet_addr() 292 set_registers(dev, IDR, netdev->addr_len, netdev->dev_addr); in rtl8150_set_mac_address() 742 set_registers(dev, IDR, 6, netdev->dev_addr); in rtl8150_open()
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 662 queue_writel(queue, IDR, in macb_mac_link_down() 1747 queue_writel(queue, IDR, bp->rx_intr_mask); in macb_rx_poll() 1835 queue_writel(queue, IDR, MACB_BIT(TCOMP)); in macb_tx_poll() 1855 queue_writel(queue, IDR, bp->rx_intr_mask | in macb_hresp_error_task() 1899 queue_writel(queue, IDR, MACB_BIT(WOL)); in macb_wol_interrupt() 1928 queue_writel(queue, IDR, GEM_BIT(WOL)); in gem_wol_interrupt() 1960 queue_writel(queue, IDR, -1); in macb_interrupt() 1977 queue_writel(queue, IDR, bp->rx_intr_mask); in macb_interrupt() 1989 queue_writel(queue, IDR, MACB_BIT(TCOMP)); in macb_interrupt() 2006 queue_writel(queue, IDR, MACB_TX_INT_FLAGS); in macb_interrupt() [all …]
|
| /linux/drivers/misc/ |
| H A D | atmel-ssc.c | 229 ssc_writel(ssc->regs, IDR, -1); in ssc_probe()
|
| /linux/drivers/iommu/ |
| H A D | msm_iommu_hw-8xxx.h | 116 #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/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-codec.rst | 1376 GOP this is the period between two I-frames. The period between IDR 1378 control. An IDR frame, which stands for Instantaneous Decoding 1380 This means that a stream can be restarted from an IDR frame without 2559 - Use IDR (Instantaneous Decoding Refresh) picture encoding. 2568 This specifies the number of I pictures between two CRA/IDR pictures. 2673 Indicates whether to generate SPS and PPS at every IDR. Setting it to 0 2674 disables generating SPS and PPS at every IDR. Setting it to one enables 2675 generating SPS and PPS at every IDR.
|
| /linux/drivers/counter/ |
| H A D | microchip-tcb-capture.c | 448 regmap_write(priv->regmap, ATMEL_TC_REG(priv->channel[0], IDR), ATMEL_TC_DEF_IRQS); in mchp_tc_irq_remove()
|
| /linux/drivers/resctrl/ |
| H A D | mpam_devices.c | 211 idr_low = mpam_read_partsel_reg(msc, IDR); in mpam_msc_read_idr() 213 idr_high = mpam_read_partsel_reg(msc, IDR + 4); in mpam_msc_read_idr()
|
| /linux/Documentation/scsi/ |
| H A D | ChangeLog.lpfc | 202 lpfc_get_brd_no and use Linux provided IDR.
|