/* ps3_vuart_set_interrupt_mask - Enable/disable the port interrupt sources. @dev: The struct ps3_system_bus_device instance. @bmp: Logical OR of enum vuart_interrupt_mask values. A zero bit disables.  */
static int ps3_vuart_set_interrupt_mask(struct ps3_system_bus_device *dev, unsigned long mask)
/* ps3_vuart_set_interrupt_mask - Enable/disable the port interrupt sources. @dev: The struct ps3_system_bus_device instance. @bmp: Logical OR of enum vuart_interrupt_mask values. A zero bit disables.  */
static int ps3_vuart_set_interrupt_mask(struct ps3_system_bus_device *dev, unsigned long mask)
{
	int result;
	struct ps3_vuart_port_priv *priv = to_port_priv(dev);
	dev_dbg(&dev->core, "%s:%d: %lxh\n", __func__, __LINE__, mask);
	priv->interrupt_mask = mask;
	result = lv1_set_virtual_uart_param(dev->port_number,
		PARAM_INTERRUPT_MASK, priv->interrupt_mask);
	if (result)
		dev_dbg(&dev->core, "%s:%d: interrupt_mask failed: %s\n",
			__func__, __LINE__, ps3_result(result));
	return result;
}