Lines Matching refs:ioc_data
736 struct atmlec_ioc ioc_data; in lec_vcc_attach() local
739 bytes_left = copy_from_user(&ioc_data, arg, sizeof(struct atmlec_ioc)); in lec_vcc_attach()
744 if (ioc_data.dev_num < 0 || ioc_data.dev_num >= MAX_LEC_ITF || in lec_vcc_attach()
745 !dev_lec[ioc_data.dev_num]) in lec_vcc_attach()
747 lec_vcc_added(dev_lec[ioc_data.dev_num]->priv, in lec_vcc_attach()
748 &ioc_data, vcc, vcc->push); in lec_vcc_attach()
749 vcc->proto_data = dev_lec[ioc_data.dev_num]; in lec_vcc_attach()
1845 lec_vcc_added(struct lec_priv *priv, struct atmlec_ioc *ioc_data, in lec_vcc_added() argument
1853 if (ioc_data->receive == 2) { in lec_vcc_added()
1864 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()
1874 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()
1881 } else if (ioc_data->receive == 1) { in lec_vcc_added()
1885 ioc_data->atm_addr[0],ioc_data->atm_addr[1], in lec_vcc_added()
1886 ioc_data->atm_addr[2],ioc_data->atm_addr[3], in lec_vcc_added()
1887 ioc_data->atm_addr[4],ioc_data->atm_addr[5], in lec_vcc_added()
1888 ioc_data->atm_addr[6],ioc_data->atm_addr[7], in lec_vcc_added()
1889 ioc_data->atm_addr[8],ioc_data->atm_addr[9], in lec_vcc_added()
1890 ioc_data->atm_addr[10],ioc_data->atm_addr[11], in lec_vcc_added()
1891 ioc_data->atm_addr[12],ioc_data->atm_addr[13], in lec_vcc_added()
1892 ioc_data->atm_addr[14],ioc_data->atm_addr[15], in lec_vcc_added()
1893 ioc_data->atm_addr[16],ioc_data->atm_addr[17], in lec_vcc_added()
1894 ioc_data->atm_addr[18],ioc_data->atm_addr[19]); in lec_vcc_added()
1900 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()
1915 ioc_data->atm_addr[0],ioc_data->atm_addr[1], in lec_vcc_added()
1916 ioc_data->atm_addr[2],ioc_data->atm_addr[3], in lec_vcc_added()
1917 ioc_data->atm_addr[4],ioc_data->atm_addr[5], in lec_vcc_added()
1918 ioc_data->atm_addr[6],ioc_data->atm_addr[7], in lec_vcc_added()
1919 ioc_data->atm_addr[8],ioc_data->atm_addr[9], in lec_vcc_added()
1920 ioc_data->atm_addr[10],ioc_data->atm_addr[11], in lec_vcc_added()
1921 ioc_data->atm_addr[12],ioc_data->atm_addr[13], in lec_vcc_added()
1922 ioc_data->atm_addr[14],ioc_data->atm_addr[15], in lec_vcc_added()
1923 ioc_data->atm_addr[16],ioc_data->atm_addr[17], in lec_vcc_added()
1924 ioc_data->atm_addr[18],ioc_data->atm_addr[19]); in lec_vcc_added()
1927 if (memcmp(ioc_data->atm_addr, entry->atm_addr, in lec_vcc_added()
1983 memcpy(entry->atm_addr, ioc_data->atm_addr, ATM_ESA_LEN); in lec_vcc_added()