/kernel/linux/linux-6.6/arch/um/drivers/ |
H A 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 unsigned int write_room(struct line *line) in write_room() argument 39 if (line in write_room() 52 struct line *line = tty->driver_data; line_write_room() local 65 struct line *line = tty->driver_data; line_chars_in_buffer() local 86 buffer_data(struct line *line, const char *buf, int len) buffer_data() argument 130 flush_buffer(struct line *line) flush_buffer() argument 170 struct line *line = tty->driver_data; line_flush_buffer() local 189 struct line *line = tty->driver_data; line_write() local 216 struct line *line = tty->driver_data; line_throttle() local 224 struct line *line = tty->driver_data; line_unthrottle() local 233 struct line *line = chan->line; line_write_interrupt() local 257 line_setup_irq(int fd, int input, int output, struct line *line, void *data) line_setup_irq() argument 288 struct line *line = tty->driver_data; line_activate() local 310 struct line *line = tty->driver_data; line_destruct() local 325 struct line *line = tty->driver_data; line_open() local 330 line_install(struct tty_driver *driver, struct tty_struct *tty, struct line *line) line_install() argument 346 struct line *line = tty->driver_data; line_close() local 353 struct line *line = tty->driver_data; line_hangup() local 369 struct line *line = &lines[n]; setup_one_line() local 485 struct line *line; line_get_config() local 624 struct line *line; winch_interrupt() local [all...] |
H A 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); 40 extern int enable_chan(struct line *lin [all...] |
H A D | chan_kern.c | 133 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local 135 if (!line->throttled) in line_timer_cb() 136 chan_interrupt(line, line->read_irq); in line_timer_cb() 139 int enable_chan(struct line *line) in enable_chan() argument 145 INIT_DELAYED_WORK(&line->task, line_timer_cb); in enable_chan() 147 list_for_each(ele, &line in enable_chan() 230 close_chan(struct line *line) close_chan() argument 278 console_open_chan(struct line *line, struct console *co) console_open_chan() argument 291 chan_window_size(struct line *line, unsigned short *rows_out, unsigned short *cols_out) chan_window_size() argument 384 chan_config_string(struct line *line, char *str, int size, char **error_out) chan_config_string() argument 438 parse_chan(struct line *line, char *str, int device, const struct chan_opts *opts, char **error_out) parse_chan() argument 488 parse_chan_pair(char *str, struct line *line, int device, const struct chan_opts *opts, char **error_out) parse_chan_pair() argument 538 chan_interrupt(struct line *line, int irq) chan_interrupt() argument [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A 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 in write_room() 52 struct line *line = tty->driver_data; line_write_room() local 65 struct line *line = tty->driver_data; line_chars_in_buffer() local 86 buffer_data(struct line *line, const char *buf, int len) buffer_data() argument 130 flush_buffer(struct line *line) flush_buffer() argument 170 struct line *line = tty->driver_data; line_flush_buffer() local 189 struct line *line = tty->driver_data; line_write() local 221 struct line *line = tty->driver_data; line_throttle() local 229 struct line *line = tty->driver_data; line_unthrottle() local 238 struct line *line = chan->line; line_write_interrupt() local 262 line_setup_irq(int fd, int input, int output, struct line *line, void *data) line_setup_irq() argument 283 struct line *line = tty->driver_data; line_activate() local 305 struct line *line = tty->driver_data; line_destruct() local 320 struct line *line = tty->driver_data; line_open() local 325 line_install(struct tty_driver *driver, struct tty_struct *tty, struct line *line) line_install() argument 341 struct line *line = tty->driver_data; line_close() local 348 struct line *line = tty->driver_data; line_hangup() local 364 struct line *line = &lines[n]; setup_one_line() local 480 struct line *line; line_get_config() local 619 struct line *line; winch_interrupt() local [all...] |
H A 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 *lin [all...] |
H A D | chan_kern.c | 133 struct line *line = container_of(work, struct line, task.work); in line_timer_cb() local 135 if (!line->throttled) in line_timer_cb() 136 chan_interrupt(line, line->driver->read_irq); in line_timer_cb() 139 int enable_chan(struct line *line) in enable_chan() argument 145 INIT_DELAYED_WORK(&line->task, line_timer_cb); in enable_chan() 147 list_for_each(ele, &line in enable_chan() 230 close_chan(struct line *line) close_chan() argument 278 console_open_chan(struct line *line, struct console *co) console_open_chan() argument 291 chan_window_size(struct line *line, unsigned short *rows_out, unsigned short *cols_out) chan_window_size() argument 384 chan_config_string(struct line *line, char *str, int size, char **error_out) chan_config_string() argument 438 parse_chan(struct line *line, char *str, int device, const struct chan_opts *opts, char **error_out) parse_chan() argument 488 parse_chan_pair(char *str, struct line *line, int device, const struct chan_opts *opts, char **error_out) parse_chan_pair() argument 538 chan_interrupt(struct line *line, int irq) chan_interrupt() argument [all...] |
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A 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 in pblk_recov_l2p_from_emeta() 93 pblk_update_line_wp(struct pblk *pblk, struct pblk_line *line, u64 written_secs) pblk_update_line_wp() argument 116 pblk_sec_in_open_line(struct pblk *pblk, struct pblk_line *line) pblk_sec_in_open_line() argument 173 pblk_recov_pad_line(struct pblk *pblk, struct pblk_line *line, int left_ppas) pblk_recov_pad_line() argument 291 pblk_pad_distance(struct pblk *pblk, struct pblk_line *line) pblk_pad_distance() argument 301 pblk_get_stripe_chunk(struct pblk *pblk, struct pblk_line *line, int index) pblk_get_stripe_chunk() argument 318 pblk_line_wps_are_unbalanced(struct pblk *pblk, struct pblk_line *line) pblk_line_wps_are_unbalanced() argument 354 pblk_recov_scan_oob(struct pblk *pblk, struct pblk_line *line, struct pblk_recov_alloc p) pblk_recov_scan_oob() argument 477 pblk_recov_l2p_from_oob(struct pblk *pblk, struct pblk_line *line) pblk_recov_l2p_from_oob() argument 531 pblk_recov_line_add_ordered(struct list_head *head, struct pblk_line *line) pblk_recov_line_add_ordered() argument 543 pblk_line_emeta_start(struct pblk *pblk, struct pblk_line *line) pblk_line_emeta_start() argument 610 pblk_line_was_written(struct pblk_line *line, struct pblk *pblk) pblk_line_was_written() argument 639 pblk_line_is_open(struct pblk *pblk, struct pblk_line *line) pblk_line_is_open() argument 655 struct pblk_line *line, *tline, *data_line = NULL; pblk_recov_l2p() local 857 struct pblk_line *line; pblk_recov_pad() local [all...] |
H A 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 in pblk_mark_bb() 84 struct pblk_line *line; __pblk_end_io_erase() local 164 __pblk_map_invalidate(struct pblk *pblk, struct pblk_line *line, u64 paddr) __pblk_map_invalidate() argument 206 struct pblk_line *line; pblk_map_invalidate() local 407 pblk_line_gc_list(struct pblk *pblk, struct pblk_line *line) pblk_line_gc_list() argument 598 pblk_dealloc_page(struct pblk *pblk, struct pblk_line *line, int nr_secs) pblk_dealloc_page() argument 613 __pblk_alloc_page(struct pblk *pblk, struct pblk_line *line, int nr_secs) __pblk_alloc_page() argument 634 pblk_alloc_page(struct pblk *pblk, struct pblk_line *line, int nr_secs) pblk_alloc_page() argument 650 pblk_lookup_page(struct pblk *pblk, struct pblk_line *line) pblk_lookup_page() argument 662 pblk_line_smeta_start(struct pblk *pblk, struct pblk_line *line) pblk_line_smeta_start() argument 677 pblk_line_smeta_read(struct pblk *pblk, struct pblk_line *line) pblk_line_smeta_read() argument 717 pblk_line_smeta_write(struct pblk *pblk, struct pblk_line *line, u64 paddr) pblk_line_smeta_write() argument 764 pblk_line_emeta_read(struct pblk *pblk, struct pblk_line *line, void *emeta_buf) pblk_line_emeta_read() argument 885 pblk_line_erase(struct pblk *pblk, struct pblk_line *line) pblk_line_erase() argument 918 pblk_line_setup_metadata(struct pblk_line *line, struct pblk_line_mgmt *l_mg, struct pblk_line_meta *lm) pblk_line_setup_metadata() argument 951 pblk_line_init_metadata(struct pblk *pblk, struct pblk_line *line, struct pblk_line *cur) pblk_line_init_metadata() argument 1034 pblk_line_alloc_bitmaps(struct pblk *pblk, struct pblk_line *line) pblk_line_alloc_bitmaps() argument 1059 pblk_line_init_bb(struct pblk *pblk, struct pblk_line *line, int init) pblk_line_init_bb() argument 1133 pblk_prepare_new_line(struct pblk *pblk, struct pblk_line *line) pblk_prepare_new_line() argument 1157 pblk_line_prepare(struct pblk *pblk, struct pblk_line *line) pblk_line_prepare() argument 1209 pblk_line_recov_alloc(struct pblk *pblk, struct pblk_line *line) pblk_line_recov_alloc() argument 1246 pblk_line_recov_close(struct pblk *pblk, struct pblk_line *line) pblk_line_recov_close() argument 1256 pblk_line_reinit(struct pblk_line *line) pblk_line_reinit() argument 1266 pblk_line_free(struct pblk_line *line) pblk_line_free() argument 1281 struct pblk_line *line; pblk_line_get() local 1330 pblk_line_retry(struct pblk *pblk, struct pblk_line *line) pblk_line_retry() argument 1374 struct pblk_line *line; pblk_line_get_first_data() local 1438 struct pblk_line *line; pblk_ppa_to_line_put() local 1453 pblk_stop_writes(struct pblk *pblk, struct pblk_line *line) pblk_stop_writes() argument 1466 struct pblk_line *line, *tline; pblk_line_close_meta_sync() local 1615 __pblk_line_put(struct pblk *pblk, struct pblk_line *line) __pblk_line_put() argument 1657 struct pblk_line *line = line_put_ws->line; pblk_line_put_ws() local 1665 struct pblk_line *line = container_of(ref, struct pblk_line, ref); pblk_line_put() local 1673 struct pblk_line *line = container_of(ref, struct pblk_line, ref); pblk_line_put_wq() local 1731 pblk_line_is_full(struct pblk_line *line) pblk_line_is_full() argument 1742 pblk_line_close(struct pblk *pblk, struct pblk_line *line) pblk_line_close() argument 1788 pblk_line_close_meta(struct pblk *pblk, struct pblk_line *line) pblk_line_close_meta() argument 1835 pblk_save_lba_list(struct pblk *pblk, struct pblk_line *line) pblk_save_lba_list() argument 1852 struct pblk_line *line = line_ws->line; pblk_line_close_ws() local 1865 pblk_gen_run_ws(struct pblk *pblk, struct pblk_line *line, void *priv, void (*work)(struct work_struct *), gfp_t gfp_mask, struct workqueue_struct *wq) pblk_gen_run_ws() argument 2077 struct pblk_line *line = pblk_ppa_to_line(pblk, ppa); pblk_lookup_l2p_seq() local [all...] |
H A 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() 92 struct pblk_line *line = gc_rq_ws->line; pblk_gc_line_ws() local 131 get_lba_list_from_emeta(struct pblk *pblk, struct pblk_line *line) get_lba_list_from_emeta() argument 181 struct pblk_line *line = line_ws->line; pblk_gc_line_prepare_ws() local 302 pblk_gc_line(struct pblk *pblk, struct pblk_line *line) pblk_gc_line() argument 346 struct pblk_line *line; pblk_gc_read() local 374 struct pblk_line *line, *victim; pblk_gc_get_victim_line() local 411 struct pblk_line *line; pblk_gc_free_full_lines() local 448 struct pblk_line *line; pblk_gc_run() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A 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 in nv10_gpio_sense() 52 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv10_gpio_drive() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A 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 in nv10_gpio_sense() 52 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) nv10_gpio_drive() argument [all...] |
/kernel/linux/linux-6.6/scripts/dtc/ |
H A D | of_unittest_expect | 75 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n"; 83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n"; 103 --line-num report line number of CONSOLE_LOG 135 <<all>> matches: anything to end of line 139 A prefix is added to every line of output: 155 --line-num causes the CONSOLE_LOG line number to be printed in 4 columns. 157 used to report the line number for lines greater than 9999 (eg for 171 "line [all...] |
/kernel/linux/linux-5.10/Documentation/arm/samsung/ |
H A D | clksrc-change-registers.awk | 69 while (getline line < ARGV[1] > 0) { 70 if (line ~ /\#define.*_MASK/ && 71 !(line ~ /USB_SIG_MASK/)) { 72 splitdefine(line, fields) 75 printf "MASK " line "\n" > "/dev/stderr" 98 if ((getline line) <= 0) { 103 if (line ~ /\.shift/) { 104 shift = extract_value(line) 105 } else if (line ~ /\.mask/) { 106 mask = extract_value(line) [all...] |
/kernel/linux/linux-6.6/Documentation/arch/arm/samsung/ |
H A D | clksrc-change-registers.awk | 69 while (getline line < ARGV[1] > 0) { 70 if (line ~ /\#define.*_MASK/ && 71 !(line ~ /USB_SIG_MASK/)) { 72 splitdefine(line, fields) 75 printf "MASK " line "\n" > "/dev/stderr" 98 if ((getline line) <= 0) { 103 if (line ~ /\.shift/) { 104 shift = extract_value(line) 105 } else if (line ~ /\.mask/) { 106 mask = extract_value(line) [all...] |
/kernel/linux/linux-5.10/drivers/zorro/ |
H A D | gen-devlist.c | 32 char line[1024], *c, *bra, manuf[8]; in main() local 45 while (fgets(line, sizeof(line)-1, stdin)) { in main() 47 if ((c = strchr(line, '\n'))) in main() 49 if (!line[0] || line[0] == '#') in main() 51 if (line[0] == '\t') { in main() 54 if (strlen(line) > 5 && line[5] == ' ') { in main() 55 c = line in main() [all...] |
/kernel/linux/linux-6.6/drivers/zorro/ |
H A D | gen-devlist.c | 32 char line[1024], *c, *bra, manuf[8]; in main() local 45 while (fgets(line, sizeof(line)-1, stdin)) { in main() 47 if ((c = strchr(line, '\n'))) in main() 49 if (!line[0] || line[0] == '#') in main() 51 if (line[0] == '\t') { in main() 54 if (strlen(line) > 5 && line[5] == ' ') { in main() 55 c = line in main() [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | markup_oops.pl | 48 my ($line) = @_; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { 79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { 97 my ($line, $cntr) = @_; 99 if (length($line) < 4 [all...] |
/kernel/linux/linux-6.6/scripts/ |
H A D | markup_oops.pl | 48 my ($line) = @_; 49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) { 55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) { 60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) { 65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) { 70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) { 74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) { 79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) { 97 my ($line, $cntr) = @_; 99 if (length($line) < 4 [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-thunderx.c | 50 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() 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() 75 thunderx_gpio_is_gpio_nowarn(struct thunderx_gpio *txgpio, unsigned int line) thunderx_gpio_is_gpio_nowarn() argument 87 thunderx_gpio_is_gpio(struct thunderx_gpio *txgpio, unsigned int line) thunderx_gpio_is_gpio() argument 97 thunderx_gpio_request(struct gpio_chip *chip, unsigned int line) thunderx_gpio_request() argument 104 thunderx_gpio_dir_in(struct gpio_chip *chip, unsigned int line) thunderx_gpio_dir_in() argument 120 thunderx_gpio_set(struct gpio_chip *chip, unsigned int line, int value) thunderx_gpio_set() argument 133 thunderx_gpio_dir_out(struct gpio_chip *chip, unsigned int line, int value) thunderx_gpio_dir_out() argument 158 thunderx_gpio_get_direction(struct gpio_chip *chip, unsigned int line) thunderx_gpio_get_direction() argument 179 thunderx_gpio_set_config(struct gpio_chip *chip, unsigned int line, unsigned long cfg) thunderx_gpio_set_config() argument 259 thunderx_gpio_get(struct gpio_chip *chip, unsigned int line) thunderx_gpio_get() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-thunderx.c | 48 unsigned int line; member 55 struct msix_entry *msix_entries; /* per line MSI-X */ 56 struct thunderx_line *line_entries; /* per line irq info */ 63 static unsigned int bit_cfg_reg(unsigned int line) in bit_cfg_reg() argument 65 return 8 * line + GPIO_BIT_CFG; in bit_cfg_reg() 68 static unsigned int intr_reg(unsigned int line) in intr_reg() argument 70 return 8 * line + GPIO_INTR; in intr_reg() 74 unsigned int line) in thunderx_gpio_is_gpio_nowarn() 76 u64 bit_cfg = readq(txgpio->register_base + bit_cfg_reg(line)); in thunderx_gpio_is_gpio_nowarn() 86 unsigned int line) in thunderx_gpio_is_gpio() 73 thunderx_gpio_is_gpio_nowarn(struct thunderx_gpio *txgpio, unsigned int line) thunderx_gpio_is_gpio_nowarn() argument 85 thunderx_gpio_is_gpio(struct thunderx_gpio *txgpio, unsigned int line) thunderx_gpio_is_gpio() argument 95 thunderx_gpio_request(struct gpio_chip *chip, unsigned int line) thunderx_gpio_request() argument 102 thunderx_gpio_dir_in(struct gpio_chip *chip, unsigned int line) thunderx_gpio_dir_in() argument 118 thunderx_gpio_set(struct gpio_chip *chip, unsigned int line, int value) thunderx_gpio_set() argument 131 thunderx_gpio_dir_out(struct gpio_chip *chip, unsigned int line, int value) thunderx_gpio_dir_out() argument 156 thunderx_gpio_get_direction(struct gpio_chip *chip, unsigned int line) thunderx_gpio_get_direction() argument 177 thunderx_gpio_set_config(struct gpio_chip *chip, unsigned int line, unsigned long cfg) thunderx_gpio_set_config() argument 257 thunderx_gpio_get(struct gpio_chip *chip, unsigned int line) thunderx_gpio_get() argument [all...] |
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | maintainers_include.py | 63 for line in open(path): 65 line = unicode(line, 'utf-8') 67 if descriptions and line.startswith('Maintainers'): 69 # Ensure a blank line following the last "|"-prefixed line. 75 if re.search('^[A-Z0-9]', line): 79 line = line.rstrip() 83 m = re.search(pat, line) [all...] |
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | maintainers_include.py | 63 for line in open(path): 65 if descriptions and line.startswith('Maintainers'): 67 # Ensure a blank line following the last "|"-prefixed line. 73 if re.search('^[A-Z0-9]', line): 77 line = line.rstrip() 81 m = re.search(pat, line) 84 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line) [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | nv50.c | 28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument 32 if (*line == 0x04) { in pwm_info() 34 *line = 4; in pwm_info() 37 if (*line == 0x09) { in pwm_info() 39 *line = 9; in pwm_info() 42 if (*line == 0x10) { in pwm_info() 44 *line = 0; in pwm_info() 47 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", *line); in pwm_info() 55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl() argument 59 int ctrl, id, ret = pwm_info(therm, &line, in nv50_fan_pwm_ctrl() 66 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) nv50_fan_pwm_get() argument 83 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) nv50_fan_pwm_set() argument 96 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) nv50_fan_pwm_clock() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | nv50.c | 28 pwm_info(struct nvkm_therm *therm, int *line, int *ctrl, int *indx) in pwm_info() argument 32 if (*line == 0x04) { in pwm_info() 34 *line = 4; in pwm_info() 37 if (*line == 0x09) { in pwm_info() 39 *line = 9; in pwm_info() 42 if (*line == 0x10) { in pwm_info() 44 *line = 0; in pwm_info() 47 nvkm_error(subdev, "unknown pwm ctrl for gpio %d\n", *line); in pwm_info() 55 nv50_fan_pwm_ctrl(struct nvkm_therm *therm, int line, bool enable) in nv50_fan_pwm_ctrl() argument 59 int ctrl, id, ret = pwm_info(therm, &line, in nv50_fan_pwm_ctrl() 66 nv50_fan_pwm_get(struct nvkm_therm *therm, int line, u32 *divs, u32 *duty) nv50_fan_pwm_get() argument 83 nv50_fan_pwm_set(struct nvkm_therm *therm, int line, u32 divs, u32 duty) nv50_fan_pwm_set() argument 96 nv50_fan_pwm_clock(struct nvkm_therm *therm, int line) nv50_fan_pwm_clock() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe.c | 33 container_of(vfe_line_array(ptr_line), struct vfe_device, line) 155 static u32 vfe_src_pad_code(struct vfe_line *line, u32 sink_code, in vfe_src_pad_code() argument 158 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() 324 for (i = 0; i < ARRAY_SIZE(vfe->line); i++) { in vfe_init_outputs() 325 struct vfe_output *output = &vfe->line[i].output; in vfe_init_outputs() 582 static int vfe_get_output(struct vfe_line *line) in vfe_get_output() argument 584 struct vfe_device *vfe = to_vfe(line); in vfe_get_output() 586 struct v4l2_format *f = &line->video_out.active_fmt; in vfe_get_output() 593 output = &line->output; in vfe_get_output() 615 wm_idx = vfe_reserve_wm(vfe, line in vfe_get_output() 639 vfe_put_output(struct vfe_line *line) vfe_put_output() argument 657 vfe_enable_output(struct vfe_line *line) vfe_enable_output() argument 773 vfe_disable_output(struct vfe_line *line) vfe_disable_output() argument 840 vfe_enable(struct vfe_line *line) vfe_enable() argument 896 vfe_disable(struct vfe_line *line) vfe_disable() argument 1346 struct vfe_line *line = container_of(vid, struct vfe_line, video_out); vfe_queue_buffer() local 1375 struct vfe_line *line = container_of(vid, struct vfe_line, video_out); vfe_flush_buffers() local 1411 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_set_power() local 1439 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_set_stream() local 1468 __vfe_get_format(struct vfe_line *line, struct v4l2_subdev_pad_config *cfg, unsigned int pad, enum v4l2_subdev_format_whence which) __vfe_get_format() argument 1488 __vfe_get_compose(struct vfe_line *line, struct v4l2_subdev_pad_config *cfg, enum v4l2_subdev_format_whence which) __vfe_get_compose() argument 1508 __vfe_get_crop(struct vfe_line *line, struct v4l2_subdev_pad_config *cfg, enum v4l2_subdev_format_whence which) __vfe_get_crop() argument 1527 vfe_try_format(struct vfe_line *line, struct v4l2_subdev_pad_config *cfg, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) vfe_try_format() argument 1586 vfe_try_compose(struct vfe_line *line, struct v4l2_subdev_pad_config *cfg, struct v4l2_rect *rect, enum v4l2_subdev_format_whence which) vfe_try_compose() argument 1625 vfe_try_crop(struct vfe_line *line, struct v4l2_subdev_pad_config *cfg, struct v4l2_rect *rect, enum v4l2_subdev_format_whence which) vfe_try_crop() argument 1673 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_enum_mbus_code() local 1707 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_enum_frame_size() local 1745 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_get_format() local 1773 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_set_format() local 1824 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_get_selection() local 1894 struct vfe_line *line = v4l2_get_subdevdata(sd); vfe_set_selection() local 2125 struct vfe_line *line; msm_vfe_get_vfe_id() local 2143 struct vfe_line *line; msm_vfe_get_vfe_line_id() local [all...] |