Searched refs:idbuf (Results 1 – 2 of 2) sorted by relevance
/drivers/input/joystick/ |
D | sidewinder.c | 577 unsigned char *idbuf = NULL; /* [SW_LENGTH] */ in sw_connect() local 585 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect() 586 if (!sw || !buf || !idbuf) { in sw_connect() 618 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect() 619 m |= sw_guess_mode(idbuf, j); /* ID packet should carry mode info [3DP] */ in sw_connect() 632 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect() 683 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); in sw_connect() 696 sw_3dp_id(idbuf, comment, sizeof(comment)); in sw_connect() 706 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect() 713 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect() [all …]
|
/drivers/net/wireless/intersil/orinoco/ |
D | hw.c | 463 struct hermes_idstring idbuf; in orinoco_hw_program_rids() local 528 idbuf.len = cpu_to_le16(strlen(priv->desired_essid)); in orinoco_hw_program_rids() 529 memcpy(&idbuf.val, priv->desired_essid, sizeof(idbuf.val)); in orinoco_hw_program_rids() 533 &idbuf); in orinoco_hw_program_rids() 541 &idbuf); in orinoco_hw_program_rids() 549 idbuf.len = cpu_to_le16(strlen(priv->nick)); in orinoco_hw_program_rids() 550 memcpy(&idbuf.val, priv->nick, sizeof(idbuf.val)); in orinoco_hw_program_rids() 553 &idbuf); in orinoco_hw_program_rids() 1288 struct hermes_idstring idbuf; in orinoco_hw_trigger_scan() local 1291 idbuf.len = cpu_to_le16(len); in orinoco_hw_trigger_scan() [all …]
|