Lines Matching refs:p

675 	u8 *p = (char *)data;  in hclge_get_strings()  local
680 p = hclge_comm_get_strings(hdev, stringset, g_mac_stats_string, in hclge_get_strings()
681 size, p); in hclge_get_strings()
682 p = hclge_comm_tqps_get_strings(handle, p); in hclge_get_strings()
685 memcpy(p, hns3_nic_test_strs[HNAE3_LOOP_EXTERNAL], in hclge_get_strings()
687 p += ETH_GSTRING_LEN; in hclge_get_strings()
690 memcpy(p, hns3_nic_test_strs[HNAE3_LOOP_APP], in hclge_get_strings()
692 p += ETH_GSTRING_LEN; in hclge_get_strings()
695 memcpy(p, hns3_nic_test_strs[HNAE3_LOOP_SERIAL_SERDES], in hclge_get_strings()
697 p += ETH_GSTRING_LEN; in hclge_get_strings()
700 memcpy(p, in hclge_get_strings()
703 p += ETH_GSTRING_LEN; in hclge_get_strings()
706 memcpy(p, hns3_nic_test_strs[HNAE3_LOOP_PHY], in hclge_get_strings()
708 p += ETH_GSTRING_LEN; in hclge_get_strings()
717 u64 *p; in hclge_get_stats() local
719 p = hclge_comm_get_stats(hdev, g_mac_stats_string, in hclge_get_stats()
721 p = hclge_comm_tqps_get_stats(handle, p); in hclge_get_stats()
5637 u8 *p = (u8 *)rule; in hclge_fd_convert_tuple() local
5649 calc_x(*key_x, p[offset], p[moffset]); in hclge_fd_convert_tuple()
5650 calc_y(*key_y, p[offset], p[moffset]); in hclge_fd_convert_tuple()
5654 calc_x(tmp_x_s, *(u16 *)(&p[offset]), *(u16 *)(&p[moffset])); in hclge_fd_convert_tuple()
5655 calc_y(tmp_y_s, *(u16 *)(&p[offset]), *(u16 *)(&p[moffset])); in hclge_fd_convert_tuple()
5661 calc_x(tmp_x_l, *(u32 *)(&p[offset]), *(u32 *)(&p[moffset])); in hclge_fd_convert_tuple()
5662 calc_y(tmp_y_l, *(u32 *)(&p[offset]), *(u32 *)(&p[moffset])); in hclge_fd_convert_tuple()
5669 calc_x(key_x[ETH_ALEN - 1 - i], p[offset + i], in hclge_fd_convert_tuple()
5670 p[moffset + i]); in hclge_fd_convert_tuple()
5671 calc_y(key_y[ETH_ALEN - 1 - i], p[offset + i], in hclge_fd_convert_tuple()
5672 p[moffset + i]); in hclge_fd_convert_tuple()
5678 calc_x(tmp_x_l, *(u32 *)(&p[offset + ip_offset]), in hclge_fd_convert_tuple()
5679 *(u32 *)(&p[moffset + ip_offset])); in hclge_fd_convert_tuple()
5680 calc_y(tmp_y_l, *(u32 *)(&p[offset + ip_offset]), in hclge_fd_convert_tuple()
5681 *(u32 *)(&p[moffset + ip_offset])); in hclge_fd_convert_tuple()
9227 static void hclge_get_mac_addr(struct hnae3_handle *handle, u8 *p) in hclge_get_mac_addr() argument
9232 ether_addr_copy(p, hdev->hw.mac.mac_addr); in hclge_get_mac_addr()
9279 static int hclge_set_mac_addr(struct hnae3_handle *handle, const void *p, in hclge_set_mac_addr() argument
9282 const unsigned char *new_addr = (const unsigned char *)p; in hclge_set_mac_addr()