Lines Matching refs:halt
303 struct rndis_halt *halt;
448 memset(u.halt, 0, sizeof *u.halt);
449 u.halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT);
450 u.halt->msg_len = cpu_to_le32(sizeof *u.halt);
451 (void) rndis_command(dev, (void *)u.halt, CONTROL_BUFFER_SIZE);
469 struct rndis_halt *halt;
472 halt = kzalloc(CONTROL_BUFFER_SIZE, GFP_KERNEL);
473 if (halt) {
474 halt->msg_type = cpu_to_le32(RNDIS_MSG_HALT);
475 halt->msg_len = cpu_to_le32(sizeof *halt);
476 (void) rndis_command(dev, (void *)halt, CONTROL_BUFFER_SIZE);
477 kfree(halt);