| /kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/ |
| D | gd32vf103_exti.h | 56 #define EXTI_INTEN_INTEN0 BIT(0) /*!< interrupt from line 0 */ 57 #define EXTI_INTEN_INTEN1 BIT(1) /*!< interrupt from line 1 */ 58 #define EXTI_INTEN_INTEN2 BIT(2) /*!< interrupt from line 2 */ 59 #define EXTI_INTEN_INTEN3 BIT(3) /*!< interrupt from line 3 */ 60 #define EXTI_INTEN_INTEN4 BIT(4) /*!< interrupt from line 4 */ 61 #define EXTI_INTEN_INTEN5 BIT(5) /*!< interrupt from line 5 */ 62 #define EXTI_INTEN_INTEN6 BIT(6) /*!< interrupt from line 6 */ 63 #define EXTI_INTEN_INTEN7 BIT(7) /*!< interrupt from line 7 */ 64 #define EXTI_INTEN_INTEN8 BIT(8) /*!< interrupt from line 8 */ 65 #define EXTI_INTEN_INTEN9 BIT(9) /*!< interrupt from line 9 */ [all …]
|
| /kernel/linux/linux-4.19/arch/um/drivers/ |
| D | line.c | 22 struct line *line = chan->line; in line_interrupt() local 24 if (line) in line_interrupt() 25 chan_interrupt(line, irq); in line_interrupt() 31 * Returns the free space inside the ring buffer of this line. 33 * Should be called while holding line->lock (this does not modify data). 35 static int write_room(struct line *line) in write_room() argument 39 if (line->buffer == NULL) in write_room() 43 n = line->head - line->tail; in write_room() 52 struct line *line = tty->driver_data; in line_write_room() local 56 spin_lock_irqsave(&line->lock, flags); in line_write_room() [all …]
|
| D | chan.h | 13 #include "line.h" 18 struct line *line; member 30 extern void chan_interrupt(struct line *line, int irq); 31 extern int parse_chan_pair(char *str, struct line *line, int device, 37 extern int console_open_chan(struct line *line, struct console *co); 41 extern int enable_chan(struct line *line); 42 extern void close_chan(struct line *line); 43 extern int chan_window_size(struct line *line, 46 extern int chan_config_string(struct line *line, char *str, int size,
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| D | line.c | 22 struct line *line = chan->line; in line_interrupt() local 24 if (line) in line_interrupt() 25 chan_interrupt(line, irq); in line_interrupt() 31 * Returns the free space inside the ring buffer of this line. 33 * Should be called while holding line->lock (this does not modify data). 35 static int write_room(struct line *line) in write_room() argument 39 if (line->buffer == NULL) in write_room() 43 n = line->head - line->tail; in write_room() 52 struct line *line = tty->driver_data; in line_write_room() local 56 spin_lock_irqsave(&line->lock, flags); in line_write_room() [all …]
|
| D | chan.h | 13 #include "line.h" 18 struct line *line; member 30 extern void chan_interrupt(struct line *line, int irq); 31 extern int parse_chan_pair(char *str, struct line *line, int device, 37 extern int console_open_chan(struct line *line, struct console *co); 41 extern int enable_chan(struct line *line); 42 extern void close_chan(struct line *line); 43 extern int chan_window_size(struct line *line, 46 extern int chan_config_string(struct line *line, char *str, int size,
|
| /kernel/linux/linux-5.10/drivers/lightnvm/ |
| D | pblk-core.c | 36 struct pblk_line *line; in pblk_line_mark_bb() local 39 line = pblk_ppa_to_line(pblk, *ppa); in pblk_line_mark_bb() 42 pblk_err(pblk, "failed to mark bb, line:%d, pos:%d\n", in pblk_line_mark_bb() 43 line->id, pos); in pblk_line_mark_bb() 50 static void pblk_mark_bb(struct pblk *pblk, struct pblk_line *line, in pblk_mark_bb() argument 58 pblk_debug(pblk, "erase failed: line:%d, pos:%d\n", line->id, pos); in pblk_mark_bb() 61 atomic_dec(&line->blk_in_line); in pblk_mark_bb() 62 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb() 63 pblk_err(pblk, "attempted to erase bb: line:%d, pos:%d\n", in pblk_mark_bb() 64 line->id, pos); in pblk_mark_bb() [all …]
|
| D | pblk-recovery.c | 18 * following the line sequence ID. 38 static int pblk_recov_l2p_from_emeta(struct pblk *pblk, struct pblk_line *line) in pblk_recov_l2p_from_emeta() argument 43 struct pblk_emeta *emeta = line->emeta; in pblk_recov_l2p_from_emeta() 54 data_start = pblk_line_smeta_start(pblk, line) + lm->smeta_sec; in pblk_recov_l2p_from_emeta() 55 data_end = line->emeta_ssec; in pblk_recov_l2p_from_emeta() 62 ppa = addr_to_gen_ppa(pblk, i, line->id); in pblk_recov_l2p_from_emeta() 66 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta() 70 spin_lock(&line->lock); in pblk_recov_l2p_from_emeta() 71 if (test_and_set_bit(i, line->invalid_bitmap)) in pblk_recov_l2p_from_emeta() 74 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta() [all …]
|
| D | pblk-gc.c | 50 kref_put(&gc_rq->line->ref, pblk_line_put); in pblk_gc_write() 62 void pblk_put_line_back(struct pblk *pblk, struct pblk_line *line) in pblk_put_line_back() argument 68 spin_lock(&line->lock); in pblk_put_line_back() 69 WARN_ON(line->state != PBLK_LINESTATE_GC); in pblk_put_line_back() 70 line->state = PBLK_LINESTATE_CLOSED; in pblk_put_line_back() 71 trace_pblk_line_state(pblk_disk_name(pblk), line->id, in pblk_put_line_back() 72 line->state); in pblk_put_line_back() 76 * since right now current line is not on any of the in pblk_put_line_back() 79 line->gc_group = PBLK_LINEGC_NONE; in pblk_put_line_back() 80 move_list = pblk_line_gc_list(pblk, line); in pblk_put_line_back() [all …]
|
| /kernel/linux/linux-4.19/drivers/lightnvm/ |
| D | pblk-core.c | 32 struct pblk_line *line; in pblk_line_mark_bb() local 35 line = &pblk->lines[pblk_ppa_to_line(*ppa)]; in pblk_line_mark_bb() 38 pblk_err(pblk, "failed to mark bb, line:%d, pos:%d\n", in pblk_line_mark_bb() 39 line->id, pos); in pblk_line_mark_bb() 46 static void pblk_mark_bb(struct pblk *pblk, struct pblk_line *line, in pblk_mark_bb() argument 54 pblk_debug(pblk, "erase failed: line:%d, pos:%d\n", line->id, pos); in pblk_mark_bb() 57 atomic_dec(&line->blk_in_line); in pblk_mark_bb() 58 if (test_and_set_bit(pos, line->blk_bitmap)) in pblk_mark_bb() 59 pblk_err(pblk, "attempted to erase bb: line:%d, pos:%d\n", in pblk_mark_bb() 60 line->id, pos); in pblk_mark_bb() [all …]
|
| D | pblk-recovery.c | 33 static int pblk_recov_l2p_from_emeta(struct pblk *pblk, struct pblk_line *line) in pblk_recov_l2p_from_emeta() argument 38 struct pblk_emeta *emeta = line->emeta; in pblk_recov_l2p_from_emeta() 49 data_start = pblk_line_smeta_start(pblk, line) + lm->smeta_sec; in pblk_recov_l2p_from_emeta() 50 data_end = line->emeta_ssec; in pblk_recov_l2p_from_emeta() 57 ppa = addr_to_gen_ppa(pblk, i, line->id); in pblk_recov_l2p_from_emeta() 61 if (test_bit(pos, line->blk_bitmap)) in pblk_recov_l2p_from_emeta() 65 spin_lock(&line->lock); in pblk_recov_l2p_from_emeta() 66 if (test_and_set_bit(i, line->invalid_bitmap)) in pblk_recov_l2p_from_emeta() 69 le32_add_cpu(line->vsc, -1); in pblk_recov_l2p_from_emeta() 70 spin_unlock(&line->lock); in pblk_recov_l2p_from_emeta() [all …]
|
| D | pblk-gc.c | 47 kref_put(&gc_rq->line->ref, pblk_line_put); in pblk_gc_write() 59 static void pblk_put_line_back(struct pblk *pblk, struct pblk_line *line) in pblk_put_line_back() argument 64 spin_lock(&line->lock); in pblk_put_line_back() 65 WARN_ON(line->state != PBLK_LINESTATE_GC); in pblk_put_line_back() 66 line->state = PBLK_LINESTATE_CLOSED; in pblk_put_line_back() 67 move_list = pblk_line_gc_list(pblk, line); in pblk_put_line_back() 68 spin_unlock(&line->lock); in pblk_put_line_back() 72 list_add_tail(&line->list, move_list); in pblk_put_line_back() 85 struct pblk_line *line = gc_rq_ws->line; in pblk_gc_line_ws() local 93 pblk_err(pblk, "could not GC line:%d (%d/%d)\n", in pblk_gc_line_ws() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
| D | nv10.c | 29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) in nv10_gpio_sense() argument 32 if (line < 2) { in nv10_gpio_sense() 33 line = line * 16; in nv10_gpio_sense() 34 line = nvkm_rd32(device, 0x600818) >> line; in nv10_gpio_sense() 35 return !!(line & 0x0100); in nv10_gpio_sense() 37 if (line < 10) { in nv10_gpio_sense() 38 line = (line - 2) * 4; in nv10_gpio_sense() 39 line = nvkm_rd32(device, 0x60081c) >> line; in nv10_gpio_sense() 40 return !!(line & 0x04); in nv10_gpio_sense() 42 if (line < 14) { in nv10_gpio_sense() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
| D | nv10.c | 29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) in nv10_gpio_sense() argument 32 if (line < 2) { in nv10_gpio_sense() 33 line = line * 16; in nv10_gpio_sense() 34 line = nvkm_rd32(device, 0x600818) >> line; in nv10_gpio_sense() 35 return !!(line & 0x0100); in nv10_gpio_sense() 37 if (line < 10) { in nv10_gpio_sense() 38 line = (line - 2) * 4; in nv10_gpio_sense() 39 line = nvkm_rd32(device, 0x60081c) >> line; in nv10_gpio_sense() 40 return !!(line & 0x04); in nv10_gpio_sense() 42 if (line < 14) { in nv10_gpio_sense() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_self_test.c | 115 /* lines start from 2 since line 1 is heading in csv */ 118 /*line 2*/{(0x3), 1, 0x2114, 124 /*line 3*/{(0x3), 1, 0x2114, 130 /*line 4*/{(0x3), 1, 0x2120, 136 /*line 5*/{(0x3), 1, 0x2814, 142 /*line 6*/{(0x2), 1, 0x281c, 148 /*line 7*/{(0x2), 1, 0x2820, 154 /*line 8*/{(0x3), 1, PXP2_REG_PGL_EXP_ROM2, 160 /*line 9*/{(0x3), 2, 0x212c, 166 /*line 10*/{(0x1C), 1, 0x2104, [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/goldmont/ |
| D | frontend.json | 4 …Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis… 10 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event… 14 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line … 20 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This … 24 …Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach… 30 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
|
| /kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/goldmont/ |
| D | frontend.json | 4 …Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis… 10 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event… 14 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line … 20 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This … 24 …Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach… 30 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/x86/goldmontplus/ |
| D | frontend.json | 4 …Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis… 12 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event… 16 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line … 24 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This … 28 …Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach… 36 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
|
| /kernel/linux/linux-4.19/tools/perf/pmu-events/arch/x86/goldmontplus/ |
| D | frontend.json | 4 …Line and that cache line is in the ICache (hit). The event strives to count on a cache line basis… 12 …"BriefDescription": "References per ICache line that are available in the ICache (hit). This event… 16 …Line and that cache line is not in the ICache (miss). The event strives to count on a cache line … 24 …"BriefDescription": "References per ICache line that are not available in the ICache (miss). This … 28 …Line. The event strives to count on a cache line basis, so that multiple fetches to a single cach… 36 …"BriefDescription": "References per ICache line. This event counts differently than Intel processo…
|
| /kernel/linux/linux-5.10/Documentation/RCU/Design/Memory-Ordering/ |
| D | rcu_node-lock.svg | 80 <!-- Line: box --> 81 <!-- Line: box --> 82 <!-- Line: box --> 83 <!-- Line --> 85 <!-- Line --> 87 <!-- Line --> 89 <!-- Line --> 91 <!-- Line: box --> 92 <!-- Line: box --> 93 <!-- Line --> [all …]
|
| /kernel/linux/linux-4.19/Documentation/RCU/Design/Memory-Ordering/ |
| D | rcu_node-lock.svg | 80 <!-- Line: box --> 81 <!-- Line: box --> 82 <!-- Line: box --> 83 <!-- Line --> 85 <!-- Line --> 87 <!-- Line --> 89 <!-- Line --> 91 <!-- Line: box --> 92 <!-- Line: box --> 93 <!-- Line --> [all …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-thunderx.c | 49 unsigned int line; member 57 struct msix_entry *msix_entries; /* per line MSI-X */ 58 struct thunderx_line *line_entries; /* per line irq info */ 65 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument 67 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg() 70 static unsigned int intr_reg(unsigned int line) in intr_reg() argument 72 return 8 * line + GPIO_INTR; in intr_reg() 76 unsigned int line) in thunderx_gpio_is_gpio_nowarn() argument 78 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 88 unsigned int line) in thunderx_gpio_is_gpio() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/ |
| D | dz.h | 20 #define DZ_TLINE 0x0300 /* Transmitter Line Number */ 31 #define DZ_LINE_MASK 0x0300 /* Line Mask */ 39 #define LINE(x) ((x & DZ_LINE_MASK) >> 8) /* Get the line number macro 51 #define DZ_MODEM_RTS 0x0800 /* RTS for the modem line (2) */ 52 #define DZ_MODEM_DTR 0x0400 /* DTR for the modem line (2) */ 53 #define DZ_PRINT_RTS 0x0200 /* RTS for the prntr line (3) */ 54 #define DZ_PRINT_DTR 0x0100 /* DTR for the prntr line (3) */ 55 #define DZ_LNENB 0x000f /* Transmitter Line Enable */ 60 #define DZ_MODEM_RI 0x0800 /* RI for the modem line (2) */ 61 #define DZ_MODEM_CD 0x0400 /* CD for the modem line (2) */ [all …]
|
| /kernel/linux/linux-4.19/drivers/tty/serial/ |
| D | dz.h | 20 #define DZ_TLINE 0x0300 /* Transmitter Line Number */ 31 #define DZ_LINE_MASK 0x0300 /* Line Mask */ 39 #define LINE(x) ((x & DZ_LINE_MASK) >> 8) /* Get the line number macro 51 #define DZ_MODEM_RTS 0x0800 /* RTS for the modem line (2) */ 52 #define DZ_MODEM_DTR 0x0400 /* DTR for the modem line (2) */ 53 #define DZ_PRINT_RTS 0x0200 /* RTS for the prntr line (3) */ 54 #define DZ_PRINT_DTR 0x0100 /* DTR for the prntr line (3) */ 55 #define DZ_LNENB 0x000f /* Transmitter Line Enable */ 60 #define DZ_MODEM_RI 0x0800 /* RI for the modem line (2) */ 61 #define DZ_MODEM_CD 0x0400 /* CD for the modem line (2) */ [all …]
|
| /kernel/linux/linux-4.19/scripts/ |
| D | show_delta | 20 the kernel command line option "time" is specified. When run with no 22 each printk line and the next. When run with the '-b' option, all times 29 If it is a string, the first message line 31 line) is used as the time reference. 36 will show times relative to the line in the kernel output 41 # returns a tuple containing the seconds and text for each message line 44 def get_time(line): argument 45 if line[0]!="[": 49 (time_str, rest) = string.split(line[1:],']',1) 56 # average line looks like: [all …]
|
| /kernel/linux/linux-5.10/scripts/ |
| D | show_delta | 20 the kernel command line option "time" is specified. When run with no 22 each printk line and the next. When run with the '-b' option, all times 29 If it is a string, the first message line 31 line) is used as the time reference. 36 will show times relative to the line in the kernel output 41 # returns a tuple containing the seconds and text for each message line 44 def get_time(line): argument 45 if line[0]!="[": 49 (time_str, rest) = string.split(line[1:],']',1) 56 # average line looks like: [all …]
|