• Home
  • Raw
  • Download

Lines Matching refs:i2400m

102 int i2400mu_bus_dev_start(struct i2400m *i2400m)  in i2400mu_bus_dev_start()  argument
105 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_dev_start()
108 d_fnstart(3, dev, "(i2400m %p)\n", i2400m); in i2400mu_bus_dev_start()
118 d_fnend(3, dev, "(i2400m %p) = %d\n", i2400m, result); in i2400mu_bus_dev_start()
126 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); in i2400mu_bus_dev_start()
132 void i2400mu_bus_dev_stop(struct i2400m *i2400m) in i2400mu_bus_dev_stop() argument
134 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_dev_stop()
137 d_fnstart(3, dev, "(i2400m %p)\n", i2400m); in i2400mu_bus_dev_stop()
141 d_fnend(3, dev, "(i2400m %p) = void\n", i2400m); in i2400mu_bus_dev_stop()
275 int i2400mu_bus_reset(struct i2400m *i2400m, enum i2400m_reset_type rt) in i2400mu_bus_reset() argument
279 container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_reset()
280 struct device *dev = i2400m_dev(i2400m); in i2400mu_bus_reset()
294 d_fnstart(3, dev, "(i2400m %p rt %u)\n", i2400m, rt); in i2400mu_bus_reset()
338 d_fnend(3, dev, "(i2400m %p rt %u) = %d\n", i2400m, rt, result); in i2400mu_bus_reset()
345 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); in i2400mu_get_drvinfo() local
346 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_get_drvinfo()
350 strlcpy(info->fw_version, i2400m->fw_name ? : "", in i2400mu_get_drvinfo()
363 struct i2400m *i2400m = net_dev_to_i2400m(net_dev); in i2400mu_netdev_setup() local
364 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_netdev_setup()
397 struct dentry *dentry = i2400mu->i2400m.wimax_dev.debugfs_dentry; in i2400mu_debugfs_add()
466 struct i2400m *i2400m; in i2400mu_probe() local
486 i2400m = net_dev_to_i2400m(net_dev); in i2400mu_probe()
487 i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_probe()
488 i2400m->wimax_dev.net_dev = net_dev; in i2400mu_probe()
493 i2400m->bus_tx_block_size = I2400MU_BLK_SIZE; in i2400mu_probe()
500 i2400m->bus_tx_room_min = I2400MU_BLK_SIZE; in i2400mu_probe()
501 i2400m->bus_pl_size_max = I2400MU_PL_SIZE_MAX; in i2400mu_probe()
502 i2400m->bus_setup = NULL; in i2400mu_probe()
503 i2400m->bus_dev_start = i2400mu_bus_dev_start; in i2400mu_probe()
504 i2400m->bus_dev_stop = i2400mu_bus_dev_stop; in i2400mu_probe()
505 i2400m->bus_release = NULL; in i2400mu_probe()
506 i2400m->bus_tx_kick = i2400mu_bus_tx_kick; in i2400mu_probe()
507 i2400m->bus_reset = i2400mu_bus_reset; in i2400mu_probe()
508 i2400m->bus_bm_retries = I2400M_USB_BOOT_RETRIES; in i2400mu_probe()
509 i2400m->bus_bm_cmd_send = i2400mu_bus_bm_cmd_send; in i2400mu_probe()
510 i2400m->bus_bm_wait_for_ack = i2400mu_bus_bm_wait_for_ack; in i2400mu_probe()
511 i2400m->bus_bm_mac_addr_impaired = 0; in i2400mu_probe()
527 i2400m->bus_fw_names = i2400mu_bus_fw_names_6050; in i2400mu_probe()
533 i2400m->bus_fw_names = i2400mu_bus_fw_names_5x50; in i2400mu_probe()
546 result = i2400m_setup(i2400m, I2400M_BRI_MAC_REINIT); in i2400mu_probe()
559 i2400m_release(i2400m); in i2400mu_probe()
580 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_disconnect() local
581 struct net_device *net_dev = i2400m->wimax_dev.net_dev; in i2400mu_disconnect()
584 d_fnstart(3, dev, "(iface %p i2400m %p)\n", iface, i2400m); in i2400mu_disconnect()
587 i2400m_release(i2400m); in i2400mu_disconnect()
591 d_fnend(3, dev, "(iface %p i2400m %p) = void\n", iface, i2400m); in i2400mu_disconnect()
640 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_suspend() local
649 if (i2400m->updown == 0) in i2400mu_suspend()
651 if (i2400m->state == I2400M_SS_DATA_PATH_CONNECTED && is_autosuspend) { in i2400mu_suspend()
673 result = i2400m_cmd_enter_powersave(i2400m); in i2400mu_suspend()
699 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_resume() local
703 if (i2400m->updown == 0) { in i2400mu_resume()
724 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_reset_resume() local
727 result = i2400m_dev_reset_handle(i2400m, "device reset on resume"); in i2400mu_reset_resume()
745 return i2400m_pre_reset(&i2400mu->i2400m); in i2400mu_pre_reset()
760 return i2400m_post_reset(&i2400mu->i2400m); in i2400mu_post_reset()