Lines Matching refs:halt
301 struct rndis_halt *halt;
441 memset(u.halt, 0, sizeof *u.halt);
442 u.halt->msg_type = RNDIS_MSG_HALT;
443 u.halt->msg_len = cpu_to_le32(sizeof *u.halt);
444 (void) rndis_command(dev, (void *)u.halt, CONTROL_BUFFER_SIZE);
462 struct rndis_halt *halt;
465 halt = kzalloc(CONTROL_BUFFER_SIZE, GFP_KERNEL);
466 if (halt) {
467 halt->msg_type = RNDIS_MSG_HALT;
468 halt->msg_len = cpu_to_le32(sizeof *halt);
469 (void) rndis_command(dev, (void *)halt, CONTROL_BUFFER_SIZE);
470 kfree(halt);