Searched refs:init_fw_cb (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_mbx.c454 struct addr_ctrl_blk *init_fw_cb) qla4xxx_update_local_ip()
456 ha->ip_config.tcp_options = le16_to_cpu(init_fw_cb->ipv4_tcp_opts); qla4xxx_update_local_ip()
457 ha->ip_config.ipv4_options = le16_to_cpu(init_fw_cb->ipv4_ip_opts); qla4xxx_update_local_ip()
459 qla4xxx_set_ipaddr_state(init_fw_cb->ipv4_addr_state); qla4xxx_update_local_ip()
461 le16_to_cpu(init_fw_cb->eth_mtu_size); qla4xxx_update_local_ip()
462 ha->ip_config.ipv4_port = le16_to_cpu(init_fw_cb->ipv4_port); qla4xxx_update_local_ip()
465 ha->ip_config.ipv6_options = le16_to_cpu(init_fw_cb->ipv6_opts); qla4xxx_update_local_ip()
467 le16_to_cpu(init_fw_cb->ipv6_addtl_opts); qla4xxx_update_local_ip()
469 le16_to_cpu(init_fw_cb->ipv6_tcp_opts); qla4xxx_update_local_ip()
473 memcpy(ha->ip_config.ip_address, init_fw_cb->ipv4_addr, qla4xxx_update_local_ip()
475 sizeof(init_fw_cb->ipv4_addr))); qla4xxx_update_local_ip()
476 memcpy(ha->ip_config.subnet_mask, init_fw_cb->ipv4_subnet, qla4xxx_update_local_ip()
478 sizeof(init_fw_cb->ipv4_subnet))); qla4xxx_update_local_ip()
479 memcpy(ha->ip_config.gateway, init_fw_cb->ipv4_gw_addr, qla4xxx_update_local_ip()
481 sizeof(init_fw_cb->ipv4_gw_addr))); qla4xxx_update_local_ip()
483 ha->ip_config.ipv4_vlan_tag = be16_to_cpu(init_fw_cb->ipv4_vlan_tag); qla4xxx_update_local_ip()
484 ha->ip_config.control = init_fw_cb->control; qla4xxx_update_local_ip()
485 ha->ip_config.tcp_wsf = init_fw_cb->ipv4_tcp_wsf; qla4xxx_update_local_ip()
486 ha->ip_config.ipv4_tos = init_fw_cb->ipv4_tos; qla4xxx_update_local_ip()
487 ha->ip_config.ipv4_cache_id = init_fw_cb->ipv4_cacheid; qla4xxx_update_local_ip()
488 ha->ip_config.ipv4_alt_cid_len = init_fw_cb->ipv4_dhcp_alt_cid_len; qla4xxx_update_local_ip()
489 memcpy(ha->ip_config.ipv4_alt_cid, init_fw_cb->ipv4_dhcp_alt_cid, qla4xxx_update_local_ip()
491 sizeof(init_fw_cb->ipv4_dhcp_alt_cid))); qla4xxx_update_local_ip()
492 ha->ip_config.ipv4_vid_len = init_fw_cb->ipv4_dhcp_vid_len; qla4xxx_update_local_ip()
493 memcpy(ha->ip_config.ipv4_vid, init_fw_cb->ipv4_dhcp_vid, qla4xxx_update_local_ip()
495 sizeof(init_fw_cb->ipv4_dhcp_vid))); qla4xxx_update_local_ip()
496 ha->ip_config.ipv4_ttl = init_fw_cb->ipv4_ttl; qla4xxx_update_local_ip()
497 ha->ip_config.def_timeout = le16_to_cpu(init_fw_cb->def_timeout); qla4xxx_update_local_ip()
498 ha->ip_config.abort_timer = init_fw_cb->abort_timer; qla4xxx_update_local_ip()
499 ha->ip_config.iscsi_options = le16_to_cpu(init_fw_cb->iscsi_opts); qla4xxx_update_local_ip()
501 le16_to_cpu(init_fw_cb->iscsi_max_pdu_size); qla4xxx_update_local_ip()
503 le16_to_cpu(init_fw_cb->iscsi_fburst_len); qla4xxx_update_local_ip()
505 le16_to_cpu(init_fw_cb->iscsi_max_outstnd_r2t); qla4xxx_update_local_ip()
507 le16_to_cpu(init_fw_cb->iscsi_max_burst_len); qla4xxx_update_local_ip()
508 memcpy(ha->ip_config.iscsi_name, init_fw_cb->iscsi_name, qla4xxx_update_local_ip()
510 sizeof(init_fw_cb->iscsi_name))); qla4xxx_update_local_ip()
515 qla4xxx_set_ipaddr_state(init_fw_cb->ipv6_lnk_lcl_addr_state); qla4xxx_update_local_ip()
517 qla4xxx_set_ipaddr_state(init_fw_cb->ipv6_addr0_state); qla4xxx_update_local_ip()
519 qla4xxx_set_ipaddr_state(init_fw_cb->ipv6_addr1_state); qla4xxx_update_local_ip()
521 switch (le16_to_cpu(init_fw_cb->ipv6_dflt_rtr_state)) { qla4xxx_update_local_ip()
547 init_fw_cb->ipv6_if_id, qla4xxx_update_local_ip()
549 sizeof(init_fw_cb->ipv6_if_id))); qla4xxx_update_local_ip()
550 memcpy(&ha->ip_config.ipv6_addr0, init_fw_cb->ipv6_addr0, qla4xxx_update_local_ip()
552 sizeof(init_fw_cb->ipv6_addr0))); qla4xxx_update_local_ip()
553 memcpy(&ha->ip_config.ipv6_addr1, init_fw_cb->ipv6_addr1, qla4xxx_update_local_ip()
555 sizeof(init_fw_cb->ipv6_addr1))); qla4xxx_update_local_ip()
557 init_fw_cb->ipv6_dflt_rtr_addr, qla4xxx_update_local_ip()
559 sizeof(init_fw_cb->ipv6_dflt_rtr_addr))); qla4xxx_update_local_ip()
561 be16_to_cpu(init_fw_cb->ipv6_vlan_tag); qla4xxx_update_local_ip()
562 ha->ip_config.ipv6_port = le16_to_cpu(init_fw_cb->ipv6_port); qla4xxx_update_local_ip()
563 ha->ip_config.ipv6_cache_id = init_fw_cb->ipv6_cache_id; qla4xxx_update_local_ip()
565 le16_to_cpu(init_fw_cb->ipv6_flow_lbl); qla4xxx_update_local_ip()
567 init_fw_cb->ipv6_traffic_class; qla4xxx_update_local_ip()
568 ha->ip_config.ipv6_hop_limit = init_fw_cb->ipv6_hop_limit; qla4xxx_update_local_ip()
570 le32_to_cpu(init_fw_cb->ipv6_nd_reach_time); qla4xxx_update_local_ip()
572 le32_to_cpu(init_fw_cb->ipv6_nd_rexmit_timer); qla4xxx_update_local_ip()
574 le32_to_cpu(init_fw_cb->ipv6_nd_stale_timeout); qla4xxx_update_local_ip()
576 init_fw_cb->ipv6_dup_addr_detect_count; qla4xxx_update_local_ip()
578 le32_to_cpu(init_fw_cb->ipv6_gw_advrt_mtu); qla4xxx_update_local_ip()
579 ha->ip_config.ipv6_tcp_wsf = init_fw_cb->ipv6_tcp_wsf; qla4xxx_update_local_ip()
587 struct addr_ctrl_blk *init_fw_cb, qla4xxx_update_local_ifcb()
598 DEBUG2(qla4xxx_dump_buffer(init_fw_cb, sizeof(struct addr_ctrl_blk))); qla4xxx_update_local_ifcb()
601 ha->acb_version = init_fw_cb->acb_version; qla4xxx_update_local_ifcb()
602 ha->firmware_options = le16_to_cpu(init_fw_cb->fw_options); qla4xxx_update_local_ifcb()
603 ha->heartbeat_interval = init_fw_cb->hb_interval; qla4xxx_update_local_ifcb()
604 memcpy(ha->name_string, init_fw_cb->iscsi_name, qla4xxx_update_local_ifcb()
606 sizeof(init_fw_cb->iscsi_name))); qla4xxx_update_local_ifcb()
607 ha->def_timeout = le16_to_cpu(init_fw_cb->def_timeout); qla4xxx_update_local_ifcb()
608 /*memcpy(ha->alias, init_fw_cb->Alias, qla4xxx_update_local_ifcb()
609 min(sizeof(ha->alias), sizeof(init_fw_cb->Alias)));*/ qla4xxx_update_local_ifcb()
611 qla4xxx_update_local_ip(ha, init_fw_cb); qla4xxx_update_local_ifcb()
622 struct addr_ctrl_blk *init_fw_cb; qla4xxx_initialize_fw_cb() local
628 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, qla4xxx_initialize_fw_cb()
631 if (init_fw_cb == NULL) { qla4xxx_initialize_fw_cb()
636 memset(init_fw_cb, 0, sizeof(struct addr_ctrl_blk)); qla4xxx_initialize_fw_cb()
646 init_fw_cb, init_fw_cb_dma); qla4xxx_initialize_fw_cb()
651 init_fw_cb->rqq_consumer_idx = cpu_to_le16(ha->request_out); qla4xxx_initialize_fw_cb()
652 init_fw_cb->compq_producer_idx = cpu_to_le16(ha->response_in); qla4xxx_initialize_fw_cb()
653 init_fw_cb->rqq_len = __constant_cpu_to_le16(REQUEST_QUEUE_DEPTH); qla4xxx_initialize_fw_cb()
654 init_fw_cb->compq_len = __constant_cpu_to_le16(RESPONSE_QUEUE_DEPTH); qla4xxx_initialize_fw_cb()
655 init_fw_cb->rqq_addr_lo = cpu_to_le32(LSDW(ha->request_dma)); qla4xxx_initialize_fw_cb()
656 init_fw_cb->rqq_addr_hi = cpu_to_le32(MSDW(ha->request_dma)); qla4xxx_initialize_fw_cb()
657 init_fw_cb->compq_addr_lo = cpu_to_le32(LSDW(ha->response_dma)); qla4xxx_initialize_fw_cb()
658 init_fw_cb->compq_addr_hi = cpu_to_le32(MSDW(ha->response_dma)); qla4xxx_initialize_fw_cb()
659 init_fw_cb->shdwreg_addr_lo = cpu_to_le32(LSDW(ha->shadow_regs_dma)); qla4xxx_initialize_fw_cb()
660 init_fw_cb->shdwreg_addr_hi = cpu_to_le32(MSDW(ha->shadow_regs_dma)); qla4xxx_initialize_fw_cb()
663 init_fw_cb->fw_options |= qla4xxx_initialize_fw_cb()
668 init_fw_cb->fw_options |= qla4xxx_initialize_fw_cb()
671 init_fw_cb->fw_options &= __constant_cpu_to_le16(~FWOPT_TARGET_MODE); qla4xxx_initialize_fw_cb()
673 init_fw_cb->add_fw_options = 0; qla4xxx_initialize_fw_cb()
674 init_fw_cb->add_fw_options |= qla4xxx_initialize_fw_cb()
676 init_fw_cb->add_fw_options |= qla4xxx_initialize_fw_cb()
688 init_fw_cb, init_fw_cb_dma) != QLA_SUCCESS) { qla4xxx_initialize_fw_cb()
697 init_fw_cb, init_fw_cb_dma); qla4xxx_initialize_fw_cb()
708 struct addr_ctrl_blk *init_fw_cb; qla4xxx_get_dhcp_ip_address() local
713 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, qla4xxx_get_dhcp_ip_address()
716 if (init_fw_cb == NULL) { qla4xxx_get_dhcp_ip_address()
723 memset(init_fw_cb, 0, sizeof(struct addr_ctrl_blk)); qla4xxx_get_dhcp_ip_address()
730 init_fw_cb, init_fw_cb_dma); qla4xxx_get_dhcp_ip_address()
735 qla4xxx_update_local_ip(ha, init_fw_cb); qla4xxx_get_dhcp_ip_address()
737 init_fw_cb, init_fw_cb_dma); qla4xxx_get_dhcp_ip_address()
453 qla4xxx_update_local_ip(struct scsi_qla_host *ha, struct addr_ctrl_blk *init_fw_cb) qla4xxx_update_local_ip() argument
584 qla4xxx_update_local_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, uint32_t *mbox_sts, struct addr_ctrl_blk *init_fw_cb, dma_addr_t init_fw_cb_dma) qla4xxx_update_local_ifcb() argument
H A Dql4_os.c1991 struct addr_ctrl_blk *init_fw_cb) qla4xxx_set_ipv6()
2001 memcpy(init_fw_cb->ipv6_addr1, iface_param->value, qla4xxx_set_ipv6()
2002 sizeof(init_fw_cb->ipv6_addr1)); qla4xxx_set_ipv6()
2005 memcpy(init_fw_cb->ipv6_addr0, iface_param->value, qla4xxx_set_ipv6()
2006 sizeof(init_fw_cb->ipv6_addr0)); qla4xxx_set_ipv6()
2011 memcpy(init_fw_cb->ipv6_if_id, &iface_param->value[8], qla4xxx_set_ipv6()
2012 sizeof(init_fw_cb->ipv6_if_id)); qla4xxx_set_ipv6()
2017 memcpy(init_fw_cb->ipv6_dflt_rtr_addr, iface_param->value, qla4xxx_set_ipv6()
2018 sizeof(init_fw_cb->ipv6_dflt_rtr_addr)); qla4xxx_set_ipv6()
2026 init_fw_cb->ipv6_addtl_opts &= qla4xxx_set_ipv6()
2030 init_fw_cb->ipv6_addtl_opts |= qla4xxx_set_ipv6()
2044 init_fw_cb->ipv6_addtl_opts |= cpu_to_le16( qla4xxx_set_ipv6()
2048 init_fw_cb->ipv6_addtl_opts &= cpu_to_le16( qla4xxx_set_ipv6()
2060 memset(init_fw_cb->ipv6_dflt_rtr_addr, 0, qla4xxx_set_ipv6()
2061 sizeof(init_fw_cb->ipv6_dflt_rtr_addr)); qla4xxx_set_ipv6()
2065 init_fw_cb->ipv6_opts |= qla4xxx_set_ipv6()
2069 init_fw_cb->ipv6_opts &= qla4xxx_set_ipv6()
2076 if (iface_param->len != sizeof(init_fw_cb->ipv6_vlan_tag)) qla4xxx_set_ipv6()
2078 init_fw_cb->ipv6_vlan_tag = qla4xxx_set_ipv6()
2083 init_fw_cb->ipv6_opts |= qla4xxx_set_ipv6()
2086 init_fw_cb->ipv6_opts &= qla4xxx_set_ipv6()
2090 init_fw_cb->eth_mtu_size = qla4xxx_set_ipv6()
2098 init_fw_cb->ipv6_port = qla4xxx_set_ipv6()
2105 init_fw_cb->ipv6_tcp_opts |= qla4xxx_set_ipv6()
2108 init_fw_cb->ipv6_tcp_opts &= qla4xxx_set_ipv6()
2116 init_fw_cb->ipv6_tcp_opts |= qla4xxx_set_ipv6()
2119 init_fw_cb->ipv6_tcp_opts &= qla4xxx_set_ipv6()
2126 init_fw_cb->ipv6_tcp_opts |= qla4xxx_set_ipv6()
2129 init_fw_cb->ipv6_tcp_opts &= qla4xxx_set_ipv6()
2135 init_fw_cb->ipv6_tcp_wsf = iface_param->value[0]; qla4xxx_set_ipv6()
2140 init_fw_cb->ipv6_tcp_opts &= qla4xxx_set_ipv6()
2142 init_fw_cb->ipv6_tcp_opts |= qla4xxx_set_ipv6()
2150 init_fw_cb->ipv6_tcp_opts |= qla4xxx_set_ipv6()
2153 init_fw_cb->ipv6_tcp_opts &= qla4xxx_set_ipv6()
2160 init_fw_cb->ipv6_opts |= qla4xxx_set_ipv6()
2163 init_fw_cb->ipv6_opts &= qla4xxx_set_ipv6()
2170 init_fw_cb->ipv6_opts |= qla4xxx_set_ipv6()
2173 init_fw_cb->ipv6_opts &= qla4xxx_set_ipv6()
2180 init_fw_cb->ipv6_addtl_opts |= qla4xxx_set_ipv6()
2183 init_fw_cb->ipv6_addtl_opts &= qla4xxx_set_ipv6()
2189 init_fw_cb->ipv6_flow_lbl = qla4xxx_set_ipv6()
2195 init_fw_cb->ipv6_traffic_class = iface_param->value[0]; qla4xxx_set_ipv6()
2200 init_fw_cb->ipv6_hop_limit = iface_param->value[0]; qla4xxx_set_ipv6()
2205 init_fw_cb->ipv6_nd_reach_time = qla4xxx_set_ipv6()
2211 init_fw_cb->ipv6_nd_rexmit_timer = qla4xxx_set_ipv6()
2217 init_fw_cb->ipv6_nd_stale_timeout = qla4xxx_set_ipv6()
2223 init_fw_cb->ipv6_dup_addr_detect_count = iface_param->value[0]; qla4xxx_set_ipv6()
2228 init_fw_cb->ipv6_gw_advrt_mtu = qla4xxx_set_ipv6()
2240 struct addr_ctrl_blk *init_fw_cb) qla4xxx_set_ipv4()
2244 memcpy(init_fw_cb->ipv4_addr, iface_param->value, qla4xxx_set_ipv4()
2245 sizeof(init_fw_cb->ipv4_addr)); qla4xxx_set_ipv4()
2248 memcpy(init_fw_cb->ipv4_subnet, iface_param->value, qla4xxx_set_ipv4()
2249 sizeof(init_fw_cb->ipv4_subnet)); qla4xxx_set_ipv4()
2252 memcpy(init_fw_cb->ipv4_gw_addr, iface_param->value, qla4xxx_set_ipv4()
2253 sizeof(init_fw_cb->ipv4_gw_addr)); qla4xxx_set_ipv4()
2257 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2260 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2267 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2271 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2278 if (iface_param->len != sizeof(init_fw_cb->ipv4_vlan_tag)) qla4xxx_set_ipv4()
2280 init_fw_cb->ipv4_vlan_tag = qla4xxx_set_ipv4()
2285 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2288 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2292 init_fw_cb->eth_mtu_size = qla4xxx_set_ipv4()
2296 init_fw_cb->ipv4_port = qla4xxx_set_ipv4()
2303 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2306 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2314 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2317 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2324 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2327 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2333 init_fw_cb->ipv4_tcp_wsf = iface_param->value[0]; qla4xxx_set_ipv4()
2338 init_fw_cb->ipv4_tcp_opts &= cpu_to_le16(~TCPOPT_TIMER_SCALE); qla4xxx_set_ipv4()
2339 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2347 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2350 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2357 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2360 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2367 init_fw_cb->ipv4_tcp_opts |= qla4xxx_set_ipv4()
2370 init_fw_cb->ipv4_tcp_opts &= qla4xxx_set_ipv4()
2377 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2380 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2386 init_fw_cb->ipv4_tos = iface_param->value[0]; qla4xxx_set_ipv4()
2392 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2395 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2402 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2405 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2411 memcpy(init_fw_cb->ipv4_dhcp_alt_cid, iface_param->value, qla4xxx_set_ipv4()
2412 (sizeof(init_fw_cb->ipv4_dhcp_alt_cid) - 1)); qla4xxx_set_ipv4()
2413 init_fw_cb->ipv4_dhcp_alt_cid_len = qla4xxx_set_ipv4()
2414 strlen(init_fw_cb->ipv4_dhcp_alt_cid); qla4xxx_set_ipv4()
2420 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2423 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2430 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2433 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2439 memcpy(init_fw_cb->ipv4_dhcp_vid, iface_param->value, qla4xxx_set_ipv4()
2440 (sizeof(init_fw_cb->ipv4_dhcp_vid) - 1)); qla4xxx_set_ipv4()
2441 init_fw_cb->ipv4_dhcp_vid_len = qla4xxx_set_ipv4()
2442 strlen(init_fw_cb->ipv4_dhcp_vid); qla4xxx_set_ipv4()
2448 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2451 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2458 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2461 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2468 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2471 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2478 init_fw_cb->ipv4_ip_opts |= qla4xxx_set_ipv4()
2481 init_fw_cb->ipv4_ip_opts &= qla4xxx_set_ipv4()
2487 init_fw_cb->ipv4_ttl = iface_param->value[0]; qla4xxx_set_ipv4()
2498 struct addr_ctrl_blk *init_fw_cb) qla4xxx_set_iscsi_param()
2504 init_fw_cb->def_timeout = qla4xxx_set_iscsi_param()
2511 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2514 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2521 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2524 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2531 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2534 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2541 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2544 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2551 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2554 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2561 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2564 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2570 init_fw_cb->iscsi_opts &= cpu_to_le16(~ISCSIOPTS_ERL); qla4xxx_set_iscsi_param()
2571 init_fw_cb->iscsi_opts |= cpu_to_le16(iface_param->value[0] & qla4xxx_set_iscsi_param()
2577 init_fw_cb->iscsi_max_pdu_size = qla4xxx_set_iscsi_param()
2584 init_fw_cb->iscsi_fburst_len = qla4xxx_set_iscsi_param()
2591 init_fw_cb->iscsi_max_outstnd_r2t = qla4xxx_set_iscsi_param()
2597 init_fw_cb->iscsi_max_burst_len = qla4xxx_set_iscsi_param()
2605 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2608 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2615 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2618 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2625 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2628 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2635 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2638 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2645 init_fw_cb->iscsi_opts |= qla4xxx_set_iscsi_param()
2648 init_fw_cb->iscsi_opts &= qla4xxx_set_iscsi_param()
2659 qla4xxx_initcb_to_acb(struct addr_ctrl_blk *init_fw_cb) qla4xxx_initcb_to_acb() argument
2662 acb = (struct addr_ctrl_blk_def *)init_fw_cb; qla4xxx_initcb_to_acb()
2686 struct addr_ctrl_blk *init_fw_cb = NULL; qla4xxx_iface_set_param() local
2693 init_fw_cb = dma_alloc_coherent(&ha->pdev->dev, qla4xxx_iface_set_param()
2696 if (!init_fw_cb) { qla4xxx_iface_set_param()
2702 memset(init_fw_cb, 0, sizeof(struct addr_ctrl_blk)); qla4xxx_iface_set_param()
2721 init_fw_cb); nla_for_each_attr()
2736 init_fw_cb); nla_for_each_attr()
2753 init_fw_cb); nla_for_each_attr()
2759 init_fw_cb->cookie = cpu_to_le32(0x11BEAD5A);
2782 qla4xxx_initcb_to_acb(init_fw_cb);
2792 memset(init_fw_cb, 0, sizeof(struct addr_ctrl_blk));
2793 qla4xxx_update_local_ifcb(ha, &mbox_cmd[0], &mbox_sts[0], init_fw_cb,
2798 init_fw_cb, init_fw_cb_dma);
1989 qla4xxx_set_ipv6(struct scsi_qla_host *ha, struct iscsi_iface_param_info *iface_param, struct addr_ctrl_blk *init_fw_cb) qla4xxx_set_ipv6() argument
2238 qla4xxx_set_ipv4(struct scsi_qla_host *ha, struct iscsi_iface_param_info *iface_param, struct addr_ctrl_blk *init_fw_cb) qla4xxx_set_ipv4() argument
2496 qla4xxx_set_iscsi_param(struct scsi_qla_host *ha, struct iscsi_iface_param_info *iface_param, struct addr_ctrl_blk *init_fw_cb) qla4xxx_set_iscsi_param() argument
H A Dql4_glbl.h108 struct addr_ctrl_blk *init_fw_cb,

Completed in 124 milliseconds