| /linux/drivers/tty/serial/ |
| H A D | sunsab.c | 92 static __inline__ void sunsab_tec_wait(struct uart_sunsab_port *up) in sunsab_tec_wait() argument 94 int timeout = up->tec_timeout; in sunsab_tec_wait() 96 while ((readb(&up->regs->r.star) & SAB82532_STAR_TEC) && --timeout) in sunsab_tec_wait() 100 static __inline__ void sunsab_cec_wait(struct uart_sunsab_port *up) in sunsab_cec_wait() argument 102 int timeout = up->cec_timeout; in sunsab_cec_wait() 104 while ((readb(&up->regs->r.star) & SAB82532_STAR_CEC) && --timeout) in sunsab_cec_wait() 109 receive_chars(struct uart_sunsab_port *up, in receive_chars() argument 119 if (up->port.state != NULL) /* Unopened serial console */ in receive_chars() 120 port = &up->port.state->port; in receive_chars() 129 count = readb(&up->regs->r.rbcl) & (SAB82532_RECV_FIFO_SIZE - 1); in receive_chars() [all …]
|
| H A D | sunzilog.c | 108 #define ZS_IS_KEYB(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_KEYB) argument 109 #define ZS_IS_MOUSE(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_MOUSE) argument 110 #define ZS_IS_CONS(UP) ((UP)->flags & SUNZILOG_FLAG_IS_CONS) argument 111 #define ZS_IS_KGDB(UP) ((UP)->flags & SUNZILOG_FLAG_IS_KGDB) argument 112 #define ZS_WANTS_MODEM_STATUS(UP) ((UP)->flags & SUNZILOG_FLAG_MODEM_STATUS) argument 113 #define ZS_IS_CHANNEL_A(UP) ((UP)->flags & SUNZILOG_FLAG_IS_CHANNEL_A) argument 114 #define ZS_REGS_HELD(UP) ((UP)->flags & SUNZILOG_FLAG_REGS_HELD) argument 115 #define ZS_TX_STOPPED(UP) ((UP)->flags & SUNZILOG_FLAG_TX_STOPPED) argument 116 #define ZS_TX_ACTIVE(UP) ((UP)->flags & SUNZILOG_FLAG_TX_ACTIVE) argument 268 static void sunzilog_maybe_update_regs(struct uart_sunzilog_port *up, in sunzilog_maybe_update_regs() argument [all …]
|
| H A D | ar933x_uart.c | 57 static inline unsigned int ar933x_uart_read(struct ar933x_uart_port *up, in ar933x_uart_read() argument 60 return readl(up->port.membase + offset); in ar933x_uart_read() 63 static inline void ar933x_uart_write(struct ar933x_uart_port *up, in ar933x_uart_write() argument 66 writel(value, up->port.membase + offset); in ar933x_uart_write() 69 static inline void ar933x_uart_rmw(struct ar933x_uart_port *up, in ar933x_uart_rmw() argument 76 t = ar933x_uart_read(up, offset); in ar933x_uart_rmw() 79 ar933x_uart_write(up, offset, t); in ar933x_uart_rmw() 82 static inline void ar933x_uart_rmw_set(struct ar933x_uart_port *up, in ar933x_uart_rmw_set() argument 86 ar933x_uart_rmw(up, offset, 0, val); in ar933x_uart_rmw_set() 89 static inline void ar933x_uart_rmw_clear(struct ar933x_uart_port *up, in ar933x_uart_rmw_clear() argument [all …]
|
| /linux/drivers/net/can/usb/ |
| H A D | ucan.c | 85 /* wake up can transceiver from low-power sleep mode */ 263 struct ucan_priv *up; member 314 static void ucan_release_context_array(struct ucan_priv *up) in ucan_release_context_array() argument 316 if (!up->context_array) in ucan_release_context_array() 320 up->available_tx_urbs = 0; in ucan_release_context_array() 322 kfree(up->context_array); in ucan_release_context_array() 323 up->context_array = NULL; in ucan_release_context_array() 326 static int ucan_alloc_context_array(struct ucan_priv *up) in ucan_alloc_context_array() argument 331 ucan_release_context_array(up); in ucan_alloc_context_array() 333 up->context_array = kzalloc_objs(*up->context_array, in ucan_alloc_context_array() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | uar.c | 83 struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count); in up_rel_func() local 85 list_del(&up->list); in up_rel_func() 86 iounmap(up->map); in up_rel_func() 87 if (mlx5_cmd_free_uar(up->mdev, up->index)) in up_rel_func() 88 mlx5_core_warn(up->mdev, "failed to free uar index %d\n", up->index); in up_rel_func() 89 bitmap_free(up->reg_bitmap); in up_rel_func() 90 bitmap_free(up->fp_bitmap); in up_rel_func() 91 kfree(up); in up_rel_func() 97 struct mlx5_uars_page *up; in alloc_uars_page() local 106 up = kzalloc_node(sizeof(*up), GFP_KERNEL, node); in alloc_uars_page() [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_omap.c | 185 struct uart_8250_port *up = up_to_u8250p(port); in __omap8250_set_mctrl() local 191 if (!mctrl_gpio_to_gpiod(up->gpios, UART_GPIO_RTS)) { in __omap8250_set_mctrl() 196 lcr = serial_in(up, UART_LCR); in __omap8250_set_mctrl() 197 serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); in __omap8250_set_mctrl() 202 serial_out(up, UART_EFR, priv->efr); in __omap8250_set_mctrl() 203 serial_out(up, UART_LCR, lcr); in __omap8250_set_mctrl() 230 static void omap_8250_mdr1_errataset(struct uart_8250_port *up, in omap_8250_mdr1_errataset() argument 233 serial_out(up, UART_OMAP_MDR1, priv->mdr1); in omap_8250_mdr1_errataset() 235 serial_out(up, UART_FCR, up in omap_8250_mdr1_errataset() 266 omap8250_update_scr(struct uart_8250_port * up,struct omap8250_priv * priv) omap8250_update_scr() argument 286 omap8250_update_mdr1(struct uart_8250_port * up,struct omap8250_priv * priv) omap8250_update_mdr1() argument 295 omap8250_restore_regs(struct uart_8250_port * up) omap8250_restore_regs() argument 366 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_set_termios_atomic() local 533 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_pm() local 551 omap_serial_fill_features_erratas(struct uart_8250_port * up,struct omap8250_priv * priv) omap_serial_fill_features_erratas() argument 631 struct uart_8250_port *up = serial8250_get_port(priv->line); omap8250_irq() local 709 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_startup() local 770 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_shutdown() local 817 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_unthrottle() local 835 struct uart_8250_port *up = up_to_u8250p(port); omap8250_rs485_config() local 1221 handle_rx_dma(struct uart_8250_port * up,unsigned int iir) handle_rx_dma() argument 1233 omap_8250_handle_rx_dma(struct uart_8250_port * up,u8 iir,u16 status) omap_8250_handle_rx_dma() argument 1246 am654_8250_handle_uart_errors(struct uart_8250_port * up,u8 iir,u16 status) am654_8250_handle_uart_errors() argument 1260 am654_8250_handle_rx_dma(struct uart_8250_port * up,u8 iir,u16 status) am654_8250_handle_rx_dma() argument 1299 struct uart_8250_port *up = up_to_u8250p(port); omap_8250_dma_handle_irq() local 1420 struct uart_8250_port up; omap8250_probe() local 1617 struct uart_8250_port *up; omap8250_remove() local 1658 struct uart_8250_port *up = serial8250_get_port(priv->line); omap8250_suspend() local 1686 struct uart_8250_port *up = serial8250_get_port(priv->line); omap8250_resume() local 1710 omap8250_lost_context(struct uart_8250_port * up) omap8250_lost_context() argument 1774 struct uart_8250_port *up = NULL; omap8250_runtime_suspend() local 1807 struct uart_8250_port *up = NULL; omap8250_runtime_resume() local [all...] |
| H A D | 8250_uniphier.c | 148 static u32 uniphier_serial_dl_read(struct uart_8250_port *up) in uniphier_serial_dl_read() argument 150 return readl(up->port.membase + UNIPHIER_UART_DLR); in uniphier_serial_dl_read() 153 static void uniphier_serial_dl_write(struct uart_8250_port *up, u32 value) in uniphier_serial_dl_write() argument 155 writel(value, up->port.membase + UNIPHIER_UART_DLR); in uniphier_serial_dl_write() 161 struct uart_8250_port up; in uniphier_uart_probe() local 181 memset(&up, 0, sizeof(up)); in uniphier_uart_probe() 193 up.port.uartclk = clk_get_rate(priv->clk); in uniphier_uart_probe() 197 up.port.dev = dev; in uniphier_uart_probe() 198 up.port.private_data = priv; in uniphier_uart_probe() 199 up.port.mapbase = regs->start; in uniphier_uart_probe() [all …]
|
| H A D | 8250_ce4100.c | 62 static void ce4100_serial_fixup(int port, struct uart_port *up, u32 *capabilities) in ce4100_serial_fixup() argument 70 if (up->iotype != UPIO_MEM32) { in ce4100_serial_fixup() 71 up->uartclk = 14745600; in ce4100_serial_fixup() 72 up->mapbase = 0xdffe0200; in ce4100_serial_fixup() 73 set_fixmap_nocache(FIX_EARLYCON_MEM_BASE, up->mapbase & PAGE_MASK); in ce4100_serial_fixup() 74 up->membase = (void __iomem *)__fix_to_virt(FIX_EARLYCON_MEM_BASE); in ce4100_serial_fixup() 75 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup() 76 up->mapbase += port * 0x100; in ce4100_serial_fixup() 77 up->membase += port * 0x100; in ce4100_serial_fixup() 78 up->iotype = UPIO_MEM32; in ce4100_serial_fixup() [all …]
|
| H A D | 8250_em.c | 141 static u32 serial8250_em_serial_dl_read(struct uart_8250_port *up) in serial8250_em_serial_dl_read() argument 143 return serial_in(up, UART_DLL_EM) | serial_in(up, UART_DLM_EM) << 8; in serial8250_em_serial_dl_read() 146 static void serial8250_em_serial_dl_write(struct uart_8250_port *up, u32 value) in serial8250_em_serial_dl_write() argument 148 serial_out(up, UART_DLL_EM, value & 0xff); in serial8250_em_serial_dl_write() 149 serial_out(up, UART_DLM_EM, value >> 8 & 0xff); in serial8250_em_serial_dl_write() 156 struct uart_8250_port up; in serial8250_em_probe() local 177 memset(&up, 0, sizeof(up)); in serial8250_em_probe() 178 up.port.mapbase = regs->start; in serial8250_em_probe() 179 up.port.irq = irq; in serial8250_em_probe() 180 up.port.type = PORT_16750; in serial8250_em_probe() [all …]
|
| H A D | 8250_dw.c | 105 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_idle_exit() local 110 if (up->capabilities & UART_CAP_FIFO) in dw8250_idle_exit() 111 serial_port_out(p, UART_FCR, up->fcr); in dw8250_idle_exit() 112 serial_port_out(p, UART_MCR, up->mcr); in dw8250_idle_exit() 113 serial_port_out(p, UART_IER, up->ier); in dw8250_idle_exit() 116 if (up->dma) in dw8250_idle_exit() 117 serial8250_tx_dma_resume(up); in dw8250_idle_exit() 133 struct uart_8250_port *up = up_to_u8250p(p); in dw8250_idle_enter() local 147 if (up->dma) { in dw8250_idle_enter() 148 serial8250_rx_dma_flush(up); in dw8250_idle_enter() [all …]
|
| /linux/drivers/mtd/maps/ |
| H A D | sun_uflash.c | 52 struct uflash_dev *up; in uflash_devinit() local 64 up = kzalloc_obj(struct uflash_dev); in uflash_devinit() 65 if (!up) in uflash_devinit() 69 memcpy(&up->map, &uflash_map_templ, sizeof(uflash_map_templ)); in uflash_devinit() 71 up->map.size = resource_size(&op->resource[0]); in uflash_devinit() 73 up->name = of_get_property(dp, "model", NULL); in uflash_devinit() 74 if (up->name && 0 < strlen(up->name)) in uflash_devinit() 75 up->map.name = up->name; in uflash_devinit() 77 up->map.phys = op->resource[0].start; in uflash_devinit() 79 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, in uflash_devinit() [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | b53.rst | 61 The configuration can only be set up via VLAN tagging and bridge setup. 71 # The conduit interface needs to be brought up before the user ports. 72 ip link set eth0 up 73 ip link set eth0.1 up 74 ip link set eth0.2 up 75 ip link set eth0.3 up 77 # bring up the user interfaces 78 ip link set wan up 79 ip link set lan1 up 80 ip link set lan2 up [all …]
|
| H A D | configuration.rst | 37 The user interfaces depend on the conduit interface being up in order for them 42 - when a DSA user interface is brought up, the conduit interface is 43 automatically brought up. 100 # brought up manually before the user ports. 101 ip link set eth0 up 103 # bring up the user interfaces 104 ip link set lan1 up 105 ip link set lan2 up 106 ip link set lan3 up 112 # brought up manually before the user ports. [all …]
|
| /linux/lib/crypto/mpi/ |
| H A D | mpih-mul.c | 21 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument 24 mul_n_basecase(prodp, up, vp, size); \ 26 mul_n(prodp, up, vp, size, tspace); \ 29 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument 32 mpih_sqr_n_basecase(prodp, up, size); \ 34 mpih_sqr_n(prodp, up, size, tspace); \ 37 /* Multiply the natural numbers u (pointed to by UP) and v (pointed to by VP), 42 * 1. PRODP != UP and PRODP != VP, i.e. the destination 55 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase() argument 66 MPN_COPY(prodp, up, size); in mul_n_basecase() [all …]
|
| /linux/drivers/base/power/ |
| H A D | wakeirq.c | 17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ. 46 * automatically configured for wake-up from suspend based 136 * handle_threaded_wake_irq - Handler for dedicated wake-up interrupts 137 * @irq: Device specific dedicated wake-up interrupt 140 * Some devices have a separate wake-up interrupt in addition to the 141 * device IO interrupt. The wake-up interrupt signals that a device 142 * should be woken up from it's idle state. This handler uses device 144 * up to the device to do whatever it needs to. Note that as the 145 * device may need to restore context and start up regulators, we 149 * We assume that the wake-up interrupt just needs to wake-up the [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rockchip-pinconf.dtsi | 8 pcfg_pull_up: pcfg-pull-up { 9 bias-pull-up; 119 pcfg_pull_up_drv_level_0: pcfg-pull-up-drv-level-0 { 120 bias-pull-up; 125 pcfg_pull_up_drv_level_1: pcfg-pull-up-drv-level-1 { 126 bias-pull-up; 131 pcfg_pull_up_drv_level_2: pcfg-pull-up-drv-level-2 { 132 bias-pull-up; 137 pcfg_pull_up_drv_level_3: pcfg-pull-up-drv-level-3 { 138 bias-pull-up; [all …]
|
| /linux/arch/arm/boot/dts/broadcom/ |
| H A D | bcm2166x-pinctrl.dtsi | 85 bias-pull-up; 91 bias-pull-up; 105 bias-pull-up; 111 bias-pull-up; 126 bias-pull-up; 132 bias-pull-up; 146 bias-pull-up; 152 bias-pull-up; 158 bias-pull-up; 164 bias-pull-up; [all …]
|
| /linux/Documentation/admin-guide/aoe/ |
| H A D | aoe.rst | 76 state, mac, and netif. The state attribute is "up" when the device 79 cannot come up again until it has been closed. 90 e10.0 eth3 up 91 e10.1 eth3 up 92 e10.2 eth3 up 93 e10.3 eth3 up 94 e10.4 eth3 up 95 e10.5 eth3 up 96 e10.6 eth3 up 97 e10.7 eth3 up [all …]
|
| /linux/fs/ceph/ |
| H A D | strings.c | 15 /* up and out */ in ceph_mds_state_name() 16 case CEPH_MDS_STATE_BOOT: return "up:boot"; in ceph_mds_state_name() 17 case CEPH_MDS_STATE_STANDBY: return "up:standby"; in ceph_mds_state_name() 18 case CEPH_MDS_STATE_STANDBY_REPLAY: return "up:standby-replay"; in ceph_mds_state_name() 19 case CEPH_MDS_STATE_REPLAYONCE: return "up:oneshot-replay"; in ceph_mds_state_name() 20 case CEPH_MDS_STATE_CREATING: return "up:creating"; in ceph_mds_state_name() 21 case CEPH_MDS_STATE_STARTING: return "up:starting"; in ceph_mds_state_name() 22 /* up and in */ in ceph_mds_state_name() 23 case CEPH_MDS_STATE_REPLAY: return "up:replay"; in ceph_mds_state_name() 24 case CEPH_MDS_STATE_RESOLVE: return "up:resolve"; in ceph_mds_state_name() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | vxlan.sh | 45 ip link set dev $swp1 up 46 ip link set dev $swp2 up 91 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 108 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 125 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 141 ip link add name dummy1 up type dummy 143 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 162 ip link add name vxlan0 up type vxlan id 10 nolearning $UDPCSUM_FLAFS \ 179 ip link add name vxlan0 up type vxlan id 10 learning $UDPCSUM_FLAFS \ 195 ip link add name dummy1 up type dummy [all …]
|
| H A D | extack.sh | 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 40 ip link set dev br1 up 41 ip link add name vx1 up type vxlan id 1000 \ 53 ip link set dev br2 up 54 ip link add name vx2 up type vxlan id 2000 \ 69 ip link set dev vx2 up &>/dev/null 72 ip link set dev vx2 up 2>&1 >/dev/null | grep -q mlxsw_spectrum 90 ip link set dev br1 up 93 ip link add name vx1 up type vxlan id 1000 \ [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | ams,as3711.yaml | 15 two step-up DC/DC converters are defined. 26 Step-up converter configuration, to be used as a backlight source 34 description: Framebuffer phandle for the first step-up converter 38 description: Maximum current for the first step-up converter 42 description: Framebuffer phandle for the second step-up converter 46 description: Maximum current for the second step-up converter 50 description: Second step-up converter uses voltage feedback 55 Second step-up converter uses CURR1 input for current feedback 60 Second step-up converter uses CURR2 input for current feedback 65 Second step-up converter uses CURR3 input for current feedback [all …]
|
| /linux/arch/arm/boot/dts/nxp/mxs/ |
| H A D | imx28.dtsi | 224 fsl,pull-up = <MXS_PULL_DISABLE>; 235 fsl,pull-up = <MXS_PULL_DISABLE>; 248 fsl,pull-up = <MXS_PULL_DISABLE>; 272 fsl,pull-up = <MXS_PULL_DISABLE>; 295 fsl,pull-up = <MXS_PULL_DISABLE>; 306 fsl,pull-up = <MXS_PULL_DISABLE>; 319 fsl,pull-up = <MXS_PULL_DISABLE>; 330 fsl,pull-up = <MXS_PULL_DISABLE>; 341 fsl,pull-up = <MXS_PULL_DISABLE>; 352 fsl,pull-up = <MXS_PULL_DISABLE>; [all …]
|
| /linux/drivers/scsi/ |
| H A D | aha1740.h | 85 #define any2scsi(up, p) \ argument 86 (up)[0] = (((unsigned long)(p)) >> 16) ; \ 87 (up)[1] = (((unsigned long)(p)) >> 8); \ 88 (up)[2] = ((unsigned long)(p)); 90 #define scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) ) argument 92 #define xany2scsi(up, p) \ argument 93 (up)[0] = ((long)(p)) >> 24; \ 94 (up)[1] = ((long)(p)) >> 16; \ 95 (up)[2] = ((long)(p)) >> 8; \ 96 (up)[3] = ((long)(p)); [all …]
|
| /linux/arch/arm/mach-pxa/ |
| H A D | pxa2xx-regs.h | 23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */ 38 #define PKWR __REG(0x40F00050) /* Power Manager KB Wake-up Enable Reg */ 112 #define PWER_GPIO(Nb) (1 << Nb) /* GPIO [0..15] wake-up enable */ 113 #define PWER_GPIO0 PWER_GPIO (0) /* GPIO [0] wake-up enable */ 114 #define PWER_GPIO1 PWER_GPIO (1) /* GPIO [1] wake-up enable */ 115 #define PWER_GPIO2 PWER_GPIO (2) /* GPIO [2] wake-up enable */ 116 #define PWER_GPIO3 PWER_GPIO (3) /* GPIO [3] wake-up enable */ 117 #define PWER_GPIO4 PWER_GPIO (4) /* GPIO [4] wake-up enable */ 118 #define PWER_GPIO5 PWER_GPIO (5) /* GPIO [5] wake-up enable */ 119 #define PWER_GPIO6 PWER_GPIO (6) /* GPIO [6] wake-up enable */ [all …]
|