Home
last modified time | relevance | path

Searched refs:mgmt_ethhdr (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/net/dsa/qca/
H A Dqca8k-8xxx.c167 struct qca_mgmt_ethhdr *mgmt_ethhdr; in qca8k_rw_reg_ack_handler() local
172 mgmt_ethhdr = (struct qca_mgmt_ethhdr *)skb_mac_header(skb); in qca8k_rw_reg_ack_handler()
175 command = get_unaligned_le32(&mgmt_ethhdr->command); in qca8k_rw_reg_ack_handler()
189 if (get_unaligned_le32(&mgmt_ethhdr->seq) == mgmt_eth_data->seq) in qca8k_rw_reg_ack_handler()
195 *val = get_unaligned_le32(&mgmt_ethhdr->mdio_data); in qca8k_rw_reg_ack_handler()
221 struct qca_mgmt_ethhdr *mgmt_ethhdr; in qca8k_alloc_mdio_header() local
264 mgmt_ethhdr = skb_push(skb, QCA_HDR_MGMT_HEADER_LEN + QCA_HDR_LEN); in qca8k_alloc_mdio_header()
278 put_unaligned_le32(command, &mgmt_ethhdr->command); in qca8k_alloc_mdio_header()
281 put_unaligned_le32(*val, &mgmt_ethhdr->mdio_data); in qca8k_alloc_mdio_header()
283 mgmt_ethhdr->hdr = htons(hdr); in qca8k_alloc_mdio_header()
[all …]