i2400m_fw 1509 drivers/net/wimax/i2400m/fw.c struct i2400m_fw *i2400m_fw = i2400m_fw 1510 drivers/net/wimax/i2400m/fw.c container_of(kref, struct i2400m_fw, kref); i2400m_fw 1511 drivers/net/wimax/i2400m/fw.c release_firmware(i2400m_fw->fw); i2400m_fw 1512 drivers/net/wimax/i2400m/fw.c kfree(i2400m_fw); i2400m_fw 1517 drivers/net/wimax/i2400m/fw.c struct i2400m_fw *i2400m_fw_get(struct i2400m_fw *i2400m_fw) i2400m_fw 1519 drivers/net/wimax/i2400m/fw.c if (i2400m_fw != NULL && i2400m_fw != (void *) ~0) i2400m_fw 1520 drivers/net/wimax/i2400m/fw.c kref_get(&i2400m_fw->kref); i2400m_fw 1521 drivers/net/wimax/i2400m/fw.c return i2400m_fw; i2400m_fw 1526 drivers/net/wimax/i2400m/fw.c void i2400m_fw_put(struct i2400m_fw *i2400m_fw) i2400m_fw 1528 drivers/net/wimax/i2400m/fw.c kref_put(&i2400m_fw->kref, i2400m_fw_destroy); i2400m_fw 1551 drivers/net/wimax/i2400m/fw.c struct i2400m_fw *i2400m_fw; i2400m_fw 1559 drivers/net/wimax/i2400m/fw.c i2400m_fw = i2400m_fw_get(i2400m->fw_cached); i2400m_fw 1561 drivers/net/wimax/i2400m/fw.c if (i2400m_fw == (void *) ~0) { i2400m_fw 1564 drivers/net/wimax/i2400m/fw.c } else if (i2400m_fw != NULL) { i2400m_fw 1567 drivers/net/wimax/i2400m/fw.c ret = i2400m_fw_bootstrap(i2400m, i2400m_fw->fw, flags); i2400m_fw 1568 drivers/net/wimax/i2400m/fw.c i2400m_fw_put(i2400m_fw); i2400m_fw 1603 drivers/net/wimax/i2400m/fw.c struct i2400m_fw *i2400m_fw; i2400m_fw 1608 drivers/net/wimax/i2400m/fw.c i2400m_fw = i2400m->fw_cached; i2400m_fw 1610 drivers/net/wimax/i2400m/fw.c if (i2400m_fw != NULL && i2400m_fw != (void *) ~0) { i2400m_fw 1611 drivers/net/wimax/i2400m/fw.c i2400m_fw_put(i2400m_fw); i2400m_fw 1618 drivers/net/wimax/i2400m/fw.c i2400m_fw = (void *) ~0; i2400m_fw 1622 drivers/net/wimax/i2400m/fw.c i2400m_fw = kzalloc(sizeof(*i2400m_fw), GFP_ATOMIC); i2400m_fw 1623 drivers/net/wimax/i2400m/fw.c if (i2400m_fw == NULL) i2400m_fw 1625 drivers/net/wimax/i2400m/fw.c kref_init(&i2400m_fw->kref); i2400m_fw 1626 drivers/net/wimax/i2400m/fw.c result = request_firmware(&i2400m_fw->fw, i2400m->fw_name, dev); i2400m_fw 1630 drivers/net/wimax/i2400m/fw.c kfree(i2400m_fw); i2400m_fw 1631 drivers/net/wimax/i2400m/fw.c i2400m_fw = (void *) ~0; i2400m_fw 1636 drivers/net/wimax/i2400m/fw.c i2400m->fw_cached = i2400m_fw; i2400m_fw 1643 drivers/net/wimax/i2400m/fw.c struct i2400m_fw *i2400m_fw; i2400m_fw 1646 drivers/net/wimax/i2400m/fw.c i2400m_fw = i2400m->fw_cached; i2400m_fw 1650 drivers/net/wimax/i2400m/fw.c if (i2400m_fw != NULL && i2400m_fw != (void *) ~0) i2400m_fw 1651 drivers/net/wimax/i2400m/fw.c i2400m_fw_put(i2400m_fw); i2400m_fw 643 drivers/net/wimax/i2400m/i2400m.h struct i2400m_fw *fw_cached; /* protected by rx_lock */