| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/atmel/ |
| H A D | nand-controller.c | 199 int (*remove)(struct atmel_nand_controller *nc); 200 void (*nand_init)(struct atmel_nand_controller *nc, 288 struct atmel_hsmc_nand_controller *nc = data; in atmel_nfc_interrupt() local 292 regmap_read(nc->base.smc, ATMEL_HSMC_NFC_SR, &sr); in atmel_nfc_interrupt() 294 rcvd = sr & (nc->op.wait | ATMEL_HSMC_NFC_SR_ERRORS); in atmel_nfc_interrupt() 295 done = atmel_nfc_op_done(&nc->op, sr); in atmel_nfc_interrupt() 298 regmap_write(nc->base.smc, ATMEL_HSMC_NFC_IDR, rcvd); in atmel_nfc_interrupt() 301 complete(&nc->complete); in atmel_nfc_interrupt() 306 static int atmel_nfc_wait(struct atmel_hsmc_nand_controller *nc, bool poll, in atmel_nfc_wait() argument 317 ret = regmap_read_poll_timeout(nc->base.smc, in atmel_nfc_wait() [all …]
|
| /OK3568_Linux_fs/kernel/net/ncsi/ |
| H A D | ncsi-manage.c | 37 struct ncsi_channel *nc; in ncsi_channel_is_last() local 40 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_channel_is_last() 41 if (nc == channel) in ncsi_channel_is_last() 43 if (nc->state == NCSI_CHANNEL_ACTIVE && in ncsi_channel_is_last() 44 ncsi_channel_has_link(nc)) in ncsi_channel_is_last() 55 struct ncsi_channel *nc; in ncsi_report_link() local 66 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_report_link() 67 spin_lock_irqsave(&nc->lock, flags); in ncsi_report_link() 69 if (!list_empty(&nc->link) || in ncsi_report_link() 70 nc->state != NCSI_CHANNEL_ACTIVE) { in ncsi_report_link() [all …]
|
| H A D | ncsi-aen.c | 49 struct ncsi_channel *nc, *tmp; in ncsi_aen_handler_lsc() local 60 ncsi_find_package_and_channel(ndp, h->common.channel, NULL, &nc); in ncsi_aen_handler_lsc() 61 if (!nc) in ncsi_aen_handler_lsc() 67 spin_lock_irqsave(&nc->lock, flags); in ncsi_aen_handler_lsc() 68 ncm = &nc->modes[NCSI_MODE_LINK]; in ncsi_aen_handler_lsc() 78 nc->id, data & 0x1 ? "up" : "down"); in ncsi_aen_handler_lsc() 80 chained = !list_empty(&nc->link); in ncsi_aen_handler_lsc() 81 state = nc->state; in ncsi_aen_handler_lsc() 82 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_aen_handler_lsc() 87 nc->id); in ncsi_aen_handler_lsc() [all …]
|
| H A D | ncsi-rsp.c | 81 struct ncsi_channel *nc; in ncsi_rsp_handler_cis() local 85 ncsi_find_package_and_channel(ndp, rsp->rsp.common.channel, &np, &nc); in ncsi_rsp_handler_cis() 86 if (!nc) { in ncsi_rsp_handler_cis() 91 nc = ncsi_add_channel(np, id); in ncsi_rsp_handler_cis() 94 return nc ? 0 : -ENODEV; in ncsi_rsp_handler_cis() 128 struct ncsi_channel *nc; in ncsi_rsp_handler_dp() local 139 NCSI_FOR_EACH_CHANNEL(np, nc) { in ncsi_rsp_handler_dp() 140 spin_lock_irqsave(&nc->lock, flags); in ncsi_rsp_handler_dp() 141 nc->state = NCSI_CHANNEL_INACTIVE; in ncsi_rsp_handler_dp() 142 spin_unlock_irqrestore(&nc->lock, flags); in ncsi_rsp_handler_dp() [all …]
|
| H A D | ncsi-netlink.c | 59 struct ncsi_channel *nc) in ncsi_write_channel_info() argument 66 nla_put_u32(skb, NCSI_CHANNEL_ATTR_ID, nc->id); in ncsi_write_channel_info() 67 m = &nc->modes[NCSI_MODE_LINK]; in ncsi_write_channel_info() 69 if (nc->state == NCSI_CHANNEL_ACTIVE) in ncsi_write_channel_info() 71 if (nc == nc->package->preferred_channel) in ncsi_write_channel_info() 74 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MAJOR, nc->version.version); in ncsi_write_channel_info() 75 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MINOR, nc->version.alpha2); in ncsi_write_channel_info() 76 nla_put_string(skb, NCSI_CHANNEL_ATTR_VERSION_STR, nc->version.fw_name); in ncsi_write_channel_info() 81 ncf = &nc->vlan_filter; in ncsi_write_channel_info() 99 struct ncsi_channel *nc; in ncsi_write_package_info() local [all …]
|
| H A D | ncsi-netlink.h | 15 struct ncsi_channel *nc); 18 struct ncsi_channel *nc);
|
| H A D | internal.h | 363 #define NCSI_FOR_EACH_CHANNEL(np, nc) \ argument 364 list_for_each_entry_rcu(nc, &np->channels, node) 368 void ncsi_start_channel_monitor(struct ncsi_channel *nc); 369 void ncsi_stop_channel_monitor(struct ncsi_channel *nc); 382 struct ncsi_channel **nc);
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | namespaces.c | 202 struct nscookie *nc) in nsinfo__mountns_enter() argument 209 if (nc == NULL) in nsinfo__mountns_enter() 212 nc->oldns = -1; in nsinfo__mountns_enter() 213 nc->newns = -1; in nsinfo__mountns_enter() 236 nc->oldcwd = oldcwd; in nsinfo__mountns_enter() 237 nc->oldns = oldns; in nsinfo__mountns_enter() 238 nc->newns = newns; in nsinfo__mountns_enter() 249 void nsinfo__mountns_exit(struct nscookie *nc) in nsinfo__mountns_exit() argument 251 if (nc == NULL || nc->oldns == -1 || nc->newns == -1 || !nc->oldcwd) in nsinfo__mountns_exit() 254 setns(nc->oldns, CLONE_NEWNS); in nsinfo__mountns_exit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | orion_nand.c | 30 static void orion_nand_cmd_ctrl(struct nand_chip *nc, int cmd, in orion_nand_cmd_ctrl() argument 33 struct orion_nand_data *board = nand_get_controller_data(nc); in orion_nand_cmd_ctrl() 46 if (nc->options & NAND_BUSWIDTH_16) in orion_nand_cmd_ctrl() 49 writeb(cmd, nc->legacy.IO_ADDR_W + offs); in orion_nand_cmd_ctrl() 103 struct nand_chip *nc; in orion_nand_probe() local 115 nc = &info->chip; in orion_nand_probe() 116 mtd = nand_to_mtd(nc); in orion_nand_probe() 120 nc->controller = &info->controller; in orion_nand_probe() 155 nand_set_controller_data(nc, board); in orion_nand_probe() 156 nand_set_flash_node(nc, pdev->dev.of_node); in orion_nand_probe() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | intel_scu_ipc.c | 274 int nc; in pwr_reg_rdwr() local 290 for (nc = 0; nc < count; nc++, offset += 2) { in pwr_reg_rdwr() 291 cbuf[offset] = addr[nc]; in pwr_reg_rdwr() 292 cbuf[offset + 1] = addr[nc] >> 8; in pwr_reg_rdwr() 296 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 297 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() 300 for (nc = 0; nc < count; nc++, offset += 1) in pwr_reg_rdwr() 301 cbuf[offset] = data[nc]; in pwr_reg_rdwr() 302 for (nc = 0, offset = 0; nc < count; nc++, offset += 4) in pwr_reg_rdwr() 303 ipc_data_writel(scu, wbuf[nc], offset); in pwr_reg_rdwr() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | fft4g.c | 315 static void dctsub(int n, double *a, int nc, double const *c); 316 static void dstsub(int n, double *a, int nc, double const *c); 317 static void makect(int nc, int *ip, double *c); 319 static void rftbsub(int n, double *a, int nc, double const *c); 320 static void rftfsub(int n, double *a, int nc, double const *c); 347 int nw, nc; in rdft() local 358 nc = ip[1]; in rdft() 359 if (n > (nc << 2)) { in rdft() 360 nc = n >> 2; in rdft() 361 makect(nc, ip, w + nw); in rdft() [all …]
|
| /OK3568_Linux_fs/u-boot/doc/ |
| H A D | README.iomux | 25 and stderr. For example: "setenv stdin serial,nc". NOTE: No spaces 33 nc. 36 stdin nc,nc,serial" will discard the second nc. iomux_doenv() is 38 shows "nc,nc,serial". 58 example, if stdin=serial,nc and stdout=serial,nc then all output 59 for serial, e.g. echos of input on serial, will appear on serial and nc. 81 Using nc as a stdin device results in even more overhead because nc_tstc() 83 interface when nc is added to stdin, although there is no character loss using 84 the ethernet interface for input. In this test case stdin=serial,nc and 88 them is nc, also causes problems. Even on a sequoia cut&paste does not work [all …]
|
| H A D | README.NetConsole | 6 set either of these variables to "nc". Input and output can be 22 => setenv nc 'setenv stdout nc;setenv stdin nc' 25 => run nc 37 usage of nc has been changed and -l and -p options are considered 38 as mutually exclusive. If nc complains about options provided, 94 nc -u -l -p 6666
|
| /OK3568_Linux_fs/kernel/net/batman-adv/ |
| H A D | network-coding.c | 79 queue_delayed_work(batadv_event_workqueue, &bat_priv->nc.work, in batadv_nc_start_timer() 144 bat_priv->nc.timestamp_fwd_flush = jiffies; in batadv_nc_mesh_init() 145 bat_priv->nc.timestamp_sniffed_purge = jiffies; in batadv_nc_mesh_init() 147 if (bat_priv->nc.coding_hash || bat_priv->nc.decoding_hash) in batadv_nc_mesh_init() 150 bat_priv->nc.coding_hash = batadv_hash_new(128); in batadv_nc_mesh_init() 151 if (!bat_priv->nc.coding_hash) in batadv_nc_mesh_init() 154 batadv_hash_set_lock_class(bat_priv->nc.coding_hash, in batadv_nc_mesh_init() 157 bat_priv->nc.decoding_hash = batadv_hash_new(128); in batadv_nc_mesh_init() 158 if (!bat_priv->nc.decoding_hash) { in batadv_nc_mesh_init() 159 batadv_hash_destroy(bat_priv->nc.coding_hash); in batadv_nc_mesh_init() [all …]
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | netconsole | 37 for nc in netcat nc ; do 38 type ${nc} >/dev/null 2>&1 && break 56 while ${nc} -u -l -p ${board_out_port} < /dev/null ; do 62 ${nc} -u ${ip} ${board_in_port}
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | nls.h | 64 unsigned char nc = t->charset2lower[c]; in nls_tolower() local 66 return nc ? nc : c; in nls_tolower() 71 unsigned char nc = t->charset2upper[c]; in nls_toupper() local 73 return nc ? nc : c; in nls_toupper()
|
| /OK3568_Linux_fs/kernel/fs/nls/ |
| H A D | nls_base.c | 58 int c0, c, nc; in utf8_to_utf32() local 61 nc = 0; in utf8_to_utf32() 65 nc++; in utf8_to_utf32() 72 return nc; in utf8_to_utf32() 74 if (inlen <= nc) in utf8_to_utf32() 89 int c, nc; in utf32_to_utf8() local 99 nc = 0; in utf32_to_utf8() 101 nc++; in utf32_to_utf8() 110 return nc; in utf32_to_utf8()
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/media/drivers/ |
| H A D | saa7134-devel.rst | 42 - nc MDT2005 PA3 pin 2 45 - nc MDT2005 PA0 pin 17 strap low 53 - GP15 nc 54 - GP14 nc 55 - GP13 nc 61 - GP07.00 nc
|
| /OK3568_Linux_fs/kernel/drivers/bus/ |
| H A D | moxtet.c | 204 of_register_moxtet_device(struct moxtet *moxtet, struct device_node *nc) in of_register_moxtet_device() argument 213 "Moxtet device alloc error for %pOF\n", nc); in of_register_moxtet_device() 217 ret = of_property_read_u32(nc, "reg", &val); in of_register_moxtet_device() 220 nc, ret); in of_register_moxtet_device() 228 nc, dev->idx); in of_register_moxtet_device() 236 dev_err(moxtet->dev, "%pOF Moxtet address 0x%x is empty\n", nc, in of_register_moxtet_device() 242 of_node_get(nc); in of_register_moxtet_device() 243 dev->dev.of_node = nc; in of_register_moxtet_device() 248 "Moxtet device register error for %pOF\n", nc); in of_register_moxtet_device() 249 of_node_put(nc); in of_register_moxtet_device() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nfnetlink.c | 186 const struct nfnl_callback *nc; in nfnetlink_rcv_msg() local 212 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg() 213 if (!nc) { in nfnetlink_rcv_msg() 240 if (nc->call_rcu) { in nfnetlink_rcv_msg() 241 err = nc->call_rcu(net, net->nfnl, skb, nlh, in nfnetlink_rcv_msg() 249 nfnetlink_find_client(type, ss) != nc) in nfnetlink_rcv_msg() 251 else if (nc->call) in nfnetlink_rcv_msg() 252 err = nc->call(net, net->nfnl, skb, nlh, in nfnetlink_rcv_msg() 326 const struct nfnl_callback *nc; in nfnetlink_rcv_batch() local 429 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_batch() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/leds/ |
| H A D | leds-bcm6328.c | 255 static int bcm6328_hwled(struct device *dev, struct device_node *nc, u32 reg, in bcm6328_hwled() argument 271 cnt = of_property_count_elems_of_size(nc, "brcm,link-signal-sources", in bcm6328_hwled() 282 of_property_read_u32_index(nc, "brcm,link-signal-sources", i, in bcm6328_hwled() 297 cnt = of_property_count_elems_of_size(nc, in bcm6328_hwled() 309 of_property_read_u32_index(nc, "brcm,activity-signal-sources", in bcm6328_hwled() 327 static int bcm6328_led(struct device *dev, struct device_node *nc, u32 reg, in bcm6328_led() argument 346 if (of_property_read_bool(nc, "active-low")) in bcm6328_led() 349 if (!of_property_read_string(nc, "default-state", &state)) { in bcm6328_led() 381 init_data.fwnode = of_fwnode_handle(nc); in bcm6328_led()
|
| H A D | leds-bcm6358.c | 94 static int bcm6358_led(struct device *dev, struct device_node *nc, u32 reg, in bcm6358_led() argument 110 if (of_property_read_bool(nc, "active-low")) in bcm6358_led() 113 if (!of_property_read_string(nc, "default-state", &state)) { in bcm6358_led() 135 init_data.fwnode = of_fwnode_handle(nc); in bcm6358_led()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/ |
| H A D | nft_conntrack_helper.sh | 40 which nc >/dev/null 2>&1 118 sleep 3 | ip netns exec ${ns2} nc -w 2 -l -p $port > /dev/null & 120 sleep 1 | ip netns exec ${ns1} nc -w 2 10.0.1.2 $port > /dev/null & 135 sleep 3 | ip netns exec ${ns2} nc -w 2 -6 -l -p $port > /dev/null & 137 sleep 1 | ip netns exec ${ns1} nc -w 2 -6 dead:1::2 $port > /dev/null &
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/ |
| H A D | hal_sound.c | 21 u8 nc; member 41 u32 _cal_he_csi_size(u8 mu, enum channel_width bw, u8 nr, u8 nc, u8 ng, u8 cb) in _cal_he_csi_size() argument 50 __func__, mu, bw, nr, nc, ng ,cb); in _cal_he_csi_size() 62 if ((nr == csi_na[i].nr) && (nc ==csi_na[i].nc)) { in _cal_he_csi_size() 87 csi_size = ((8 * (u32)nc) + in _cal_he_csi_size() 90 csi_size += (4 * (u32)nc * (u32)ns) / 8; in _cal_he_csi_size() 99 u32 _cal_he_cqi_only_rpt_size(enum channel_width bw, u8 nc) in _cal_he_cqi_only_rpt_size() argument 103 ret = (u32)nc * 37; in _cal_he_cqi_only_rpt_size() 105 ret = (u32)nc * 18; in _cal_he_cqi_only_rpt_size() 107 ret = (u32)nc * 9; in _cal_he_cqi_only_rpt_size() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/ |
| H A D | hal_sound.c | 21 u8 nc; member 41 u32 _cal_he_csi_size(u8 mu, enum channel_width bw, u8 nr, u8 nc, u8 ng, u8 cb) in _cal_he_csi_size() argument 50 __func__, mu, bw, nr, nc, ng ,cb); in _cal_he_csi_size() 62 if ((nr == csi_na[i].nr) && (nc ==csi_na[i].nc)) { in _cal_he_csi_size() 87 csi_size = ((8 * (u32)nc) + in _cal_he_csi_size() 90 csi_size += (4 * (u32)nc * (u32)ns) / 8; in _cal_he_csi_size() 99 u32 _cal_he_cqi_only_rpt_size(enum channel_width bw, u8 nc) in _cal_he_cqi_only_rpt_size() argument 103 ret = (u32)nc * 37; in _cal_he_cqi_only_rpt_size() 105 ret = (u32)nc * 18; in _cal_he_cqi_only_rpt_size() 107 ret = (u32)nc * 9; in _cal_he_cqi_only_rpt_size() [all …]
|