Searched refs:new_settings (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/wan/ |
D | hdlc_raw.c | 43 raw_hdlc_proto new_settings; in raw_ioctl() local 67 if (copy_from_user(&new_settings, raw_s, size)) in raw_ioctl() 70 if (new_settings.encoding == ENCODING_DEFAULT) in raw_ioctl() 71 new_settings.encoding = ENCODING_NRZ; in raw_ioctl() 73 if (new_settings.parity == PARITY_DEFAULT) in raw_ioctl() 74 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_ioctl() 76 result = hdlc->attach(dev, new_settings.encoding, in raw_ioctl() 77 new_settings.parity); in raw_ioctl() 85 memcpy(hdlc->state, &new_settings, size); in raw_ioctl()
|
D | hdlc_raw_eth.c | 58 raw_hdlc_proto new_settings; in raw_eth_ioctl() local 83 if (copy_from_user(&new_settings, raw_s, size)) in raw_eth_ioctl() 86 if (new_settings.encoding == ENCODING_DEFAULT) in raw_eth_ioctl() 87 new_settings.encoding = ENCODING_NRZ; in raw_eth_ioctl() 89 if (new_settings.parity == PARITY_DEFAULT) in raw_eth_ioctl() 90 new_settings.parity = PARITY_CRC16_PR1_CCITT; in raw_eth_ioctl() 92 result = hdlc->attach(dev, new_settings.encoding, in raw_eth_ioctl() 93 new_settings.parity); in raw_eth_ioctl() 101 memcpy(hdlc->state, &new_settings, size); in raw_eth_ioctl()
|
D | hdlc_fr.c | 1184 fr_proto new_settings; in fr_ioctl() local 1209 if (copy_from_user(&new_settings, fr_s, size)) in fr_ioctl() 1212 if (new_settings.lmi == LMI_DEFAULT) in fr_ioctl() 1213 new_settings.lmi = LMI_ANSI; in fr_ioctl() 1215 if ((new_settings.lmi != LMI_NONE && in fr_ioctl() 1216 new_settings.lmi != LMI_ANSI && in fr_ioctl() 1217 new_settings.lmi != LMI_CCITT && in fr_ioctl() 1218 new_settings.lmi != LMI_CISCO) || in fr_ioctl() 1219 new_settings.t391 < 1 || in fr_ioctl() 1220 new_settings.t392 < 2 || in fr_ioctl() [all …]
|
D | hdlc_cisco.c | 334 cisco_proto new_settings; in cisco_ioctl() local 358 if (copy_from_user(&new_settings, cisco_s, size)) in cisco_ioctl() 361 if (new_settings.interval < 1 || in cisco_ioctl() 362 new_settings.timeout < 2) in cisco_ioctl() 374 memcpy(&state(hdlc)->settings, &new_settings, size); in cisco_ioctl()
|
/Linux-v4.19/net/bluetooth/ |
D | mgmt.c | 1210 static int new_settings(struct hci_dev *hdev, struct sock *skip) in new_settings() function 1220 return new_settings(hdev, NULL); in mgmt_new_settings() 1325 new_settings(hdev, cmd->sk); in mgmt_set_discoverable_complete() 1401 err = new_settings(hdev, sk); in set_discoverable() 1477 new_settings(hdev, cmd->sk); in mgmt_set_connectable_complete() 1509 return new_settings(hdev, sk); in set_connectable_update_settings() 1607 err = new_settings(hdev, sk); in set_bondable() 1649 err = new_settings(hdev, sk); in set_link_security() 1728 err = new_settings(hdev, sk); in set_ssp() 1815 err = new_settings(hdev, sk); in set_hs() [all …]
|