/kernel/linux/linux-5.10/Documentation/ |
D | index.rst | 39 admin-guide/index 40 kbuild/index 50 firmware-guide/index 51 devicetree/index 62 userspace-api/index 77 process/index 78 dev-tools/index 79 doc-guide/index 80 kernel-hacking/index 81 trace/index [all …]
|
/kernel/linux/linux-4.19/tools/testing/radix-tree/ |
D | tag_check.c | 14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks() argument 19 item_check_absent(tree, index); in __simple_checks() 20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 22 item_insert(tree, index); in __simple_checks() 23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 24 item_tag_set(tree, index, tag); in __simple_checks() 25 ret = item_tag_get(tree, index, tag); in __simple_checks() 29 ret = item_tag_get(tree, index, !tag); in __simple_checks() 31 ret = item_delete(tree, index); in __simple_checks() 33 item_insert(tree, index); in __simple_checks() [all …]
|
/kernel/linux/linux-5.10/tools/testing/radix-tree/ |
D | tag_check.c | 14 __simple_checks(struct radix_tree_root *tree, unsigned long index, int tag) in __simple_checks() argument 19 item_check_absent(tree, index); in __simple_checks() 20 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 22 item_insert(tree, index); in __simple_checks() 23 assert(item_tag_get(tree, index, tag) == 0); in __simple_checks() 24 item_tag_set(tree, index, tag); in __simple_checks() 25 ret = item_tag_get(tree, index, tag); in __simple_checks() 29 ret = item_tag_get(tree, index, !tag); in __simple_checks() 31 ret = item_delete(tree, index); in __simple_checks() 33 item_insert(tree, index); in __simple_checks() [all …]
|
/kernel/linux/linux-4.19/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-sgmii.c | 52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument 60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time() 70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 108 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 114 (index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() [all …]
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-sgmii.c | 52 static int __cvmx_helper_sgmii_hardware_init_one_time(int interface, int index) in __cvmx_helper_sgmii_hardware_init_one_time() argument 60 gmxx_prtx_cfg.u64 = cvmx_read_csr(CVMX_GMXX_PRTX_CFG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 62 cvmx_write_csr(CVMX_GMXX_PRTX_CFG(index, interface), gmxx_prtx_cfg.u64); in __cvmx_helper_sgmii_hardware_init_one_time() 70 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 72 cvmx_read_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 82 cvmx_write_csr(CVMX_PCSX_LINKX_TIMER_COUNT_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 98 cvmx_read_csr(CVMX_PCSX_ANX_ADV_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 103 cvmx_write_csr(CVMX_PCSX_ANX_ADV_REG(index, interface), in __cvmx_helper_sgmii_hardware_init_one_time() 108 cvmx_read_csr(CVMX_PCSX_MISCX_CTL_REG(index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() 114 (index, interface)); in __cvmx_helper_sgmii_hardware_init_one_time() [all …]
|
/kernel/linux/linux-4.19/arch/m68k/sun3x/ |
D | dvma.c | 45 #define dvma_entry_paddr(index) (iommu_pte[index] & IOMMU_ADDR_MASK) argument 46 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \ argument 49 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ 53 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ argument 57 #define dvma_entry_clr(index) (iommu_pte[index] = IOMMU_DT_INVALID) argument 67 unsigned long index; in dvma_print() local 69 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print() 71 pr_info("idx %lx dvma_addr %08lx paddr %08lx\n", index, dvma_addr, in dvma_print() 72 dvma_entry_paddr(index)); in dvma_print() 146 unsigned long end, index; in dvma_map_iommu() local [all …]
|
/kernel/linux/linux-5.10/arch/m68k/sun3x/ |
D | dvma.c | 44 #define dvma_entry_paddr(index) (iommu_pte[index] & IOMMU_ADDR_MASK) argument 45 #define dvma_entry_vaddr(index,paddr) ((index << DVMA_PAGE_SHIFT) | \ argument 48 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ 52 #define dvma_entry_set(index,addr) (iommu_pte[index] = \ argument 56 #define dvma_entry_clr(index) (iommu_pte[index] = IOMMU_DT_INVALID) argument 66 unsigned long index; in dvma_print() local 68 index = dvma_addr >> DVMA_PAGE_SHIFT; in dvma_print() 70 pr_info("idx %lx dvma_addr %08lx paddr %08lx\n", index, dvma_addr, in dvma_print() 71 dvma_entry_paddr(index)); in dvma_print() 149 unsigned long end, index; in dvma_map_iommu() local [all …]
|
/kernel/linux/linux-4.19/net/netfilter/ |
D | xt_set.c | 33 match_set(ip_set_id_t index, const struct sk_buff *skb, in match_set() argument 37 if (ip_set_test(index, skb, par, opt)) in match_set() 66 return match_set(info->match_set.index, skb, par, &opt, in set_match_v0() 90 ip_set_id_t index; in set_match_v0_checkentry() local 92 index = ip_set_nfnl_get_byindex(par->net, info->match_set.index); in set_match_v0_checkentry() 94 if (index == IPSET_INVALID_ID) { in set_match_v0_checkentry() 96 info->match_set.index); in set_match_v0_checkentry() 101 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_checkentry() 116 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_destroy() 133 return match_set(info->match_set.index, skb, par, &opt, in set_match_v1() [all …]
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | w83795.c | 118 #define IN_LSB_REG(index, type) \ argument 119 (((type) == 1) ? W83795_REG_IN_HL_LSB[(index)] \ 120 : (W83795_REG_IN_HL_LSB[(index)] + 1)) 150 #define W83795_REG_FAN(index) (0x2E + (index)) argument 151 #define W83795_REG_FAN_MIN_HL(index) (0xB6 + (index)) argument 152 #define W83795_REG_FAN_MIN_LSB(index) (0xC4 + (index) / 2) argument 153 #define W83795_REG_FAN_MIN_LSB_SHIFT(index) \ argument 154 (((index) & 1) ? 4 : 0) 160 #define W83795_REG_ALARM(index) (0x41 + (index)) argument 162 #define W83795_REG_BEEP(index) (0x50 + (index)) argument [all …]
|
D | w83793.c | 116 #define W83793_REG_BEEP(index) (0x53 + (index)) argument 117 #define W83793_REG_ALARM(index) (0x4b + (index)) argument 146 #define W83793_REG_FAN(index) (0x23 + 2 * (index)) /* High byte */ argument 147 #define W83793_REG_FAN_MIN(index) (0x90 + 2 * (index)) /* High byte */ argument 159 #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \ argument 160 (nr) == 1 ? 0x220 : 0x218) + (index)) 163 #define W83793_REG_TEMP_FAN_MAP(index) (0x201 + (index)) argument 164 #define W83793_REG_TEMP_TOL(index) (0x208 + (index)) argument 165 #define W83793_REG_TEMP_CRUISE(index) (0x210 + (index)) argument 166 #define W83793_REG_PWM_STOP_TIME(index) (0x228 + (index)) argument [all …]
|
/kernel/linux/linux-4.19/drivers/hwmon/ |
D | w83795.c | 131 #define IN_LSB_REG(index, type) \ argument 132 (((type) == 1) ? W83795_REG_IN_HL_LSB[(index)] \ 133 : (W83795_REG_IN_HL_LSB[(index)] + 1)) 163 #define W83795_REG_FAN(index) (0x2E + (index)) argument 164 #define W83795_REG_FAN_MIN_HL(index) (0xB6 + (index)) argument 165 #define W83795_REG_FAN_MIN_LSB(index) (0xC4 + (index) / 2) argument 166 #define W83795_REG_FAN_MIN_LSB_SHIFT(index) \ argument 167 (((index) & 1) ? 4 : 0) 173 #define W83795_REG_ALARM(index) (0x41 + (index)) argument 175 #define W83795_REG_BEEP(index) (0x50 + (index)) argument [all …]
|
D | w83793.c | 129 #define W83793_REG_BEEP(index) (0x53 + (index)) argument 130 #define W83793_REG_ALARM(index) (0x4b + (index)) argument 159 #define W83793_REG_FAN(index) (0x23 + 2 * (index)) /* High byte */ argument 160 #define W83793_REG_FAN_MIN(index) (0x90 + 2 * (index)) /* High byte */ argument 172 #define W83793_REG_PWM(index, nr) (((nr) == 0 ? 0xb3 : \ argument 173 (nr) == 1 ? 0x220 : 0x218) + (index)) 176 #define W83793_REG_TEMP_FAN_MAP(index) (0x201 + (index)) argument 177 #define W83793_REG_TEMP_TOL(index) (0x208 + (index)) argument 178 #define W83793_REG_TEMP_CRUISE(index) (0x210 + (index)) argument 179 #define W83793_REG_PWM_STOP_TIME(index) (0x228 + (index)) argument [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/sem/ |
D | it_los_sem_041.c | 41 UINT32 index; in TaskF02() local 43 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF02() 44 ret = LOS_SemPost(g_usSemID3[index]); in TaskF02() 48 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF02() 49 ret = LOS_SemPend(g_usSemID3[index], LOS_WAIT_FOREVER); in TaskF02() 59 UINT32 index; in TaskF01() local 61 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF01() 62 ret = LOS_SemPend(g_usSemID3[index], LOS_WAIT_FOREVER); in TaskF01() 66 for (index = 0; index < g_actMuxUsedcnt; index++) { in TaskF01() 67 ret = LOS_SemPost(g_usSemID3[index]); in TaskF01() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_set.c | 29 match_set(ip_set_id_t index, const struct sk_buff *skb, in match_set() argument 33 if (ip_set_test(index, skb, par, opt)) in match_set() 62 return match_set(info->match_set.index, skb, par, &opt, in set_match_v0() 86 ip_set_id_t index; in set_match_v0_checkentry() local 88 index = ip_set_nfnl_get_byindex(par->net, info->match_set.index); in set_match_v0_checkentry() 90 if (index == IPSET_INVALID_ID) { in set_match_v0_checkentry() 92 info->match_set.index); in set_match_v0_checkentry() 97 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_checkentry() 112 ip_set_nfnl_put(par->net, info->match_set.index); in set_match_v0_destroy() 129 return match_set(info->match_set.index, skb, par, &opt, in set_match_v1() [all …]
|
/kernel/linux/linux-5.10/arch/m68k/coldfire/ |
D | intc-5272.c | 40 unsigned char index; member 45 /*MCF_IRQ_SPURIOUS*/ { .icr = 0, .index = 0, .ack = 0, }, 46 /*MCF_IRQ_EINT1*/ { .icr = MCFSIM_ICR1, .index = 28, .ack = 1, }, 47 /*MCF_IRQ_EINT2*/ { .icr = MCFSIM_ICR1, .index = 24, .ack = 1, }, 48 /*MCF_IRQ_EINT3*/ { .icr = MCFSIM_ICR1, .index = 20, .ack = 1, }, 49 /*MCF_IRQ_EINT4*/ { .icr = MCFSIM_ICR1, .index = 16, .ack = 1, }, 50 /*MCF_IRQ_TIMER1*/ { .icr = MCFSIM_ICR1, .index = 12, .ack = 0, }, 51 /*MCF_IRQ_TIMER2*/ { .icr = MCFSIM_ICR1, .index = 8, .ack = 0, }, 52 /*MCF_IRQ_TIMER3*/ { .icr = MCFSIM_ICR1, .index = 4, .ack = 0, }, 53 /*MCF_IRQ_TIMER4*/ { .icr = MCFSIM_ICR1, .index = 0, .ack = 0, }, [all …]
|
/kernel/linux/linux-4.19/arch/m68k/coldfire/ |
D | intc-5272.c | 40 unsigned char index; member 45 /*MCF_IRQ_SPURIOUS*/ { .icr = 0, .index = 0, .ack = 0, }, 46 /*MCF_IRQ_EINT1*/ { .icr = MCFSIM_ICR1, .index = 28, .ack = 1, }, 47 /*MCF_IRQ_EINT2*/ { .icr = MCFSIM_ICR1, .index = 24, .ack = 1, }, 48 /*MCF_IRQ_EINT3*/ { .icr = MCFSIM_ICR1, .index = 20, .ack = 1, }, 49 /*MCF_IRQ_EINT4*/ { .icr = MCFSIM_ICR1, .index = 16, .ack = 1, }, 50 /*MCF_IRQ_TIMER1*/ { .icr = MCFSIM_ICR1, .index = 12, .ack = 0, }, 51 /*MCF_IRQ_TIMER2*/ { .icr = MCFSIM_ICR1, .index = 8, .ack = 0, }, 52 /*MCF_IRQ_TIMER3*/ { .icr = MCFSIM_ICR1, .index = 4, .ack = 0, }, 53 /*MCF_IRQ_TIMER4*/ { .icr = MCFSIM_ICR1, .index = 0, .ack = 0, }, [all …]
|
/kernel/linux/linux-5.10/Documentation/driver-api/ |
D | index.rst | 17 driver-model/index 21 early-userspace/index 22 pm/index 32 iio/index 34 usb/index 36 pci/index 41 i3c/index 52 mei/index 53 mtd/index 54 mmc/index [all …]
|
/kernel/liteos_a/arch/arm/arm/src/pmu/ |
D | armv7_pmu.c | 59 STATIC INLINE UINT32 Armv7PmuCntOverflowed(UINT32 pmnc, UINT32 index) in Armv7PmuCntOverflowed() argument 61 return pmnc & ARMV7_CNT2BIT(ARMV7_IDX2CNT(index)); in Armv7PmuCntOverflowed() 64 STATIC INLINE UINT32 Armv7CntValid(UINT32 index) in Armv7CntValid() argument 66 return index <= ARMV7_IDX_COUNTER_LAST; in Armv7CntValid() 69 STATIC INLINE VOID Armv7PmuSelCnt(UINT32 index) in Armv7PmuSelCnt() argument 71 UINT32 counter = ARMV7_IDX2CNT(index); in Armv7PmuSelCnt() 76 STATIC INLINE VOID Armv7PmuSetCntPeriod(UINT32 index, UINT32 period) in Armv7PmuSetCntPeriod() argument 78 if (!Armv7CntValid(index)) { in Armv7PmuSetCntPeriod() 79 PRINT_ERR("CPU writing wrong counter %u\n", index); in Armv7PmuSetCntPeriod() 80 } else if (index == ARMV7_IDX_CYCLE_COUNTER) { in Armv7PmuSetCntPeriod() [all …]
|
/kernel/linux/linux-4.19/drivers/acpi/acpica/ |
D | dsmthdat.c | 20 u32 index, struct acpi_walk_state *walk_state); 24 u32 index, 31 u32 index, struct acpi_walk_state *walk_state); 104 u32 index; in acpi_ds_method_data_delete_all() local 110 for (index = 0; index < ACPI_METHOD_NUM_LOCALS; index++) { in acpi_ds_method_data_delete_all() 111 if (walk_state->local_variables[index].object) { in acpi_ds_method_data_delete_all() 113 index, in acpi_ds_method_data_delete_all() 114 walk_state->local_variables[index]. in acpi_ds_method_data_delete_all() 120 local_variables[index]); in acpi_ds_method_data_delete_all() 126 for (index = 0; index < ACPI_METHOD_NUM_ARGS; index++) { in acpi_ds_method_data_delete_all() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | dsmthdat.c | 20 u32 index, struct acpi_walk_state *walk_state); 24 u32 index, 31 u32 index, struct acpi_walk_state *walk_state); 104 u32 index; in acpi_ds_method_data_delete_all() local 110 for (index = 0; index < ACPI_METHOD_NUM_LOCALS; index++) { in acpi_ds_method_data_delete_all() 111 if (walk_state->local_variables[index].object) { in acpi_ds_method_data_delete_all() 113 index, in acpi_ds_method_data_delete_all() 114 walk_state->local_variables[index]. in acpi_ds_method_data_delete_all() 120 local_variables[index]); in acpi_ds_method_data_delete_all() 126 for (index = 0; index < ACPI_METHOD_NUM_ARGS; index++) { in acpi_ds_method_data_delete_all() [all …]
|
/kernel/liteos_m/testsuites/sample/kernel/hwi/ |
D | it_los_hwi_033.c | 39 int index; in HwiF01() local 40 for (index = OS_USER_HWI_MIN; index < OS_HWI_MAX_USED_NUM; index++) { in HwiF01() 41 TestHwiClear(index); in HwiF01() 50 UINT32 index; in Testcase() local 59 for (index = 0; index < OS_HWI_MAX_USED_NUM; index++) { in Testcase() 61 if ((index != 3) && (index != 4) && (index != 32) && (index != 35) && (index != 36)) { in Testcase() 62 … ret = LOS_HwiCreate(HWI_NUM_TEST1 + index, hwiPrio, mode, (HWI_PROC_FUNC)HwiF01, &irqParam); in Testcase() 66 for (index = OS_USER_HWI_MIN; index < OS_HWI_MAX_USED_NUM; index++) { in Testcase() 67 TestHwiDelete(HWI_NUM_TEST1 + index); in Testcase()
|
/kernel/linux/linux-4.19/drivers/gpu/drm/amd/display/modules/stats/ |
D | stats.c | 86 unsigned int index; member 166 core_stats->index = 1; in mod_stats_create() 208 unsigned int index = 0; in mod_stats_dump() local 243 } else if (time_index < core_stats->index && in mod_stats_dump() 280 unsigned int index = 0; in mod_stats_reset_data() local 293 core_stats->index = 1; in mod_stats_reset_data() 306 unsigned int index = 0; in mod_stats_update_event() local 318 index = core_stats->event_index; in mod_stats_update_event() 324 memcpy(&events[index].event_string, event_string, copy_length); in mod_stats_update_event() 325 events[index].event_string[copy_length - 1] = '\0'; in mod_stats_update_event() [all …]
|
/kernel/linux/linux-4.19/drivers/staging/octeon/ |
D | ethernet-spi.c | 28 static void cvm_oct_spxx_int_pr(union cvmx_spxx_int_reg spx_int_reg, int index) in cvm_oct_spxx_int_pr() argument 31 pr_err("SPI%d: SRX Spi4 interface down\n", index); in cvm_oct_spxx_int_pr() 33 pr_err("SPI%d: SRX Spi4 Calendar table parity error\n", index); in cvm_oct_spxx_int_pr() 36 index); in cvm_oct_spxx_int_pr() 38 pr_err("SPI%d: SRX Spi4 DIP4 error\n", index); in cvm_oct_spxx_int_pr() 41 index); in cvm_oct_spxx_int_pr() 44 index); in cvm_oct_spxx_int_pr() 47 index); in cvm_oct_spxx_int_pr() 50 index); in cvm_oct_spxx_int_pr() 52 pr_err("SPI%d: SRX Spi4 async FIFO overflow\n", index); in cvm_oct_spxx_int_pr() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/octeon/ |
D | ethernet-spi.c | 20 static void cvm_oct_spxx_int_pr(union cvmx_spxx_int_reg spx_int_reg, int index) in cvm_oct_spxx_int_pr() argument 23 pr_err("SPI%d: SRX Spi4 interface down\n", index); in cvm_oct_spxx_int_pr() 25 pr_err("SPI%d: SRX Spi4 Calendar table parity error\n", index); in cvm_oct_spxx_int_pr() 28 index); in cvm_oct_spxx_int_pr() 30 pr_err("SPI%d: SRX Spi4 DIP4 error\n", index); in cvm_oct_spxx_int_pr() 33 index); in cvm_oct_spxx_int_pr() 36 index); in cvm_oct_spxx_int_pr() 39 index); in cvm_oct_spxx_int_pr() 42 index); in cvm_oct_spxx_int_pr() 44 pr_err("SPI%d: SRX Spi4 async FIFO overflow\n", index); in cvm_oct_spxx_int_pr() [all …]
|
/kernel/liteos_a/apps/perf/src/ |
D | option.c | 37 static int ParseOption(char **argv, int *index, PerfOption *opts) in ParseOption() argument 43 if (strcmp(argv[*index], opts->name) == 0) { in ParseOption() 46 *opts->value = strtoul(argv[++(*index)], NULL, 0); in ParseOption() 49 *opts->str = argv[++(*index)]; in ParseOption() 52 str = argv[++(*index)]; in ParseOption() 74 int index = 0; in ParseOptions() local 76 while ((index < argc) && (argv[index] != NULL) && (*argv[index] == '-')) { in ParseOptions() 77 if (ParseOption(argv, &index, opts) != 0) { in ParseOptions() 80 index++; in ParseOptions() 83 if ((index < argc) && (argv[index] != NULL)) { in ParseOptions() [all …]
|