/drivers/tty/serial/8250/ |
H A D | 8250_fsl.c | 31 struct uart_8250_port *up = up_to_u8250p(port); local 33 spin_lock_irqsave(&up->port.lock, flags); 37 spin_unlock_irqrestore(&up->port.lock, flags); 42 if (unlikely(up->lsr_saved_flags & UART_LSR_BI)) { 43 up->lsr_saved_flags &= ~UART_LSR_BI; 45 spin_unlock_irqrestore(&up->port.lock, flags); 49 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR); 52 lsr = serial8250_rx_chars(up, lsr); 54 serial8250_modem_status(up); [all...] |
H A D | 8250_em.c | 80 static int serial8250_em_serial_dl_read(struct uart_8250_port *up) argument 82 return serial_in(up, UART_DLL_EM) | serial_in(up, UART_DLM_EM) << 8; 85 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, int value) argument 87 serial_out(up, UART_DLL_EM, value & 0xff); 88 serial_out(up, UART_DLM_EM, value >> 8 & 0xff); 96 struct uart_8250_port up; local 116 memset(&up, 0, sizeof(up)); 117 up [all...] |
H A D | 8250_mtk.c | 46 struct uart_8250_port *up = local 93 /* set DLAB we have cval saved in up->lcr from the call to the core */ 94 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); 95 serial_dl_write(up, quot); 98 serial_port_out(port, UART_LCR, up->lcr);
|
H A D | 8250.h | 94 static inline int serial_in(struct uart_8250_port *up, int offset) argument 96 return up->port.serial_in(&up->port, offset); 99 static inline void serial_out(struct uart_8250_port *up, int offset, int value) argument 101 up->port.serial_out(&up->port, offset, value); 106 static inline int serial_dl_read(struct uart_8250_port *up) argument 108 return up->dl_read(up); 111 static inline void serial_dl_write(struct uart_8250_port *up, in argument [all...] |
H A D | 8250_dw.c | 89 struct uart_8250_port *up = up_to_u8250p(p); local 91 serial8250_clear_and_reinit_fifos(up); 222 static void dw8250_setup_port(struct uart_8250_port *up) argument 224 struct uart_port *p = &up->port; 246 up->tx_loadsz = p->fifosize; 247 up->capabilities = UART_CAP_FIFO; 251 up->capabilities |= UART_CAP_AFE; 258 struct uart_8250_port *up = up_to_u8250p(p); local 291 dw8250_setup_port(up); 310 static int dw8250_probe_acpi(struct uart_8250_port *up, argument [all...] |
/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_cpm1.h | 24 static inline void cpm_set_smc_fcr(smc_uart_t __iomem * up) argument 26 out_8(&up->smc_rfcr, SMC_EB); 27 out_8(&up->smc_tfcr, SMC_EB);
|
H A D | cpm_uart_cpm2.h | 24 static inline void cpm_set_smc_fcr(smc_uart_t __iomem *up) argument 26 out_8(&up->smc_rfcr, CPMFCR_GBL | CPMFCR_EB); 27 out_8(&up->smc_tfcr, CPMFCR_GBL | CPMFCR_EB);
|
/drivers/mtd/maps/ |
H A D | sun_uflash.c | 52 struct uflash_dev *up; local 64 up = kzalloc(sizeof(struct uflash_dev), GFP_KERNEL); 65 if (!up) { 71 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ)); 73 up->map.size = resource_size(&op->resource[0]); 75 up->name = of_get_property(dp, "model", NULL); 76 if (up->name && 0 < strlen(up->name)) 77 up->map.name = up 125 struct uflash_dev *up = dev_get_drvdata(&op->dev); local [all...] |
/drivers/mfd/ |
H A D | wm8350-gpio.c | 143 static int gpio_set_pull_up(struct wm8350 *wm8350, int gpio, int up) argument 145 if (up) 191 /* make sure we never pull up and down at the same time */
|
/drivers/staging/skein/ |
H A D | skein_api.c | 182 u8 *up; local 203 up = (u8 *)ctx->m.s256.x + ctx->skein_size / 8; 216 up[length-1] = (u8)((up[length-1] & (0-mask))|mask);
|
/drivers/thunderbolt/ |
H A D | tunnel_pci.c | 58 struct tb_pci_tunnel *tb_pci_alloc(struct tb *tb, struct tb_port *up, argument 66 tunnel->up_port = up; 68 tunnel->path_to_up = tb_path_alloc(up->sw->tb, 2); 71 tunnel->path_to_down = tb_path_alloc(up->sw->tb, 2); 80 tunnel->path_to_up->hops[0].out_port = tb_upstream_port(up->sw)->remote; 83 tunnel->path_to_up->hops[1].in_port = tb_upstream_port(up->sw); 86 tunnel->path_to_up->hops[1].out_port = up; 89 tunnel->path_to_down->hops[0].in_port = up; 92 tunnel->path_to_down->hops[0].out_port = tb_upstream_port(up->sw); 96 tb_upstream_port(up [all...] |
/drivers/bcma/ |
H A D | driver_pci.c | 239 void bcma_core_pci_power_save(struct bcma_bus *bus, bool up) argument 250 data = up ? 0x74 : 0x7C; 256 data = up ? 0x75 : 0x7D;
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_fcoe.h | 84 u8 up; member in struct:ixgbe_fcoe
|
H A D | ixgbe_dcb.c | 227 u8 ixgbe_dcb_get_tc_from_up(struct ixgbe_dcb_config *cfg, int direction, u8 up) argument 230 u8 prio_mask = 1 << up; 252 u8 up; local 254 for (up = 0; up < MAX_USER_PRIORITY; up++) 255 map[up] = ixgbe_dcb_get_tc_from_up(cfg, direction, up);
|
/drivers/staging/line6/ |
H A D | midi.c | 166 int up) 202 int up) 207 if (up) 165 line6_midi_output_trigger(struct snd_rawmidi_substream *substream, int up) argument 201 line6_midi_input_trigger(struct snd_rawmidi_substream *substream, int up) argument
|
/drivers/clk/ |
H A D | clk-divider.c | 161 int up = INT_MAX; local 169 if ((clkt->div - div) < (up - div)) 170 up = clkt->div; 173 return up; 210 int up, down, div; local 212 up = down = div = DIV_ROUND_CLOSEST(parent_rate, rate); 215 up = __roundup_pow_of_two(div); 218 up = _round_up_table(divider->table, div); 222 return (up - div) <= (div - down) ? up [all...] |
/drivers/input/keyboard/ |
H A D | hil_kbd.c | 171 int up = key & HIL_KBD_SET1_UPBIT; local 175 input_report_key(dev, key, !up); 182 int up = key & HIL_KBD_SET2_UPBIT; local 186 input_report_key(dev, key, !up); 193 int up = key & HIL_KBD_SET3_UPBIT; local 197 input_report_key(dev, key, !up); 252 int up = btn & 1; local 261 input_report_key(dev, btn, !up);
|
H A D | stmpe-keypad.c | 154 bool up = data & STMPE_KPC_DATA_UP; local 161 input_report_key(input, keypad->keymap[code], !up);
|
H A D | tc3589x-keypad.c | 29 /* Pull up/down masks */ 134 /* Configure pull-up resistors for all row GPIOs */ 145 /* Configure pull-up resistors for all column GPIOs */ 171 u8 i, row_index, col_index, kbd_code, up; local 187 up = kbd_code & KP_RELEASE_EVT_MASK; 190 input_report_key(keypad->input, keypad->keymap[code], !up);
|
/drivers/net/can/softing/ |
H A D | softing_fw.c | 428 int softing_startstop(struct net_device *dev, int up) argument 442 if (!card->fw.up) 450 if (dev && up) 488 /* no busses to be brought up */
|
/drivers/nfc/ |
H A D | nfcsim.c | 50 u8 up; member in struct:nfcsim 105 dev->up = 1; 120 dev->up = 0; 263 if (dev->shutting_down || !dev->up || !dev->clone_skb) { 297 if (dev->shutting_down || !dev->up) {
|
/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-tcpip.c | 78 libcfs_ipif_query (char *name, int *up, __u32 *ip, __u32 *mask) argument 103 *up = 0; 108 *up = 1; 166 CERROR ("ENOMEM enumerating up to %d interfaces\n", nalloc);
|
/drivers/net/wan/ |
H A D | hdlc_cisco.c | 59 int up; member in struct:cisco_state 229 if (!st->up) { 235 netdev_info(dev, "Link up (peer uptime %ud%uh%um%us)\n", 238 st->up = 1; 267 if (st->up && 269 st->up = 0; 293 st->up = st->txseq = st->rxseq = 0; 315 st->up = st->txseq = 0;
|
/drivers/tty/serial/ |
H A D | nwpserial.c | 44 static void wait_for_bits(struct nwpserial_port *up, int bits) argument 48 /* Wait up to 10ms for the character(s) to be sent. */ 50 status = dcr_read(up->dcr_host, UART_LSR); 61 struct nwpserial_port *up; local 62 up = container_of(port, struct nwpserial_port, port); 64 wait_for_bits(up, UART_LSR_THRE); 65 dcr_write(up->dcr_host, UART_TX, c); 66 up->port.icount.tx++; 72 struct nwpserial_port *up = &nwpserial_ports[co->index]; local 77 locked = spin_trylock_irqsave(&up 131 struct nwpserial_port *up = dev_id; local 168 struct nwpserial_port *up; local 195 struct nwpserial_port *up; local 223 struct nwpserial_port *up; local 246 struct nwpserial_port *up; local 252 nwpserial_putchar(struct nwpserial_port *up, unsigned char c) argument 262 struct nwpserial_port *up; local 295 struct nwpserial_port *up; local 337 struct nwpserial_port *up = NULL; local 421 struct nwpserial_port *up = &nwpserial_ports[line]; local 434 struct nwpserial_port *up = NULL; local [all...] |
/drivers/usb/host/ |
H A D | uhci-debug.c | 560 struct uhci_debug *up; local 563 up = kmalloc(sizeof(*up), GFP_KERNEL); 564 if (!up) 567 up->data = kmalloc(MAX_OUTPUT, GFP_KERNEL); 568 if (!up->data) { 569 kfree(up); 573 up->size = 0; 576 up->size = uhci_sprint_schedule(uhci, up 587 struct uhci_debug *up; local 613 struct uhci_debug *up = file->private_data; local 619 struct uhci_debug *up = file->private_data; local [all...] |