metro_priv 110 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv = usb_get_serial_port_data(port); metro_priv 148 drivers/usb/serial/metro-usb.c spin_lock_irqsave(&metro_priv->lock, flags); metro_priv 149 drivers/usb/serial/metro-usb.c throttled = metro_priv->throttled; metro_priv 150 drivers/usb/serial/metro-usb.c spin_unlock_irqrestore(&metro_priv->lock, flags); metro_priv 173 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv = usb_get_serial_port_data(port); metro_priv 178 drivers/usb/serial/metro-usb.c spin_lock_irqsave(&metro_priv->lock, flags); metro_priv 179 drivers/usb/serial/metro-usb.c metro_priv->control_state = 0; metro_priv 180 drivers/usb/serial/metro-usb.c metro_priv->throttled = 0; metro_priv 181 drivers/usb/serial/metro-usb.c spin_unlock_irqrestore(&metro_priv->lock, flags); metro_priv 246 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv; metro_priv 248 drivers/usb/serial/metro-usb.c metro_priv = kzalloc(sizeof(*metro_priv), GFP_KERNEL); metro_priv 249 drivers/usb/serial/metro-usb.c if (!metro_priv) metro_priv 252 drivers/usb/serial/metro-usb.c spin_lock_init(&metro_priv->lock); metro_priv 254 drivers/usb/serial/metro-usb.c usb_set_serial_port_data(port, metro_priv); metro_priv 261 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv; metro_priv 263 drivers/usb/serial/metro-usb.c metro_priv = usb_get_serial_port_data(port); metro_priv 264 drivers/usb/serial/metro-usb.c kfree(metro_priv); metro_priv 272 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv = usb_get_serial_port_data(port); metro_priv 276 drivers/usb/serial/metro-usb.c spin_lock_irqsave(&metro_priv->lock, flags); metro_priv 277 drivers/usb/serial/metro-usb.c metro_priv->throttled = 1; metro_priv 278 drivers/usb/serial/metro-usb.c spin_unlock_irqrestore(&metro_priv->lock, flags); metro_priv 285 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv = usb_get_serial_port_data(port); metro_priv 288 drivers/usb/serial/metro-usb.c spin_lock_irqsave(&metro_priv->lock, flags); metro_priv 289 drivers/usb/serial/metro-usb.c control_state = metro_priv->control_state; metro_priv 290 drivers/usb/serial/metro-usb.c spin_unlock_irqrestore(&metro_priv->lock, flags); metro_priv 300 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv = usb_get_serial_port_data(port); metro_priv 306 drivers/usb/serial/metro-usb.c spin_lock_irqsave(&metro_priv->lock, flags); metro_priv 307 drivers/usb/serial/metro-usb.c control_state = metro_priv->control_state; metro_priv 319 drivers/usb/serial/metro-usb.c metro_priv->control_state = control_state; metro_priv 320 drivers/usb/serial/metro-usb.c spin_unlock_irqrestore(&metro_priv->lock, flags); metro_priv 327 drivers/usb/serial/metro-usb.c struct metrousb_private *metro_priv = usb_get_serial_port_data(port); metro_priv 332 drivers/usb/serial/metro-usb.c spin_lock_irqsave(&metro_priv->lock, flags); metro_priv 333 drivers/usb/serial/metro-usb.c metro_priv->throttled = 0; metro_priv 334 drivers/usb/serial/metro-usb.c spin_unlock_irqrestore(&metro_priv->lock, flags);