/drivers/thunderbolt/ |
D | domain.c | 126 struct tb *tb = container_of(dev, struct tb, dev); in boot_acl_show() local 131 uuids = kcalloc(tb->nboot_acl, sizeof(uuid_t), GFP_KERNEL); in boot_acl_show() 135 pm_runtime_get_sync(&tb->dev); in boot_acl_show() 137 if (mutex_lock_interruptible(&tb->lock)) { in boot_acl_show() 141 ret = tb->cm_ops->get_boot_acl(tb, uuids, tb->nboot_acl); in boot_acl_show() 143 mutex_unlock(&tb->lock); in boot_acl_show() 146 mutex_unlock(&tb->lock); in boot_acl_show() 148 for (ret = 0, i = 0; i < tb->nboot_acl; i++) { in boot_acl_show() 154 i < tb->nboot_acl - 1 ? "," : "\n"); in boot_acl_show() 158 pm_runtime_mark_last_busy(&tb->dev); in boot_acl_show() [all …]
|
D | tb.c | 36 static inline struct tb *tcm_to_tb(struct tb_cm *tcm) in tcm_to_tb() 38 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 43 struct tb *tb; member 51 static void tb_queue_hotplug(struct tb *tb, u64 route, u8 port, bool unplug) in tb_queue_hotplug() argument 59 ev->tb = tb; in tb_queue_hotplug() 64 queue_work(tb->wq, &ev->work); in tb_queue_hotplug() 71 struct tb_cm *tcm = tb_priv(sw->tb); in tb_add_dp_resources() 88 struct tb_cm *tcm = tb_priv(sw->tb); in tb_remove_dp_resources() 107 struct tb *tb = sw->tb; in tb_discover_tunnels() local 108 struct tb_cm *tcm = tb_priv(tb); in tb_discover_tunnels() [all …]
|
D | icm.c | 89 bool (*is_supported)(struct tb *tb); 90 int (*cio_reset)(struct tb *tb); 91 int (*get_mode)(struct tb *tb); 92 int (*get_route)(struct tb *tb, u8 link, u8 depth, u64 *route); 93 void (*save_devices)(struct tb *tb); 94 int (*driver_ready)(struct tb *tb, 97 void (*set_uuid)(struct tb *tb); 98 void (*device_connected)(struct tb *tb, 100 void (*device_disconnected)(struct tb *tb, 102 void (*xdomain_connected)(struct tb *tb, [all …]
|
D | tb.h | 148 struct tb *tb; member 232 struct tb *tb; member 313 struct tb *tb; member 372 int (*driver_ready)(struct tb *tb); 373 int (*start)(struct tb *tb); 374 void (*stop)(struct tb *tb); 375 int (*suspend_noirq)(struct tb *tb); 376 int (*resume_noirq)(struct tb *tb); 377 int (*suspend)(struct tb *tb); 378 int (*freeze_noirq)(struct tb *tb); [all …]
|
D | tunnel.h | 44 struct tb *tb; member 65 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down); 66 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, 68 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in); 69 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, 72 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, 76 struct tb_tunnel *tb_tunnel_discover_usb3(struct tb *tb, struct tb_port *down); 77 struct tb_tunnel *tb_tunnel_alloc_usb3(struct tb *tb, struct tb_port *up,
|
D | xdomain.c | 28 struct tb *tb; member 127 return __tb_xdomain_response(xd->tb->ctl, response, size, type); in tb_xdomain_response() 181 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request() 376 static int tb_xdp_properties_response(struct tb *tb, struct tb_ctl *ctl, in tb_xdp_properties_response() argument 558 struct tb *tb = xw->tb; in tb_xdp_handle_request() local 559 struct tb_ctl *ctl = tb->ctl; in tb_xdp_handle_request() 569 mutex_lock(&tb->lock); in tb_xdp_handle_request() 570 if (tb->root_switch) in tb_xdp_handle_request() 571 uuid = tb->root_switch->uuid; in tb_xdp_handle_request() 574 mutex_unlock(&tb->lock); in tb_xdp_handle_request() [all …]
|
D | debugfs.c | 127 struct tb *tb = sw->tb; in regs_write() local 138 if (mutex_lock_interruptible(&tb->lock)) { in regs_write() 156 mutex_unlock(&tb->lock); in regs_write() 213 struct tb *tb = port->sw->tb; in counters_write() local 223 if (mutex_lock_interruptible(&tb->lock)) { in counters_write() 244 mutex_unlock(&tb->lock); in counters_write() 399 struct tb *tb = sw->tb; in port_regs_show() local 404 if (mutex_lock_interruptible(&tb->lock)) { in port_regs_show() 418 mutex_unlock(&tb->lock); in port_regs_show() 503 struct tb *tb = sw->tb; in switch_regs_show() local [all …]
|
D | switch.c | 183 ret = tb_domain_disconnect_all_paths(sw->tb); in nvm_authenticate_host_dma_port() 266 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_start_dma_port() 275 root_port = pcie_find_root_port(sw->tb->nhi->pdev); in nvm_authenticate_complete_dma_port() 337 if (!mutex_trylock(&sw->tb->lock)) { in tb_switch_nvm_read() 343 mutex_unlock(&sw->tb->lock); in tb_switch_nvm_read() 359 if (!mutex_trylock(&sw->tb->lock)) in tb_switch_nvm_write() 369 mutex_unlock(&sw->tb->lock); in tb_switch_nvm_write() 491 static void tb_dump_port(struct tb *tb, struct tb_regs_port_header *port) in tb_dump_port() argument 493 tb_dbg(tb, in tb_dump_port() 498 tb_dbg(tb, " Max hop id (in/out): %d/%d\n", in tb_dump_port() [all …]
|
D | nhi.c | 856 struct tb *tb = pci_get_drvdata(pdev); in __nhi_suspend_noirq() local 857 struct tb_nhi *nhi = tb->nhi; in __nhi_suspend_noirq() 860 ret = tb_domain_suspend_noirq(tb); in __nhi_suspend_noirq() 865 ret = nhi->ops->suspend_noirq(tb->nhi, wakeup); in __nhi_suspend_noirq() 881 struct tb *tb = pci_get_drvdata(pdev); in nhi_freeze_noirq() local 883 return tb_domain_freeze_noirq(tb); in nhi_freeze_noirq() 889 struct tb *tb = pci_get_drvdata(pdev); in nhi_thaw_noirq() local 891 return tb_domain_thaw_noirq(tb); in nhi_thaw_noirq() 936 struct tb *tb = pci_get_drvdata(pdev); in nhi_resume_noirq() local 937 struct tb_nhi *nhi = tb->nhi; in nhi_resume_noirq() [all …]
|
D | nhi_ops.c | 27 struct tb *tb = pci_get_drvdata(nhi->pdev); in icl_nhi_is_device_connected() local 30 ret = device_for_each_child(&tb->root_switch->dev, NULL, in icl_nhi_is_device_connected() 124 struct tb *tb = pci_get_drvdata(nhi->pdev); in icl_nhi_suspend() local 130 if (tb_switch_is_icm(tb->root_switch)) { in icl_nhi_suspend() 147 struct tb *tb = pci_get_drvdata(nhi->pdev); in icl_nhi_suspend_noirq() local 153 if (!tb_switch_is_icm(tb->root_switch)) in icl_nhi_suspend_noirq()
|
D | tunnel.c | 45 level(__tunnel->tb, "%llx:%x <-> %llx:%x (%s): " fmt, \ 63 static struct tb_tunnel *tb_tunnel_alloc(struct tb *tb, size_t npaths, in tb_tunnel_alloc() argument 79 tunnel->tb = tb; in tb_tunnel_alloc() 141 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down) in tb_tunnel_discover_pci() argument 149 tunnel = tb_tunnel_alloc(tb, 2, TB_TUNNEL_PCI); in tb_tunnel_discover_pci() 218 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci() argument 224 tunnel = tb_tunnel_alloc(tb, 2, TB_TUNNEL_PCI); in tb_tunnel_alloc_pci() 232 path = tb_path_alloc(tb, down, TB_PCI_HOPID, up, TB_PCI_HOPID, 0, in tb_tunnel_alloc_pci() 241 path = tb_path_alloc(tb, up, TB_PCI_HOPID, down, TB_PCI_HOPID, 0, in tb_tunnel_alloc_pci() 654 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in) in tb_tunnel_discover_dp() argument [all …]
|
/drivers/target/ |
D | target_core_hba.c | 40 struct target_backend *tb, *old; in transport_backend_register() local 42 tb = kzalloc(sizeof(*tb), GFP_KERNEL); in transport_backend_register() 43 if (!tb) in transport_backend_register() 45 tb->ops = ops; in transport_backend_register() 52 kfree(tb); in transport_backend_register() 56 target_setup_backend_cits(tb); in transport_backend_register() 57 list_add_tail(&tb->list, &backend_list); in transport_backend_register() 68 struct target_backend *tb; in target_backend_unregister() local 71 list_for_each_entry(tb, &backend_list, list) { in target_backend_unregister() 72 if (tb->ops == ops) { in target_backend_unregister() [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | testmode.c | 58 static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_test() argument 67 if (!tb[WL1271_TM_ATTR_DATA]) in wl1271_tm_cmd_test() 70 buf = nla_data(tb[WL1271_TM_ATTR_DATA]); in wl1271_tm_cmd_test() 71 buf_len = nla_len(tb[WL1271_TM_ATTR_DATA]); in wl1271_tm_cmd_test() 73 if (tb[WL1271_TM_ATTR_ANSWER]) in wl1271_tm_cmd_test() 74 answer = nla_get_u8(tb[WL1271_TM_ATTR_ANSWER]); in wl1271_tm_cmd_test() 140 static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_interrogate() argument 149 if (!tb[WL1271_TM_ATTR_IE_ID]) in wl1271_tm_cmd_interrogate() 152 ie_id = nla_get_u8(tb[WL1271_TM_ATTR_IE_ID]); in wl1271_tm_cmd_interrogate() 207 static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[]) in wl1271_tm_cmd_configure() argument [all …]
|
D | vendor_cmd.c | 33 struct nlattr *tb[NUM_WLCORE_VENDOR_ATTR]; in wlcore_vendor_cmd_smart_config_start() local 41 ret = nla_parse_deprecated(tb, MAX_WLCORE_VENDOR_ATTR, data, data_len, in wlcore_vendor_cmd_smart_config_start() 46 if (!tb[WLCORE_VENDOR_ATTR_GROUP_ID]) in wlcore_vendor_cmd_smart_config_start() 63 nla_get_u32(tb[WLCORE_VENDOR_ATTR_GROUP_ID])); in wlcore_vendor_cmd_smart_config_start() 114 struct nlattr *tb[NUM_WLCORE_VENDOR_ATTR]; in wlcore_vendor_cmd_smart_config_set_group_key() local 122 ret = nla_parse_deprecated(tb, MAX_WLCORE_VENDOR_ATTR, data, data_len, in wlcore_vendor_cmd_smart_config_set_group_key() 127 if (!tb[WLCORE_VENDOR_ATTR_GROUP_ID] || in wlcore_vendor_cmd_smart_config_set_group_key() 128 !tb[WLCORE_VENDOR_ATTR_GROUP_KEY]) in wlcore_vendor_cmd_smart_config_set_group_key() 145 nla_get_u32(tb[WLCORE_VENDOR_ATTR_GROUP_ID]), in wlcore_vendor_cmd_smart_config_set_group_key() 146 nla_len(tb[WLCORE_VENDOR_ATTR_GROUP_KEY]), in wlcore_vendor_cmd_smart_config_set_group_key() [all …]
|
/drivers/infiniband/core/ |
D | nldev.c | 873 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_get_doit() local 879 err = nlmsg_parse_deprecated(nlh, 0, tb, RDMA_NLDEV_ATTR_MAX - 1, in nldev_get_doit() 881 if (err || !tb[RDMA_NLDEV_ATTR_DEV_INDEX]) in nldev_get_doit() 884 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_get_doit() 919 struct nlattr *tb[RDMA_NLDEV_ATTR_MAX]; in nldev_set_doit() local 924 err = nlmsg_parse_deprecated(nlh, 0, tb, RDMA_NLDEV_ATTR_MAX - 1, in nldev_set_doit() 926 if (err || !tb[RDMA_NLDEV_ATTR_DEV_INDEX]) in nldev_set_doit() 929 index = nla_get_u32(tb[RDMA_NLDEV_ATTR_DEV_INDEX]); in nldev_set_doit() 934 if (tb[RDMA_NLDEV_ATTR_DEV_NAME]) { in nldev_set_doit() 937 nla_strlcpy(name, tb[RDMA_NLDEV_ATTR_DEV_NAME], in nldev_set_doit() [all …]
|
/drivers/tty/ |
D | tty_buffer.c | 320 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_fixed_flag() local 323 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag() 324 if (~tb->flags & TTYB_NORMAL) in tty_insert_flip_string_fixed_flag() 325 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag() 326 tb->used += space; in tty_insert_flip_string_fixed_flag() 355 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_string_flags() local 358 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags() 359 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags() 360 tb->used += space; in tty_insert_flip_string_flags() 382 struct tty_buffer *tb; in __tty_insert_flip_char() local [all …]
|
/drivers/net/wireless/mediatek/mt76/ |
D | testmode.c | 294 struct nlattr *tb[NUM_MT76_TM_ATTRS]; in mt76_testmode_cmd() local 302 err = nla_parse_deprecated(tb, MT76_TM_ATTR_MAX, data, len, in mt76_testmode_cmd() 311 if (tb[MT76_TM_ATTR_RESET]) { in mt76_testmode_cmd() 318 if (tb[MT76_TM_ATTR_TX_COUNT]) in mt76_testmode_cmd() 319 td->tx_count = nla_get_u32(tb[MT76_TM_ATTR_TX_COUNT]); in mt76_testmode_cmd() 321 if (tb[MT76_TM_ATTR_TX_LENGTH]) { in mt76_testmode_cmd() 322 u32 val = nla_get_u32(tb[MT76_TM_ATTR_TX_LENGTH]); in mt76_testmode_cmd() 331 if (tb[MT76_TM_ATTR_TX_RATE_IDX]) in mt76_testmode_cmd() 332 td->tx_rate_idx = nla_get_u8(tb[MT76_TM_ATTR_TX_RATE_IDX]); in mt76_testmode_cmd() 334 if (mt76_tm_get_u8(tb[MT76_TM_ATTR_TX_RATE_MODE], &td->tx_rate_mode, in mt76_testmode_cmd() [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | testmode.c | 86 static int ath11k_tm_cmd_get_version(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_get_version() argument 118 static int ath11k_tm_cmd_wmi(struct ath11k *ar, struct nlattr *tb[]) in ath11k_tm_cmd_wmi() argument 133 if (!tb[ATH11K_TM_ATTR_DATA]) { in ath11k_tm_cmd_wmi() 138 if (!tb[ATH11K_TM_ATTR_WMI_CMDID]) { in ath11k_tm_cmd_wmi() 143 buf = nla_data(tb[ATH11K_TM_ATTR_DATA]); in ath11k_tm_cmd_wmi() 144 buf_len = nla_len(tb[ATH11K_TM_ATTR_DATA]); in ath11k_tm_cmd_wmi() 145 cmd_id = nla_get_u32(tb[ATH11K_TM_ATTR_WMI_CMDID]); in ath11k_tm_cmd_wmi() 180 struct nlattr *tb[ATH11K_TM_ATTR_MAX + 1]; in ath11k_tm_cmd() local 183 ret = nla_parse(tb, ATH11K_TM_ATTR_MAX, data, len, ath11k_tm_policy, in ath11k_tm_cmd() 188 if (!tb[ATH11K_TM_ATTR_CMD]) in ath11k_tm_cmd() [all …]
|
D | wmi.c | 194 const void **tb = data; in ath11k_wmi_tlv_iter_parse() local 197 tb[tag] = ptr; in ath11k_wmi_tlv_iter_parse() 202 static int ath11k_wmi_tlv_parse(struct ath11k_base *ar, const void **tb, in ath11k_wmi_tlv_parse() argument 206 (void *)tb); in ath11k_wmi_tlv_parse() 213 const void **tb; in ath11k_wmi_tlv_parse_alloc() local 216 tb = kcalloc(WMI_TAG_MAX, sizeof(*tb), gfp); in ath11k_wmi_tlv_parse_alloc() 217 if (!tb) in ath11k_wmi_tlv_parse_alloc() 220 ret = ath11k_wmi_tlv_parse(ab, tb, ptr, len); in ath11k_wmi_tlv_parse_alloc() 222 kfree(tb); in ath11k_wmi_tlv_parse_alloc() 226 return tb; in ath11k_wmi_tlv_parse_alloc() [all …]
|
/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 125 const void **tb = data; in ath10k_wmi_tlv_iter_parse() local 128 tb[tag] = ptr; in ath10k_wmi_tlv_iter_parse() 133 static int ath10k_wmi_tlv_parse(struct ath10k *ar, const void **tb, in ath10k_wmi_tlv_parse() argument 137 (void *)tb); in ath10k_wmi_tlv_parse() 144 const void **tb; in ath10k_wmi_tlv_parse_alloc() local 147 tb = kcalloc(WMI_TLV_TAG_MAX, sizeof(*tb), gfp); in ath10k_wmi_tlv_parse_alloc() 148 if (!tb) in ath10k_wmi_tlv_parse_alloc() 151 ret = ath10k_wmi_tlv_parse(ar, tb, ptr, len); in ath10k_wmi_tlv_parse_alloc() 153 kfree(tb); in ath10k_wmi_tlv_parse_alloc() 157 return tb; in ath10k_wmi_tlv_parse_alloc() [all …]
|
D | testmode.c | 100 static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_get_version() argument 226 static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_start() argument 347 static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_utf_stop() argument 371 static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[]) in ath10k_tm_cmd_wmi() argument 385 if (!tb[ATH10K_TM_ATTR_DATA]) { in ath10k_tm_cmd_wmi() 390 if (!tb[ATH10K_TM_ATTR_WMI_CMDID]) { in ath10k_tm_cmd_wmi() 395 buf = nla_data(tb[ATH10K_TM_ATTR_DATA]); in ath10k_tm_cmd_wmi() 396 buf_len = nla_len(tb[ATH10K_TM_ATTR_DATA]); in ath10k_tm_cmd_wmi() 397 cmd_id = nla_get_u32(tb[ATH10K_TM_ATTR_WMI_CMDID]); in ath10k_tm_cmd_wmi() 431 struct nlattr *tb[ATH10K_TM_ATTR_MAX + 1]; in ath10k_tm_cmd() local [all …]
|
/drivers/net/wireless/ath/wcn36xx/ |
D | testmode.c | 44 struct nlattr *tb[]) in wcn36xx_tm_cmd_ptt() argument 51 if (!tb[WCN36XX_TM_ATTR_DATA]) in wcn36xx_tm_cmd_ptt() 54 buf = nla_data(tb[WCN36XX_TM_ATTR_DATA]); in wcn36xx_tm_cmd_ptt() 55 buf_len = nla_len(tb[WCN36XX_TM_ATTR_DATA]); in wcn36xx_tm_cmd_ptt() 130 struct nlattr *tb[WCN36XX_TM_ATTR_MAX + 1]; in wcn36xx_tm_cmd() local 135 ret = nla_parse_deprecated(tb, WCN36XX_TM_ATTR_MAX, data, len, in wcn36xx_tm_cmd() 140 if (!tb[WCN36XX_TM_ATTR_CMD]) in wcn36xx_tm_cmd() 143 attr = nla_get_u16(tb[WCN36XX_TM_ATTR_CMD]); in wcn36xx_tm_cmd() 148 return wcn36xx_tm_cmd_ptt(wcn, vif, tb); in wcn36xx_tm_cmd()
|
/drivers/net/wireless/ath/ath6kl/ |
D | testmode.c | 73 struct nlattr *tb[ATH6KL_TM_ATTR_MAX + 1]; in ath6kl_tm_cmd() local 77 err = nla_parse_deprecated(tb, ATH6KL_TM_ATTR_MAX, data, len, in ath6kl_tm_cmd() 82 if (!tb[ATH6KL_TM_ATTR_CMD]) in ath6kl_tm_cmd() 85 switch (nla_get_u32(tb[ATH6KL_TM_ATTR_CMD])) { in ath6kl_tm_cmd() 87 if (!tb[ATH6KL_TM_ATTR_DATA]) in ath6kl_tm_cmd() 90 buf = nla_data(tb[ATH6KL_TM_ATTR_DATA]); in ath6kl_tm_cmd() 91 buf_len = nla_len(tb[ATH6KL_TM_ATTR_DATA]); in ath6kl_tm_cmd()
|
/drivers/acpi/ |
D | spcr.c | 50 static bool xgene_8250_erratum_present(struct acpi_table_spcr *tb) in xgene_8250_erratum_present() argument 54 if (tb->interface_type != ACPI_DBG2_16550_COMPATIBLE) in xgene_8250_erratum_present() 57 if (memcmp(tb->header.oem_id, "APMC0D", ACPI_OEM_ID_SIZE) && in xgene_8250_erratum_present() 58 memcmp(tb->header.oem_id, "HPE ", ACPI_OEM_ID_SIZE)) in xgene_8250_erratum_present() 61 if (!memcmp(tb->header.oem_table_id, "XGENESPC", in xgene_8250_erratum_present() 62 ACPI_OEM_TABLE_ID_SIZE) && tb->header.oem_revision == 0) in xgene_8250_erratum_present() 65 if (!memcmp(tb->header.oem_table_id, "ProLiant", in xgene_8250_erratum_present() 66 ACPI_OEM_TABLE_ID_SIZE) && tb->header.oem_revision == 1) in xgene_8250_erratum_present()
|
/drivers/base/regmap/ |
D | regmap-spi-avmm.c | 255 char *tb, *tb_end, *pb, *pb_limit, *pb_eop = NULL; in br_pkt_phy_tx_prepare() local 259 tb = br->trans_buf; in br_pkt_phy_tx_prepare() 260 tb_end = tb + br->trans_len; in br_pkt_phy_tx_prepare() 273 for (; pb < pb_limit && tb < tb_end; pb++) { in br_pkt_phy_tx_prepare() 275 *pb = *tb++ ^ 0x20; in br_pkt_phy_tx_prepare() 281 if (tb == tb_end - 1 && !pb_eop) { in br_pkt_phy_tx_prepare() 291 switch (*tb) { in br_pkt_phy_tx_prepare() 305 *pb = *tb++; in br_pkt_phy_tx_prepare() 311 if (tb < tb_end) in br_pkt_phy_tx_prepare() 370 char *pb, *tb_limit, *tb = NULL; in br_do_rx_and_pkt_phy_parse() local [all …]
|