Lines Matching refs:i2400m

87 int i2400mu_bus_dev_start(struct i2400m *i2400m)  in i2400mu_bus_dev_start()  argument
90 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_dev_start()
93 d_fnstart(3, dev, "(i2400m %p)\n", i2400m); in i2400mu_bus_dev_start()
103 d_fnend(3, dev, "(i2400m %p) = %d\n", i2400m, result); in i2400mu_bus_dev_start()
111 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); in i2400mu_bus_dev_start()
117 void i2400mu_bus_dev_stop(struct i2400m *i2400m) in i2400mu_bus_dev_stop() argument
119 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_dev_stop()
122 d_fnstart(3, dev, "(i2400m %p)\n", i2400m); in i2400mu_bus_dev_stop()
126 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); in i2400mu_bus_dev_stop()
261 int i2400mu_bus_reset(struct i2400m *i2400m, enum i2400m_reset_type rt) in i2400mu_bus_reset() argument
265 container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_reset()
266 struct device *dev = i2400m_dev(i2400m); in i2400mu_bus_reset()
280 d_fnstart(3, dev, "(i2400m %p rt %u)\n", i2400m, rt); in i2400mu_bus_reset()
324 d_fnend(3, dev, "(i2400m %p rt %u) = %d\n", i2400m, rt, result); in i2400mu_bus_reset()
331 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); in i2400mu_get_drvinfo() local
332 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_get_drvinfo()
336 strlcpy(info->fw_version, i2400m->fw_name ? : "", in i2400mu_get_drvinfo()
349 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); in i2400mu_netdev_setup() local
350 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_netdev_setup()
372 struct dentry *dentry = i2400mu->i2400m.wimax_dev.debugfs_dentry; in i2400mu_debugfs_add()
416 struct i2400m *i2400m; in i2400mu_probe() local
436 i2400m = net_dev_to_i2400m(net_dev); in i2400mu_probe()
437 i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_probe()
438 i2400m->wimax_dev.net_dev = net_dev; in i2400mu_probe()
443 i2400m->bus_tx_block_size = I2400MU_BLK_SIZE; in i2400mu_probe()
450 i2400m->bus_tx_room_min = I2400MU_BLK_SIZE; in i2400mu_probe()
451 i2400m->bus_pl_size_max = I2400MU_PL_SIZE_MAX; in i2400mu_probe()
452 i2400m->bus_setup = NULL; in i2400mu_probe()
453 i2400m->bus_dev_start = i2400mu_bus_dev_start; in i2400mu_probe()
454 i2400m->bus_dev_stop = i2400mu_bus_dev_stop; in i2400mu_probe()
455 i2400m->bus_release = NULL; in i2400mu_probe()
456 i2400m->bus_tx_kick = i2400mu_bus_tx_kick; in i2400mu_probe()
457 i2400m->bus_reset = i2400mu_bus_reset; in i2400mu_probe()
458 i2400m->bus_bm_retries = I2400M_USB_BOOT_RETRIES; in i2400mu_probe()
459 i2400m->bus_bm_cmd_send = i2400mu_bus_bm_cmd_send; in i2400mu_probe()
460 i2400m->bus_bm_wait_for_ack = i2400mu_bus_bm_wait_for_ack; in i2400mu_probe()
461 i2400m->bus_bm_mac_addr_impaired = 0; in i2400mu_probe()
477 i2400m->bus_fw_names = i2400mu_bus_fw_names_6050; in i2400mu_probe()
483 i2400m->bus_fw_names = i2400mu_bus_fw_names_5x50; in i2400mu_probe()
496 result = i2400m_setup(i2400m, I2400M_BRI_MAC_REINIT); in i2400mu_probe()
524 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_disconnect() local
525 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400mu_disconnect()
528 d_fnstart(3, dev, "(iface %p i2400m %p)\n", iface, i2400m); in i2400mu_disconnect()
531 i2400m_release(i2400m); in i2400mu_disconnect()
535 d_fnend(3, dev, "(iface %p i2400m %p) = void\n", iface, i2400m); in i2400mu_disconnect()
584 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_suspend() local
593 if (i2400m->updown == 0) in i2400mu_suspend()
595 if (i2400m->state == I2400M_SS_DATA_PATH_CONNECTED && is_autosuspend) { in i2400mu_suspend()
617 result = i2400m_cmd_enter_powersave(i2400m); in i2400mu_suspend()
643 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_resume() local
647 if (i2400m->updown == 0) { in i2400mu_resume()
668 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_reset_resume() local
671 result = i2400m_dev_reset_handle(i2400m, "device reset on resume"); in i2400mu_reset_resume()
689 return i2400m_pre_reset(&i2400mu->i2400m); in i2400mu_pre_reset()
704 return i2400m_post_reset(&i2400mu->i2400m); in i2400mu_post_reset()